Skip to content

bootstage: Fix unstash and sorting of records

Jonas Karlman u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bootstage: Fix unstash of records from SPLcommon/board_f.c+1 -15 replies
2/2bootstage: Do not sort recordscommon/bootstage.c+2 -1010 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchTom RiniSimon Glass
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] bootstage: Fix unstash and sorting of records

This series fixes two issues with bootstage observed trying to measure boot times on my Rockchip aarch64 boards.

First patch fixes a regression in v2024.10-rc1 where bootstage records from SPL no longer is unstashed.

Second patch change to not sort bootstage records in order to show correct elapsed time when TF-A reset the timer counter.

Tested on a few Rockchip boards with:

CONFIG_BOOTSTAGE=y
CONFIG_CMD_BOOTSTAGE=y
CONFIG_BOOTSTAGE_RECORD_COUNT=20
CONFIG_SPL_BOOTSTAGE=y
CONFIG_SPL_BOOTSTAGE_RECORD_COUNT=20
CONFIG_BOOTSTAGE_STASH_ADDR=0x3800000
CONFIG_BOOTSTAGE_STASH_SIZE=0x10000
CONFIG_BOOTSTAGE_STASH=y
CONFIG_BOOTSTAGE_REPORT=y
CONFIG_BOOTDELAY=-1

Jonas Karlman (2):
bootstage: Fix unstash of records from SPL
bootstage: Do not sort records

 common/board_f.c   |  2 +-
 common/bootstage.c | 12 ++----------
 2 files changed, 3 insertions(+), 11 deletions(-)
Signature · 1 line
2.45.2