[U-Boot] SUNXI: A64: Increase SPL size

Maxime Ripard maxime.ripard at free-electrons.com
Thu Nov 9 12:49:20 UTC 2017


On Thu, Nov 09, 2017 at 06:11:58PM +0530, Jagan Teki wrote:
> On Thu, Nov 9, 2017 at 5:48 PM, Andre Przywara <andre.przywara at arm.com> wrote:
> > Hi,
> >
> > On 09/11/17 12:11, Maxime Ripard wrote:
> >> On Thu, Nov 09, 2017 at 01:29:21AM +0530, Jagan Teki wrote:
> >>> Hi,
> >>>
> >>> I'm trying to increase SPL size to 64K(with SRAM A2), so-that SPL can
> >>> able to fit new features like falcon. I knew the limit about 32K but
> >>> page[1] stating that we can use approximately 192 KiB of contiguous
> >>> SRAM.
> >>>
> >>> eGON.BT0 has limit of reading 32KB, Can't we use > 32KB SPL here?
> >>> because I've tried with 64K SPL size with existing SPL code and was
> >>> able to boot, but with increasing SPL by enabling falcon seems like
> >>> BROM unable read eGON.BT0 which eventually booting failed. Any inputs?
> >>
> >> I've been able to use the falcon mode without this change on an A33,
> >> what's so different about the A64?
> >
> > That the SPL is bigger in AArch64 and enabling SPL_OS_BOOT will probably
> > exceed 32KB (we are quite close already)
> 
> Yes, but with arm32 I didn't see increasing size with SPL_OS_BOOT on
> H3 spl/sunxi-spl.bin size become 24576(24KB) even with falcon-enabled.
> of-course Linux failed to boot. Maxime did you find similar behaviour?
> is falcon worked on A33?

I didn't look at that back then because I wasn't aware that was an
issue, but it worked flawlessly for me, so I'm guessing it didn't add
that much.

But then, like Andre was suggesting, I wasn't using the PSCI stuff
either, which we would also need to compile.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171109/f3624892/attachment.sig>


More information about the U-Boot mailing list