[Cbe-oss-dev] [FYI 3/27] ps3: romboot fixup

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Jan 13 09:07:37 EST 2007


> This is just a hack until the proper wrapper code is made (patches welcome).
> The final solution will have two types of wrapped images, zImage.ps3, and
> zImage.ps3rom, both made from normal vmlinux's, which could also be
> multi-platform builds.

Picked up that old thread from the depth of my mailbox...

I don't see why we need two different zImages. It's easy enough to have
a single one that has an ELF entry point at 0 and a separate one at
0x100 that calls the first one with NULL for the device-tree. The zImage
C code can then use that to know wether it's being booted from kexec or
from the hypervisor directly and do the right thing.

Ben.





More information about the cbe-oss-dev mailing list