[PATCH 0/3] rockchip: rk3328: Add IO-domain driver and speed up boot
Jonas Karlman
jonas at kwiboo.se
Sun Mar 17 21:49:14 CET 2024
This series adds support for RK3328 to the IO-domain driver, it also
enabled ARMv8 crypto extensions and OF_LIVE to speed up boot on rk3328
boards.
Before this series init time is around 4 seconds on a Rock64 v2.0:
=> bootstage report
Timer summary in microseconds (9 records):
Mark Elapsed Stage
0 0 reset
337,470 337,470 board_init_f
956,864 619,394 board_init_r
2,780,894 1,824,030 eth_common_init
3,935,118 1,154,224 eth_initialize
3,935,373 255 main_loop
3,940,666 5,293 cli_loop
Accumulated time:
12,313 dm_r
327,343 dm_f
After this series init time is around 1.1 seconds on same Rock64 v2.0:
=> bootstage report
Timer summary in microseconds (10 records):
Mark Elapsed Stage
0 0 reset
265,803 265,803 board_init_f
904,140 638,337 board_init_r
979,531 75,391 eth_common_init
1,148,105 168,574 eth_initialize
1,148,308 203 main_loop
1,298,735 150,427 cli_loop
Accumulated time:
6,793 of_live
17,891 dm_r
344,821 dm_f
Do not fully understand why OF_LIVE have such big impact on init time.
It does not have such big impact on e.g. a RK3308 board.
Jonas Karlman (3):
rockchip: rk3328: Sort imply statements alphabetically
rockchip: rk3328: Enable ARMv8 crypto extensions
rockchip: io-domain: Add support for RK3328
arch/arm/mach-rockchip/Kconfig | 14 +++----
arch/arm/mach-rockchip/rk3328/syscon_rk3328.c | 3 ++
configs/evb-rk3328_defconfig | 1 +
drivers/misc/Kconfig | 2 +-
drivers/misc/rockchip-io-domain.c | 38 +++++++++++++++++++
5 files changed, 50 insertions(+), 8 deletions(-)
--
2.43.2
More information about the U-Boot
mailing list