[PATCH v2 03/28] tools: rkcommon: Correct SPL size for px30

Kever Yang kever.yang at rock-chips.com
Tue Sep 20 15:08:23 CEST 2022


Hi Jagan,

On 2022/9/2 14:43, Jagan Teki wrote:
> On Fri, 2 Sept 2022 at 08:36, Kever Yang <kever.yang at rock-chips.com> wrote:
>>
>> On 2022/8/18 22:52, Jagan Teki wrote:
>>> Rockchip PX30 has 16KB sram, bootrom reserved 4KB as stack.
>> NAK, the origin code is correct, do not modify this.
> SPL size increment due to updating high row detection code - so patch
> indeed that correction to use 16KB SRAM.

Rockchip px30 ddr binary size is 10000(0x2710).

When the secure boot is enabled, the SRAM only have 10KB available for 
ddr init,

so you'd better to make the TPL size smaller.


Thanks,

- Kever

>
>    MKIMAGE u-boot.img
>    MKIMAGE u-boot-dtb.img
> ./"arch/arm/mach-rockchip/make_fit_atf.py" \
> arch/arm/dts/px30-evb.dtb > u-boot.its
>    MKIMAGE u-boot.itb
>    MKIMAGE tpl/u-boot-tpl-rockchip.bin
> Error: SPL image is too large (size 0x3000 than 0x2800)
> Error: Bad parameters for image type
> Usage: ./tools/mkimage [-T type] -l image


More information about the U-Boot mailing list