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

2020-01-10 Thread Guillaume Gardet


> -Original Message-
> From: Jagan Teki 
> Sent: 10 January 2020 11:37
> To: Guillaume Gardet 
> Cc: Simon Glass ; Lin Huang ; u-
> b...@lists.denx.de; nd 
> 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 
> wrote:
> >
> >
> >
> > > -Original Message-
> > > From: Jagan Teki 
> > > Sent: 10 January 2020 11:13
> > > To: Guillaume Gardet 
> > > Cc: Simon Glass ; Lin Huang ;
> > > 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
> > > 
> > > 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



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

2020-01-10 Thread Jagan Teki
On Fri, Jan 10, 2020 at 4:02 PM Guillaume Gardet
 wrote:
>
>
>
> > -Original Message-
> > From: Jagan Teki 
> > Sent: 10 January 2020 11:13
> > To: Guillaume Gardet 
> > Cc: Simon Glass ; Lin Huang ; 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 
> > 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


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

2020-01-10 Thread Guillaume Gardet


> -Original Message-
> From: Jagan Teki 
> Sent: 10 January 2020 11:13
> To: Guillaume Gardet 
> Cc: Simon Glass ; Lin Huang ; 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 
> 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"?



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

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


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

2020-01-10 Thread Guillaume Gardet
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.