All of lore.kernel.org
 help / color / mirror / Atom feed
* SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01
@ 2020-01-10  9:41 Guillaume Gardet
  2020-01-10 10:12 ` Jagan Teki
  0 siblings, 1 reply; 5+ messages in thread
From: Guillaume Gardet @ 2020-01-10  9:41 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01
  2020-01-10  9:41 SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01 Guillaume Gardet
@ 2020-01-10 10:12 ` Jagan Teki
  2020-01-10 10:32   ` Guillaume Gardet
  0 siblings, 1 reply; 5+ messages in thread
From: Jagan Teki @ 2020-01-10 10:12 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01
  2020-01-10 10:12 ` Jagan Teki
@ 2020-01-10 10:32   ` Guillaume Gardet
  2020-01-10 10:37     ` Jagan Teki
  0 siblings, 1 reply; 5+ messages in thread
From: Guillaume Gardet @ 2020-01-10 10:32 UTC (permalink / raw)
  To: u-boot



> -----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 at 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"?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01
  2020-01-10 10:32   ` Guillaume Gardet
@ 2020-01-10 10:37     ` Jagan Teki
  2020-01-10 10:38       ` Guillaume Gardet
  0 siblings, 1 reply; 5+ messages in thread
From: Jagan Teki @ 2020-01-10 10:37 UTC (permalink / raw)
  To: u-boot

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 at 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01
  2020-01-10 10:37     ` Jagan Teki
@ 2020-01-10 10:38       ` Guillaume Gardet
  0 siblings, 0 replies; 5+ messages in thread
From: Guillaume Gardet @ 2020-01-10 10:38 UTC (permalink / raw)
  To: u-boot



> -----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 at 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 at 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-10 10:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10  9:41 SPL too large for firefly-rk3288 and tinker-rk3288 since 2020.01 Guillaume Gardet
2020-01-10 10:12 ` Jagan Teki
2020-01-10 10:32   ` Guillaume Gardet
2020-01-10 10:37     ` Jagan Teki
2020-01-10 10:38       ` Guillaume Gardet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.