adam, when you build the ipl.S for a standard flash, as Ollie pointed out
there is an .org 0xfe00 in there. What we do here (and what I should
probably add to the makefile but ...) is 

tail -c 512
for some cases. But steve james' mkflashimage program also works fine. 

That program takes the docipl and linuxbios images and produces a flash
image. You could write your own version that takes the docipl,
linuxbios.strip, and elf image and put it together. 

We really do need to parameterize the way we build images. Things were
much simpler back when we only had one way to boot. Now we have:
1) linuxbios does etherboot directly
2) linuxbios calls an elf that either etherboots, or is linux itself

and it's in:
1) flash
2) doc

4 combinations already ...
we need a more clever way to do these things. 

We're using the ipl because it basically works and there's no need to
duplicate code everywhere. This was Steve Jame's good idea.

ron


Reply via email to