[U-Boot] [PATCH] powerpc: Fix device tree padding associated with ramdisk

Wolfgang Denk wd at denx.de
Tue Jul 26 13:55:19 CEST 2011


Dear Kumar Gala,

In message <1310001388-4084-1-git-send-email-galak at kernel.crashing.org> you wrote:
> When booting with a ramdisk we bump the amount of memory reserved for
> the device tree by FDT_RAMDISK_OVERHEAD.  However we did not increase
> the actual size in the device tree blob to match.
> 
> Its possible on boundary cases that we dont have enough memory according
> to the device tree blob and get errors like:
> 
> WARNING: could not set linux,initrd-end FDT_ERR_NOSPACE
> 
> We can easily fix this by setting the device tree size at the same time
> we bump the amount of memory reserved for the device tree.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  arch/powerpc/lib/bootm.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A great many people think they are thinking when they are merely re-
arranging their prejudices."                          - William James


More information about the U-Boot mailing list