On Thu, 01 Oct 2026 09:42:50 +0200, Sascha Hauer wrote:
> On Rockchip boards the ROM loads the barebox binary to the start of DRAM where
> later the TF-A is placed, so the first thing all 64bit Rockchip boards do is
> to move away from that location. This is done with MMU disabled, so takes some
> time. Instead of letting each board repeat this pattern, do the move in atf.c
> at a place common for all Rockchip boards and turn on the MMU beforehand.
> 
> Also, both TF-A and OP-TEE hold the device tree passed to them in uncached 
> memory,
> so accessing it is slow. calling fdt_pack() on the device tree before passing
> it squeezes the unused bytes out of the device tree and thus speed up TF-A
> and OP-TEE by a few 100ms.
> 
> [...]

Applied, thanks!

[1/3] ARM: rockchip: move to the load address with the MMU enabled
      https://git.pengutronix.de/cgit/barebox/commit/?id=cd026eb3766a (link may 
not be stable)
[2/3] ARM: rockchip: boards: leave moving to the load address to atf.c
      https://git.pengutronix.de/cgit/barebox/commit/?id=1c7bb14055c8 (link may 
not be stable)
[3/3] ARM: rockchip: pack the device tree passed to TF-A and OP-TEE
      https://git.pengutronix.de/cgit/barebox/commit/?id=95addf3ccffa (link may 
not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to