[U-Boot] u-boot-with-spl.bin don't include the dtb image when enable CONFIG_OF_SEPARATE
Simon Glass
sjg at chromium.org
Thu Jul 16 01:17:09 CEST 2015
Hi,
On 15 July 2015 at 02:42, Wang Haikun <Haikun.Wang at freescale.com> wrote:
> Hi Simon,
>
> It seems that we don't update the source image name to u-boot-dtb.bin in
> case of enabling CONFIG_OF_SEPARATE when generate u-boot-with-spl.bin file.
>
>
> ifdef CONFIG_TPL
> SPL_PAYLOAD := tpl/u-boot-with-tpl.bin
> else
> SPL_PAYLOAD := u-boot.bin
> endif
>
> OBJCOPYFLAGS_u-boot-with-spl.bin = -I binary -O binary \
> --pad-to=$(CONFIG_SPL_PAD_TO)
> u-boot-with-spl.bin: spl/u-boot-spl.bin $(SPL_PAYLOAD) FORCE
> $(call if_changed,pad_cat)
>
At least for sunxi this worked for me. But perhaps sunxi is a special
case? You could send a patch if you like.
Regards,
Simon
More information about the U-Boot
mailing list