On Fri, Jan 10, 2020 at 4:02 PM Guillaume Gardet <guillaume.gar...@arm.com> wrote: > > > > > -----Original Message----- > > From: Jagan Teki <ja...@amarulasolutions.com> > > Sent: 10 January 2020 11:13 > > To: Guillaume Gardet <guillaume.gar...@arm.com> > > Cc: Simon Glass <s...@chromium.org>; Lin Huang <h...@rock-chips.com>; u- > > b...@lists.denx.de > > Subject: Re: SPL too large for firefly-rk3288 and tinker-rk3288 since > > 2020.01 > > > > On Fri, Jan 10, 2020 at 3:12 PM Guillaume Gardet <guillaume.gar...@arm.com> > > wrote: > > > > > > Hi, > > > > > > since 2020.01, SPL image is too large for rk3288 boards (at least > > > firefly-rk3288 > > and tinker-rk3288), because I get respectively: > > > [ 356s] + ./tools/mkimage -n rk3288 -d spl/u-boot-spl.bin -T rksd > > > u-boot- > > spl.rksd > > > [ 356s] Error: SPL image is too large (size 0x9800 than 0x8000) > > > And: > > > [ 305s] + ./tools/mkimage -n rk3288 -d spl/u-boot-spl.bin -T rksd > > > u-boot- > > spl.rksd > > > [ 305s] Error: SPL image is too large (size 0xb800 than 0x8000) > > > > Both the board now TPL-enabled, so create boot image with TPL then > > concatenate SPL. > > What do you mean by "then concatenate SPL"?
₹ ./tools/mkimage -n rk3288 -T rksd -d tpl/u-boot-tpl.bin out Image Type: Rockchip RK32 (SD/MMC) boot image Init Data Size: 20480 bytes ₹ cat spl/u-boot-spl-dtb.bin >> out