已经将u-boot移植到了自己做的demo板上,现在开始移植linux PowerPC内核,前两天用bootm引导内核,当执行到:
- /*
- * Linux Kernel Parameters (passing board info data):
- * r3: ptr to board info data
- * r4: initrd_start or 0 if no initrd
- * r5: initrd_end - unused if r4 is 0
- * r6: Start of command line string
- * r7: End of command line string
- */
- debug (" Booting using board info.../n");
- (*kernel) (kbd, initrd_start, initrd_end, cmd_start, cmd_end);
- #> bootm 0xffd00000 - 0xa000000
- * kernel: cmdline image address = 0xffd00000
- ## Booting kernel from Legacy Image at ffd00000 ...
- Image Name: Linux-2.6.26.3
- Created: 2008-09-08 15:40:26 UTC
- Image Type: PowerPC Linux Kernel Image (gzip compressed)
- Data Size: 1199265 Bytes = 1.1 MB
- Load Address: 00000000
- Entry Point: 00000000
- Verifying Checksum ... OK
- kernel data at 0xffd00040, len = 0x00124ca1 (1199265)
- ## Skipping init Ramdisk
- ## No init Ramdisk
- ramdisk start = 0x00000000, ramdisk end = 0x00000000
- * fdt: cmdline image address = 0x0a000000
- ## Checking for 'FDT'/'FDT Image' at 0a000000
- * fdt: raw FDT blob
- ## Flattened Device Tree blob at 0a000000
- Booting using the fdt blob at 0xa000000
- of_flat_tree at 0x0a000000 size 0x00002cdc
- Uncompressing Kernel Image ... OK
- kernel loaded at 0x00000000, end = 0x1fe9fcf8
- ## Current stack ends at 0x1fe9fca8
- ## device tree at 0x0A000000 ... 0x0A002CDB (len=23772=0x5CDC)
- Loading Device Tree to 007fa000, end 007ffcdb ... OK
- Updating property 'timebase-frequency' = 1d cd 65 02
- Updating property 'clock-frequency' = 1d cd 65 02
- Updating property '/plb/clock-frequency' = 09 ef 21 ab
- Updating property '/plb/opb/clock-frequency' = 04 f7 90 d5
- Updating property '/plb/opb/ebc/clock-frequency' = 04 f7 90 d5
- Updating property 'clock-frequency' = 00 54 c5 63
- Updati