views:

510

answers:

3

I am profiling the booting process of power PC board, what is the simplest way to profile the booting sequence ?

My first idea is to modify the u-boot/kernel code add printf/printk (using realtime device as reference) and print them on the console. However just printing them on the console may affect the time.

Any thoughts?

Regards, Robert.

+1  A: 

Everyone knows the best way to profile an u-boot is with sonar.

Charlie Martin
I am not talking about u-boat but u-boot ;-)
uzurpatorul
Aber das Boot *is* a boat.....
Charlie Martin
+1  A: 

If you think that printing may affect performance (I don't think so unless you are printing less then about 10kbytes/s) then store that data in memory and print it later.

Pawel Kolodziej
+2  A: 
Robert S. Barnes