Hi Jagan,

I run into some size-related issues regarding my SPL configuration for a custom 
V3s board (mainly due to using fit images). In fact, the V3s has even more SRAM 
that could be used for the SPL. However the BROM won't boot anything larger 
than 32KiB. So I use this 32KiB limit in production now and found no issues 
with my 29KiB SPL whatsoever. And - if I read the BROM ASM correctly - there is 
no performance drawback for default (and smaller) SPL configurations since the 
BROM only loads the actual SPL size amount of pages/bytes.

I think it would be much less frustrating for other users if they could use 
these 32KiB from the start since the current limit is hit pretty fast and there 
is no reason why it should be this 24k limit for the V3s. It's another poorly 
or even plain wrongly documented aspect of the Allwinner BSP.

Benedikt

Am 1. Juni 2020 19:00:30 MESZ schrieb Jagan Teki <ja...@amarulasolutions.com>:
On Tue, Apr 28, 2020 at 9:26 PM Benedikt-Alexander Mokroß
<catch...@bamkrs.de> wrote:

 According to the Datasheet, the V3s has a 32KiB SRAM.
 This patch corrects CONFIG_SPL_MAX_SIZE and LOW_LEVEL_SRAM_STACK
 accordingly.

Look like the existing value has taken from allwinner BSP, but did you
find any issues with the existing one?

Jagan.

Reply via email to