From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Sun, 19 Jul 2015 13:06:17 +0200 Subject: [U-Boot] u-boot-with-spl.bin don't include the dtb image when enable CONFIG_OF_SEPARATE In-Reply-To: References: Message-ID: <55AB84A9.6080209@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 16-07-15 01:17, Simon Glass wrote: > Hi, > > On 15 July 2015 at 02:42, Wang Haikun 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