- 论坛徽章:
- 0
|
是哪的问题。uboot传的设备id是AT91RM9200,但是内核认定为AT91RM9200DK,不匹配。现在能启动到挂载根文件系统了,完后就不走了。我用的是ramdisk,uboot启动后,内核在21000000 ,ramdisk在21100000 。
ncompressing Linux.............................................................
.... done, booting the kernel.
Linux version 2.6.31 (root@localhost.localdomain) (gcc version 3.4.1) #5 Sun Dec
29 16:05:24 CST 2024
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91RM9200-DK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: mem=32M console=ttyS0,115200 initrd=0x21100000,20000 root=/ 这里的命令行有问题吗?
dev/ram0 rw
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30360KB available (1796K code, 176K data, 92K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:192
AT91: 128 gpio irqs in 4 banks
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 89.53 BogoMIPS (lpj=349184)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 16K
NetWinder Floating Point Emulator V0.97 (double precision)
msgmni has been set to 59
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered (default)
at91_spi: Baud rate set to 5990400
AT91 SPI driver loaded
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffc4000 (irq = 7) is a ATMEL_SERIAL
brd: module loaded
at91_dataflash: AT45DB642 detected [spi0] (8650752 bytes)
Creating 3 MTD partitions on "AT45DB642.spi0":
0x000000000000-0x000000042000 : "bootloader"
0x000000042000-0x00000018c000 : "kernel"
0x00000018c000-0x000000840000 : "filesystem"
No SmartMedia card inserted.
atmel_nand: probe of atmel_nand failed with error 6
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 23, io mem 0x00300000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: AT91 OHCI
usb usb1: Manufacturer: Linux 2.6.31 ohci_hcd
usb usb1: SerialNumber: at91
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
IRQ 1/at91_rtc: IRQF_DISABLED is not guaranteed on shared IRQs
at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
AT91 Real Time Clock driver.
AT91 Watchdog Timer enabled (5 seconds, nowayout)
at91_rtc at91_rtc: setting system clock to 1998-01-01 00:00:12 UTC (883612812)
RAMDISK: gzip image found at block 0
VFS: Cannot open root device "ram0" or unknown-block(1,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 264 mtdblock0 (driver?)
1f01 1320 mtdblock1 (driver?)
1f02 6864 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
Backtrace:
[<c0023594>] (dump_backtrace+0x0/0x104) from [<c00236b0>] (dump_stack+0x18/0x1c)
r7:c1c12000 r6:c01f7590 r5:ffffff8c r4:c1c23f60
[<c0023698>] (dump_stack+0x0/0x1c) from [<c0034758>] (panic+0x40/0x10c)
[<c0034718>] (panic+0x0/0x10c) from [<c0008e74>] (mount_block_root+0x260/0x2b4)
r3:00000000 r2:20000013 r1:c1c23f60 r0:c01b717c
[<c0008c14>] (mount_block_root+0x0/0x2b4) from [<c0009018>] (mount_root+0x54/0x6
c)
[<c0008fc4>] (mount_root+0x0/0x6c) from [<c00091a0>] (prepare_namespace+0x170/0x
1d0)
r5:c001c80c r4:c01f72d4
[<c0009030>] (prepare_namespace+0x0/0x1d0) from [<c0008a84>] (kernel_init+0xd4/0
x10
r5:c001b49c r4:c01f70b8
[<c00089b0>] (kernel_init+0x0/0x10 from [<c0036c64>] (do_exit+0x0/0x58
r5:00000000 r4:00000000 |
|