|
|
|
|
Fast Boot of Embedded Linux
Network Camera on DM6467 in 5.5 sec
Boot log with timestamps
The first number is elapsed time since first message, the second is is elapsed time since previous message.
Measurement deviation is 50 ms.
0.000 0.000: DM646x initialization passed!
0.000 0.000: TI UBL Version: 1.50
0.000 0.000: Booting Catalog Boot Loader
0.000 0.000: BootMode = NAND
0.011 0.011: Starting NAND Copy...
0.022 0.011: Valid magicnum, 0xA1ACED66, found in block 0x00000006.
0.068 0.046: DONE
0.068 0.000: Jumping to entry point at 0x81080000.
0.079 0.011:
0.079 0.000: U-Boot 1.2.0 (May 20 2009 - 01:04:07)
0.079 0.000:
0.079 0.000: I2C: ready
0.079 0.000: DRAM: 256 MB
0.079 0.000: unknown vendor=0 Flash: 0 kB
0.098 0.019: NAND: NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB 3,3V 8-bit)
0.728 0.630: 128 MiB
0.862 0.134: In: serial
0.862 0.000: Out: serial
0.862 0.000: Err: serial
0.948 0.086: ARM Clock :- 297MHz
0.948 0.000: DDR Clock :- 297MHz
1.169 0.221: Hit any key to stop autoboot: 0
1.169 0.000: NAND read: device 0 offset 0x400000, size 0x400000
3.609 2.440: 4194304 bytes read: OK
3.609 0.000: ## Starting application at 0x80008000 ...
3.678 0.069: Linux version 2.6.10_mvl401-davinci_evm-PSP_01_30_00_082 (const@makelinux.net) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.104.0600975 2006-07-06)) #344 Tue Mar 9 03:25:22 IST 2010
5.091 1.412: embedded fast boot script
5.138 0.048: DSPLINK Module (1.50) created on Date: Jan 3 2008 Time: 13:16:55
5.188 0.050:
5.201 0.012: main.c:249 main
5.201 0.000: main.c:118 parseArgs
5.213 0.012:
5.213 0.000: Encode Application started (Version 1.0.7)
5.213 0.000: capture.c:37 captureThrFxn
5.222 0.009: Capture.c:137 Capture_create1
5.229 0.007: capture.c:115 captureThrFxn
5.229 0.000: video.c:57 videoThrFxn
5.241 0.012: standard: PAL mode: encoder only
5.241 0.000: main.c:431 main Rendezvous_meethRendezvousWriter
5.388 0.148: video.c:181 videoThrFxn Venc1_create
5.408 0.020: video.c:257 videoThrFxn Rendezvous_meetenvp->hRendezvousWriter
5.408 0.000: capture.c:164 captureThrFxn
5.420 0.012: capture.c:172 captureThrFxn Rendezvous_meetenvp->hRendezvousInit
5.420 0.000: video.c:285 videoThrFxn Rendezvous_meetenvp->hRendezvousInit
5.420 0.000: writer.c:173 writerThrFxn
5.428 0.008: writer.c:52 create_udp_send_data_socket
5.439 0.011:
5.439 0.000: writer.c:237 writerThrFxn Rendezvous_meetenvp->hRendezvousInit
5.448 0.009: ctrl.c:45 ctrlThrFxn Rendezvous_meetenvp->hRendezvousInit
5.448 0.000: Encoding frame 0
5.458 0.010: Capture.c:612 Capture_put
5.458 0.000: writer.c:108 udp_send_data
Boot analysis
• UBL and u-boot stages take 1.2 second.
• Loading of 4 MiB Linux image with filesystem from NAND takes 2.4 sec at 1.169 sec with throughput 1.7 MiB/s.
• Kernel and driver initialization at 3.678 takes 1.4 sec.
• Starting user mode application and initialization of codecs at 5.091 takes 0.5 sec.
• The most time consuming operation is coping firmware from NAND flash.
• Boot time from UBL to sending encoded data over UDP is 5.5 sec
Hardware summary
• Board: DM6467 Digital Video Evaluation Module
• Processor: 300 MHz ARM9 with DSP DM6467
If you are willing to implement fast boot to your product
please contact const@makelinux.com
|
|
|
|
|
|
|
|
|