阅读:3705回复:1
求助文件系统启动问题
我的开发板是arm9200t,内核就采用了arm9200的默认配置,然后配置了BLocK_RAM_SIZE (819255),ramdisk size设为 15360,command string: "mem=32M console=ttyS0,115200 initrd=0x21100000,6000000 root=/dev/ram rw"编译成功后,使用串口下载到flash中,ram大小为32Mflash16M,使用下面命令下载内核和文件系统,但是好像启动的不正常!
内核 Uboot> loadb 21000000 Uboot>protect off all Uboot>erase 10020000 1013ffff Uboot>cp.b 21000000 10020000 11ffff Uboot>protect on all 文件5, 烧写ramdisk(文件系统) Uboot> loadb 21100000 Uboot>protect off all Uboot>erase 10140000 1053ffff Uboot>cp.b 21100000 10140000 3fffff Uboot>protect on all 环境变量 Uboot> setenv cpfltoker cp.b 10020000 21000000 11ffff Uboot> setenv cpfltoram cp.b 10140000 21100000 3fffff Uboot> setenv boot go 21000000 Uboot> setenv bootcmd run cpfltoker\;run cpfltoram\;run boot Uboot> setenv bootargs root=/dev/ram rw initrd=0x21100000,6000000 ramdisk_size=20000 console=ttyS0,115200 mem=32M Uboot> saveenv 下面是打印的调试信息各位大虾帮我看看吧 boot 1.0 (Jun 28 2005 - 10:55:27) Uncompressing image... U-Boot 1.1.1 (Aug 3 2005 - 14:31:02) U-Boot code: 21F00000 -> 21F15C30 BSS: -> 21F19F84 RAM Configuration: Bank #0: 20000000 32 MB Flash: 16 MB In: serial Out: serial Err: serial Hit any key to stop autoboot: 3 2 1 0 ## Starting application at 0x21000000 ... Uncompressing Linux.................................................................... done, booting the kernel. Linux version 2.6.21.3 (root@lihongyu) (gcc version 3.4.1) #9 Wed Jul 25 17:16:19 CST 2007 CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177 Machine: Atmel AT91RM9200-DK Warning: bad configuration page, trying to continue Memory policy: ECC disabled, Data cache writeback Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets Built 1 zonelists. Total pages: 8128 Kernel command line: mem=32M console=ttyS0,115200 initrd=0x21100000,6000000 root=/dev/ram rw AT91: 128 gpio irqs in 4 banks PID hash table entries: 128 (order: 7, 512 bytes) Console: colour dummy device 80x30 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: 24424KB available (1872K code, 183K data, 100K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd Freeing initrd memory: 5859K NetWinder Floating Point Emulator V0.97 (double precision) io scheduler noop registered io scheduler anticipatory registered (default) at91_spi: Baud rate set to 5990400 AT91 SPI driver loaded AT91 Watchdog Timer enabled (5 seconds, nowayout) 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 RAMDISK: wrong blocksize 819255, reverting to defaults RAMDISK driver initialized: 16 RAM disks of 15360K size 1024 blocksize at91_ether: probe of at91_ether failed with error -1 physmap platform flash device: 00200000 at 10000000 physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank NOR chip too large to fit in mapping. Attempting to cope... Support for command set 0001 not present gen_probe: No supported Vendor Command Set found physmap-flash physmap-flash.0: map_probe failed at91_cf: irqs det #64, io #0 usbmon: debugfs is not available 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: Product: AT91 OHCI usb usb1: Manufacturer: Linux 2.6.21.3 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 udc: at91_udc version 3 May 2006 mice: PS/2 mouse device common for all mice at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0 i2c /dev entries driver at91_i2c at91_i2c: AT91 i2c bus driver. TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 at91_rtc at91_rtc: setting the system clock to 1998-01-01 00:00:28 (883612828) RAMDISK: Couldn't find valid RAM disk image starting at 0. No filesystem could mount root, tried: ext2 cramfs Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) 希望各位大人指点迷津! |
|
沙发#
发布于:2007-11-27 16:38
楼主问题解决了吗
|
|