SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01

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)
This is with gcc 9.2.1
Cheers, Guillaume
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

On Fri, Jan 10, 2020 at 3:12 PM Guillaume Gardet Guillaume.Gardet@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.

-----Original Message----- From: Jagan Teki jagan@amarulasolutions.com Sent: 10 January 2020 11:13 To: Guillaume Gardet Guillaume.Gardet@arm.com Cc: Simon Glass sjg@chromium.org; Lin Huang hl@rock-chips.com; u- boot@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.Gardet@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"?

On Fri, Jan 10, 2020 at 4:02 PM Guillaume Gardet Guillaume.Gardet@arm.com wrote:
-----Original Message----- From: Jagan Teki jagan@amarulasolutions.com Sent: 10 January 2020 11:13 To: Guillaume Gardet Guillaume.Gardet@arm.com Cc: Simon Glass sjg@chromium.org; Lin Huang hl@rock-chips.com; u- boot@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.Gardet@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

-----Original Message----- From: Jagan Teki jagan@amarulasolutions.com Sent: 10 January 2020 11:37 To: Guillaume Gardet Guillaume.Gardet@arm.com Cc: Simon Glass sjg@chromium.org; Lin Huang hl@rock-chips.com; u- boot@lists.denx.de; nd nd@arm.com Subject: Re: SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01
On Fri, Jan 10, 2020 at 4:02 PM Guillaume Gardet Guillaume.Gardet@arm.com wrote:
-----Original Message----- From: Jagan Teki jagan@amarulasolutions.com Sent: 10 January 2020 11:13 To: Guillaume Gardet Guillaume.Gardet@arm.com Cc: Simon Glass sjg@chromium.org; Lin Huang hl@rock-chips.com; u- boot@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.Gardet@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
Ok, thanks!
Guillaume
participants (2)
-
Guillaume Gardet
-
Jagan Teki