Merging ppc32 and ppc64
Paul Mackerras
paulus at samba.org
Wed Aug 10 08:55:34 EST 2005
Segher Boessenkool writes:
> Yes, and that is exactly what I do not want. We are not going
> to require OF implementations that do not need yaboot or similar
> to pass a flattened device tree to the kernel, eh? Also, there
> is no reason why something like yaboot (with an OF still running
> underneath) should have to care about anything device-tree related
> at all; the OS can just as easily ask the OF itself.
For now the kernel will cope with either having an OF client interface
entry point or a flattened device tree passed to it. In the future we
intend to move all the OF client calls into the zImage wrapper and
have the zImage wrapper pass the flattened device tree to the kernel
proper. That will be much cleaner because we will be able to get rid
of all of the dodgy RELOC stuff in prom_init.c.
It is already the case (and has always been the case) that you can't
boot a vmlinux image directly from OF - there is always either or both
of yaboot or a zImage wrapper in between anyway.
Paul.
More information about the Linuxppc-dev
mailing list