[PATCH 0/6] Rockchip: Enable MMU before uncompressing TF-A and OP-TEE

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 20 01:31:16 PDT 2026


Having TF-A and OP-TEE compressed in the PBL is nice for reducing the
binary size, but comes with a penalty of increased startup time. This
series is based on the compressed-firmware series and reduces this
penalty significantly by enabling the MMU before uncompressing the
binaries. Most of the series is actually cleanup to have the necessary
DRAM resources available in atf.c

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
Sascha Hauer (6):
      ARM: rockchip: dmc: rework DRAM functions
      ARM: rockchip: atf: make all memory banks available
      ARM: rockchip: atf: add OP-TEE fdt creation function for all SoCs
      ARM: Rockchip: Drop rk3xxx_atf_load_bl31()
      ARM: rockchip: separate physical DRAM start from usable start
      ARM: rockchip: atf: enable MMU in PBL

 arch/arm/mach-rockchip/atf.c | 151 +++++++++++++++++-----------------------
 arch/arm/mach-rockchip/dmc.c | 162 ++++++++++++++++++++++---------------------
 include/mach/rockchip/atf.h  |  38 ++++------
 include/mach/rockchip/dmc.h  |  10 +--
 4 files changed, 163 insertions(+), 198 deletions(-)
---
base-commit: 1e4120c320bd36e264d579289da400e6d1e44950
change-id: 20260320-compressed-firmware-rockchip-2df8e3567b75

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list