To track boot-time of U-boot (proper) i am using U-boot's internal bootstage facility which records boot-time for different stages as booting up progress. in imx8mm_evk_defconfig file configured the following parameters.
CONFIG_BOOTSTAGE =y
CONFIG_BOOTSTAGE_REPORT =y
and then built and created flash.bin image. it worked fine and shows the bootstage report in (micro-secs) of different stages.
but, when tried to use bootstage for U-boot SPL it does not give SPL stages time records. it still shows only U-boot (proper) stages time records only and does not include SPL start and SPL end time markings.
the following configurations were done:
CONFIG_SPL_BOOTSTAGE =Y
Moreover, the image failed to flash when BOOTSTAGE_STASH =Y was configured.
it kept resetting the cpu and could not flash (flash.bin) to evk board through uuu-utility for usb serial download.
stash start address - 0x0 { I have doubt here.. what should be stash start address for imx8mm Mini board)
statsh size - 0x1000 (4096)
please clarify and resolve the query.