[PATCH 17/19] bootwrapper: compatibility layer for old U-Boots (a.k.a. cuImage, cuboot)

Paul Mackerras paulus at samba.org
Wed Mar 14 15:25:25 EST 2007


Scott Wood writes:

> Add a bootwrapper platform (cuboot) that takes a bd_t from a legacy
> U-Boot, and inserts data from it into a device tree which has been
> compiled into the kernel.  This should help ease the transition to
> arch/powerpc in cases where U-Boot has not yet been updated to pass a
> device tree, or where upgrading firmware isn't practical.

Hmmm... is ppcboot.h a direct copy of a file from somewhere else
(e.g. uboot), or did you construct it?  It has an *awful* lot of
ifdefs.  If it is a direct copy from uboot, I can see an argument for
keeping it as-is, but if not, I think we can come up with a better way
to structure things.

Paul.



More information about the Linuxppc-dev mailing list