Add bootmain.c from rv6. Steal most of boot.asm and the mkbootable script from rv6 as well, modify Makefile to support it.
Fix makefile and bootit script for preparing the bootblock