- 论坛徽章:
- 0
|
有个新进展
=> bootm
## Booting image at 01000000 ...
Image Name: Linux-2.6.22
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1043514 Bytes = 1019.1 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Transferring control to Linux (at address 00000000) ...
## Transferring control to Linux (at address 00000000) initrd_start =0x0,initrd_end =0x7fff00,cmd_start =0x7fff25,cmd_end =0x0
Memory CAM mapping: CAM0=256Mb, CAM1=256Mb, CAM2=0Mb residual: 0Mb
Linux version 2.6.22 (root@localhost.localdomain) (gcc version 4.2.2) #1 Mon Jun 8 20:32:34 CST 2009
Zone PFN ranges:
DMA 0 -> 131072
Normal 131072 -> 131072
early_node_map[1] active PFN ranges
0: 0 -> 131072
Built 1 zonelists. Total pages: 130048
Kernel command line: root=/dev/ram rw console=ttyS0,115200
OpenPIC Version 1.2 (1 CPUs and 60 IRQ sources) at fcfbb000
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 517376k available (1748k kernel code, 376k data, 128k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0000:00:0e.0
PCI: Cannot allocate resource region 1 of device 0000:00:0e.0
PCI: Cannot allocate resource region 3 of device 0000:00:0e.0
PCI: Cannot allocate resource region 5 of device 0000:00:0e.0
PCI: Cannot allocate resource region 0 of device 0000:00:0e.1
PCI: Cannot allocate resource region 1 of device 0000:00:0e.1
PCI: Cannot allocate resource region 3 of device 0000:00:0e.1
PCI: Cannot allocate resource region 5 of device 0000:00:0e.1
PCI: Cannot allocate resource region 3 of device 0000:00:10.0
PCI: Error while updating region 0000:00:0e.0/3 (8001000c != 00ff010c)
PCI: Error while updating region 0000:00:0e.1/3 (8001001c != 00ff013c)
PCI: Error while updating region 0000:00:10.0/3 (8001002c != 2828013c)
Generic PHY: Registered new driver
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 26) is a 16550A
serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 26) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
loop: module loaded
Gianfar MII Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 00:e0:0c:00:00:fd
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.2, 09:ef:21:ab:09:ef
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
List of all partitions:
No filesystem could mount root, tried: ext3 ext2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
Rebooting in 180 seconds..
问题出在编译时,少了有关串口的驱动。具体什么地方没有,还没搞清楚,现在的内核只是默认的。只选了芯片的型号。编译通过。起码内核可以跑了。 |
|