[PATCH 15/19] bootwrapper: Add initrd information to the device tree in ft_finalize().

Scott Wood scottwood at freescale.com
Wed Feb 14 03:07:23 EST 2007


On Tue, Feb 13, 2007 at 03:29:37PM +1100, David Gibson wrote:
> Why is cuboot's malloc() allocating the flat tree in a place that's in
> danger of being clobbered by the kernel in the first place?

As the comment in cuboot.c explains, there's not enough room to do it any
other way and still run on boards with only 8MiB of RAM -- the dts has to
go above the wrapper image, and the "uncompressed" kernel has to go
below, but the same heap is used for both.  I believe there are some 8xx
boards out there with only this much; even if not, 8xx currently only
maps 8MiB by default.  8xx isn't supported by this patchset, but I'd like
to support it eventually.

-Scott



More information about the Linuxppc-dev mailing list