Harvard-PRINCESS / Guppy

A very adaptable fish.
Other
1 stars 3 forks source link

Make tools for building sys161 BF images #102

Open penlu opened 7 years ago

penlu commented 7 years ago

child of #99

We're not sure what these tools will be yet. Shell scripts to pack compiler binary outputs into ELF or some other boot image format presumably.

ghost commented 7 years ago

After discussion this afternoon:

alexpatel commented 7 years ago

There's already some code for this in the barrelfish tree, for some old arm thing, and adjusting it for this environment should only take minimal changes.

See tools/arm_boot

marikgoldstein commented 7 years ago

checklist as of 8/9/2017:

Basically, mips_boot.c and a corresponding Hakefile in tools/mips_boot should create a static bootloader image (say, called mips_boot_loader). A Hakefile in kernel/ should make a bootdriver image. The bootloader and bootdriver images should be passed to mipsImage() in platforms/Hakefile.

penlu commented 7 years ago

another thing on the map: adapting the BF linker system to do what os161 link is doing, but on the barrelfish-ized files