U-boot for imx8mm Mini Evaluation kit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

U-boot for imx8mm Mini Evaluation kit

478 次查看
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 项奖励
回复
1 回复

462 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @KJ_Mehta 

Please refer this AN:

Boot Time Measurements Methodology

0 项奖励
回复