[PATCH v2 0/3] rockchip: rk3328: Add IO-domain driver and speed up boot

Jonas Karlman jonas at kwiboo.se
Sun Apr 21 22:09:00 CEST 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.1 seconds on a Rock64 v2.0:

  => bootstage report
  Timer summary in microseconds (11 records):
         Mark    Elapsed  Stage
                  63,628  SPL
      284,173    220,545  end phase
      342,709     58,536  board_init_f
      967,537    624,828  board_init_r
    2,980,332  2,012,795  eth_common_init
    4,141,289  1,160,957  eth_initialize
    4,141,545        256  main_loop
    4,146,525      4,980  cli_loop

  Accumulated time:
                  71,396  dm_spl
                 329,994  dm_f
                  12,355  dm_r

After this series init time is around 1.3 seconds on same Rock64 v2.0:

  => bootstage report
  Timer summary in microseconds (12 records):
         Mark    Elapsed  Stage
                  63,628  SPL
      284,173    220,545  end phase
      303,282     19,109  board_init_f
      942,973    639,691  board_init_r
    1,194,831    251,858  eth_common_init
    1,363,405    168,574  eth_initialize
    1,363,609        204  main_loop
    1,363,738        129  cli_loop

  Accumulated time:
                 113,648  dm_spl
                 344,913  dm_f
                   6,788  of_live
                  17,895  dm_r

Changes in v2:
- Rebase on latest master bransh

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