U-boot for imx8mm Mini Evaluation kit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

U-boot for imx8mm Mini Evaluation kit

517件の閲覧回数
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 返信

501件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @KJ_Mehta 

Please refer this AN:

Boot Time Measurements Methodology

0 件の賞賛
返信