Skip to content

rockchip: mkimage: Update init code size limit for PX30/RK3326/RK3328

Jonas Karlman u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rockchip: mkimage: Update init code size limit for PX30/RK3326tools/rkcommon.c+1 -11 reply
2/2rockchip: mkimage: Update init code size limit for RK3328tools/rkcommon.c+1 -17 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchQuentin Schulz
1/2R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] rockchip: mkimage: Update init code size limit for PX30/RK3326/RK3328

mkimage is enforcing a smaller init code size limit than what BootROM can handle on PX30/RK3326 and RK3328.

- PX30/RK3326 is limited to 10 KiB when 12 KiB is supported.
- RK3328 is limited to 30 KiB when 32 KiB is supported.

This series updates mkimage to allow using max possible init code size supported on the affected SoCs.

Due to end of SRAM typically being used as TPL_STACK, use of the fully supported init code size is not always possible using current defconfig. However, if stack and malloc area is placed in e.g. PMU SRAM or in the BootROM reserved area the init code could use all available space.

BootROM on RK3288 can support up to 80 KiB init code size when loaded over USB, however only 32 KiB is supported when loaded from MMC. So current limit of 32 KiB have been left unchanged for RK3288.

Jonas Karlman (2):
rockchip: mkimage: Update init code size limit for PX30/RK3326
rockchip: mkimage: Update init code size limit for RK3328

 tools/rkcommon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.55.0