TI中文支持网
TI专业的中文技术问题搜集分享网站

RAMDISK文件系统加载报错invalid compressed format (err=1)

RAMDISK文件系统加载报错invalid compressed format (err=1)(见标黄处),请问是什么原因造成的?我用的文件系统是http://arago-project.org/files/releases/davinci-psp_3.x.0.0-r37/images/dm6446-evm/的arago-demo-image-dm6446-evm.ext2.gz。

是Kernel的RAM DISK设置得不够大么?但是看标绿处,觉得够大了。请高手指教!谢谢!

Loading from NAND 64MiB 1,8V 8-bit, offset 0x450000
   Image Name:   Linux-2.6.10_mvl401-davinci_evm
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1334680 Bytes =  1.3 MB
   Load Address: 80008000
   Entry Point:  80008000
## Booting kernel from Legacy Image at 80700000 …
   Image Name:   Linux-2.6.10_mvl401-davinci_evm
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1334680 Bytes =  1.3 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum … OK
   Loading Kernel Image … OK
OK

Starting kernel …

Uncompressing Linu…………………………………………………………………………… done, booting th.Linux version 2.6.10_mvl401-davinci_evm (build@node-38) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.104.0600975 2006-07-05)) #1 Fri Jul 7 08:45:37 PDT 2006
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: mem=120M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,4M ip=192.168.1.14:192.168.1.13:192.168.1.1:255.255.255.0
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80×30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 120MB = 120MB total
Memory: 114688KB available (2284K code, 480K data, 140K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
checking if image is initramfs…it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 4096K
NET: Registered protocol family 16
Registering platform device 'musb_hdrc'. Parent at platform
DaVinci I2C DEBUG: 08:43:19 Jul  7 2006
Registering platform device 'i2c'. Parent at platform
usbcore: registered new driver usbfs
usbcore: registered new driver hub
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Jul  7 2006 08:42:53 Installing.
Registering platform device 'davincifb.0'. Parent at platform
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90×30
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Registering platform device 'ti_davinci_emac'. Parent at platform
TI DaVinci EMAC: MAC address is 00:0e:99:02:5e:5b
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
netconsole: not configured, aborting
i2c /dev entries driver
Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
DaVinci v4l2 capture driver V1.0 loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: TOSHIBA MK4032GAX, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22
hda: max request size: 1024KiB
hda: 78140160 sectors (40007 MB), CHS=16383/255/63
 hda: hda1 hda2
    ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio
mice: PS/2 mouse device common for all mice
musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0]
musb_hdrc: USB Host mode controller at c8060000 using PIO, IRQ 12
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Registering platform device 'davinci-audio.0'. Parent at platform
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Complete:
      device=eth0, addr=192.168.1.14, mask=255.255.255.0, gw=192.168.1.1,
     host=192.168.1.14, domain=, nis-domain=(none),
     bootserver=192.168.1.13, rootserver=192.168.1.13, rootpath=
RAMDISK: Compressed image found at block 0
invalid compressed format (err=1)
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 140K
Warning: unable to open an initial console.
EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #950: unaligned directory entry – offset=0, inode=4231318026, rec_len=8447, name_len=117
EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #1020: rec_len is smaller than minimal – offset=0, inode=0, rec_len=0, name_len=0
Kernel panic – not syncing: No init found.  Try passing init= option to kernel.

Daisy:

回复 Feng Dong:

Feng Dong正解!谢谢!

我的环境变量配制

setenv bootargs mem=120M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,4M ip=192.168.1.14:192.168.1.13:192.168.1.1:255.255.255.0

有问题,其中4M指文件系统大小,太小了!

 

赞(0)
未经允许不得转载:TI中文支持网 » RAMDISK文件系统加载报错invalid compressed format (err=1)
分享到: 更多 (0)

登录

注册