From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>,
Sascha Hauer <s.hauer@pengutronix.de>
Subject: Re: [PATCH 0/3] Rockchip: early boot time optimization
Date: Tue, 06 Oct 2026 08:41:35 +0200 [thread overview]
Message-ID: <179126889598.541158.11586029521374775772.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20261001-rockchip-early-boottime-v1-0-dd891bcdb74f@pengutronix.de>
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 <s.hauer@pengutronix.de>
prev parent reply other threads:[~2026-10-06 6:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 7:42 Sascha Hauer
2026-10-01 7:42 ` [PATCH 1/3] ARM: rockchip: move to the load address with the MMU enabled Sascha Hauer
2026-10-01 7:42 ` [PATCH 2/3] ARM: rockchip: boards: leave moving to the load address to atf.c Sascha Hauer
2026-10-01 8:30 ` Ahmad Fatoum
2026-10-01 10:19 ` Sascha Hauer
2026-10-01 7:42 ` [PATCH 3/3] ARM: rockchip: pack the device tree passed to TF-A and OP-TEE Sascha Hauer
2026-10-06 6:41 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179126889598.541158.11586029521374775772.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox