/* new add for debug LL 2011-03-09 */ debug("## LL debug:machine id:%x, params:%x : %x\n", machid, bd->bi_boot_params, &(bd->bi_boot_params)); /* we assume that the kernel is in place */ printf ("\nStarting kernel ...\n\n");
cleanup_before_linux ();
theKernel (0, machid, bd->bi_boot_params);
在启动时显示如下:
1 2 3 4 5 6 7 8 9 10
## Transferring control to Linux (at address 30008000) ... ## LL debug:machine id:3f0, params:30000100 : 33f4ffd4
LATE2440 $ bootm * kernel: default image load address = 0x33000000 ## Booting kernel from Legacy Image at 33000000 ... Image Name: linux-2.6.30.2 Created: 2011-03-09 6:33:57 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1979832 Bytes = 1.9 MiB Load Address: 30008000 Entry Point: 30008000 Verifying Checksum ... OK kernel data at 0x33000040, len = 0x001e35b8 (1979832) Loading Kernel Image ... OK OK kernel loaded at 0x30008000, end = 0x301eb5b8 ## Transferring control to Linux (at address 30008000) ... ## LL debug:machine id:3f0, params:30000100 : 33f4ffd4
Starting kernel ...
Uncompressing Linux............................................................................................................................ done, booting the kernel. Linux version 2.6.30.2 (latelee@FightNow) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #50 Wed Mar 9 14:27:24 CST 2011