[PATCH 0/2] bootstage: Fix unstash and sorting of records
Jonas Karlman
jonas at kwiboo.se
Sat Aug 3 14:41:43 CEST 2024
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(-)
--
2.45.2
More information about the U-Boot
mailing list