[U-Boot] u-boot-with-spl.bin don't include the dtb image when enable CONFIG_OF_SEPARATE
Hans de Goede
hdegoede at redhat.com
Sun Jul 19 13:06:17 CEST 2015
Hi,
On 16-07-15 01:17, Simon Glass wrote:
> 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?
Yes I believe that sunxi has special code for this since we need to run
an utility to add a header to the spl binary.
Regards,
Hans
More information about the U-Boot
mailing list