
16 Sep
2013
16 Sep
'13
9:14 a.m.
Hi, experts:
I have some questions about bootstage functions.(common/bootstage.c)
1. mark_bootsage record relocation question
board_init_f() will call mark_bootstage() function to record the elapsed time when system
From power on to board_init_f point.
But after running board_init_f() function, uboot will relocate u-boot code base.
So, the boot stage record "board_init_f" would be abnormal ? !
Because i did not find any code to do relocation operation for boot stage records.
2. how to understand "start_us" fiedld in bootstage_record struct ?
bootstage_start() function will init bootstage_record->start_us.
But not find which file will call bootstage_start() .
Best wishes,