Booting OS on PowerPC

Milton Miller miltonm at bga.com
Mon Dec 12 11:18:08 EST 2005


On Dec 11, 2005, at 4:20 PM, Paul Mackerras wrote:
>> I also checked the kernel (the converged arch/powerpc one); GPR6
>> and GPR7 are unused.  GPR3 and GPR4 are used for passing an initrd,
>> which is used by yaboot (at least by my ancient 1.3.12 copy).  This
>> mechanism is a bit fragile (relying on GPR4 never to be 0xdeadbeef
>> when GPR3 and GPR4 are not an initrd; and the real vs. virtual hack);
>> perhaps yaboot should set the linux,initrd-* properties in /chosen
>> itself?
>
> That would be a good idea.
>

Except I am guessing that our "don't overwrite the initrd with the 
device tree" logic might break.  In other words, prom_init.c might need 
updating.

milton




More information about the Linuxppc64-dev mailing list