[U-Boot-Users] [PATCH v3] Fix initrd/dtb interaction
Stefan Roese
sr at denx.de
Wed Aug 15 09:43:41 CEST 2007
Hi Andy,
On Tuesday 14 August 2007, Andy Fleming wrote:
> The original code would wrongly relocate the blob to be right before
> the initrd if it existed. The blob *must* be within CFG_BOOTMAPSZ,
> if it is defined. So we make two changes:
>
> 1) flag the blob for relocation whenever its address is above BOOTMAPSZ
>
> 2) If the blob is being relocated, relocate it before kbd, not initrd
I get the following error with your patch on platforms not using device tree
at all (like 4xx sequoia...):
cmd_bootm.c: In function 'do_bootm_linux':
cmd_bootm.c:932: error: 'of_flat_tree' undeclared (first use in this function)
cmd_bootm.c:932: error: (Each undeclared identifier is reported only once
cmd_bootm.c:932: error: for each function it appears in.)
cmd_bootm.c:933: error: 'of_data' undeclared (first use in this function)
make[1]: *** [cmd_bootm.o] Error 1
Would be great if you could generate a quick patch for that.
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list