initrd : no cpio magic

Fabien Oriede fabien.oriede at
Wed Jul 30 19:06:18 EST 2008

Hi all,
I'm working with a custom board (MPC860T, 8MB FLASH, 4MB SDRAM, serial port on SCC1). U-Boot (version 1.3.2) works fine. Now I'm trying to put an initrd image to boot the kernel (version 2.6.24). I have followed this topic : I have downloaded pRamdisk from!VDAwMjgxMTg6bGRhcDqY+Fsd/NseZr/2SQTpUyuD to test with a correct initrd. Now my uImage is at address 0xFFA00000 and the initrd image is at 0xFFC00000. When I use the command "bootm FFA00000 FFC00000", I have the following log on my terminal :
bootm ffa00000 ffc00000
## Booting image at ffa00000 ...
Image Name: Linux-2.6.24
Created: 2011-02-14 15:42:10 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 631621 Bytes = 616.8 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at 0x003B8D78 => set upper limit to 0x003B8570
## cmdline at 0x003B8470 ... 0x003B8493
bd address = 0x003B8FC4
memstart = 0x00000000
memsize = 0x00400000
flashstart = 0xFF800000
flashsize = 0x00800000
flashoffset = 0x00000000
sramstart = 0x00000000
sramsize = 0x00000000
immr_base = 0xFFE00000
bootflags = 0x00000001
intfreq = 40 MHz
busfreq = 40 MHz
ethaddr = 00:00:00:00:00:00
IP addr =
baudrate = 38400 bps
Not skipping initrd
## Loading RAMDisk Image at ffc00000 ...
Image Name: Simple Embedded Linux Framework
Created: 2002-10-24 4:56:06 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 1459535 Bytes = 1.4 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## initrd at 0xFFC00040 ... 0xFFD6458E (len=1459535=0x16454F)
Loading Ramdisk to 00253000, end 003b754f ... OK
## Transferring control to Linux (at address 00000000) ...
Linux version 2.6.24 (root at localhost.localdomain) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #5 Mon Feb 14 16:42:09 CET 2011
Zone PFN ranges:
DMA 0 -> 1024
Normal 1024 -> 1024
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 1024
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 1016
Kernel command line: console=ttyCPM0,38400 root=/dev/ram
PID hash table entries: 16 (order: 4, 64 bytes)
Decrementer Frequency = 150000000/60
Console: colour dummy device 80x25
cpm_uart: console: compat mode
console [ttyCPM0] enabled
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 1192k available (1088k kernel code, 260k data, 68k init, 0k highmem)
SLUB: Genslabs=11, HWalign=16, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
Unpacking initramfs...<0>Kernel panic - not syncing: no cpio magic
Rebooting in 180 seconds..
It seems that it recognize the initrd, but there is an error on cpio magic, may be the inirtd was not made with cpio. Can I add the cpio part in the header of the initrd ? (if I'm not wrong of course)
I have seen a lot of topics, tutorials on the web, but they don't explain much which files I need to put in my initrd. That's why I have downloaded this pRamdisk to test.
Someone can help me with my problem please ?

Envoyez avec Yahoo! Mail. Une boite mail plus intelligente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Linuxppc-embedded mailing list