[U-Boot] fdt_resize() bug caused "WARNING: could not set linux, initrd-start FDT_ERR_NOSPACE."

Timur Tabi timur at freescale.com
Thu Jul 8 21:43:53 CEST 2010


On Wed, Jun 23, 2010 at 1:20 PM, Wang, Feng <fwang02 at harris.com> wrote:
> My fix is in fdt_resize(), leave at least 4 fdt_reserve_entry for
> initrd. So instead of 2*sizeof(struct fdt_reserve_entry) for
> actual_totalsize, use 5*sizeof(struc fdt_reserve_entry).

You could also use the -R parameter when building the device tree.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list