U-boot for imx8mm Mini Evaluation kit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

U-boot for imx8mm Mini Evaluation kit

514 Views
KJ_Mehta
Contributor I

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. 

 

0 Kudos
Reply
1 Reply

498 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @KJ_Mehta 

Please refer this AN:

Boot Time Measurements Methodology

0 Kudos
Reply