Hammer bootloader

Michael Neumann mneumann at ntecs.de
Mon Aug 25 09:30:58 PDT 2008


Simon 'corecode' Schubert wrote:
Hey,

seems I have finished hammer bootloader support (currently only boot2,
loader should be easy).  However the problem is that boot2 now exceeds
its size by 580 bytes.  This is a retarded limit, but what can you do.
While probing around I realized that hammer fs can't be installed at
offset 0 in disklabel, could that be?  Where is that documented and who
keeps me from doing that?
Anyways, this boot stuff is big time frustrating because there are so
many constants intertwingled.  I have no idea why my code currently
doesn't boot -- it doesn't even reach boot2's main().
Very cool stuff!

Did you know that a Hammer FS reserves a few megabytes at the beginning
of the storage? You should be able to make use of that if you need more 
storage for the boot loader.

Regards,

  Michael





More information about the Kernel mailing list