I am trying to boot initramfs cpio archieve as an external filesystem because I have to split kernel and root fs because of system limitation.
http://www.mjmwired.net/kernel/Docum...-initramfs.txt
The documentation for initramfs says (External initramfs images: line 210) that initramfs can be passed as an initrd to the kernel and from the kernel log, it does so too. But then later it panics. Why is this happening?
U-Boot> tftp 20410000 rootfs.arm.cpio.gz
U-Boot> tftp 21600000 uImage
U-Boot> bootm 21600000
## Booting kernel from Legacy Image at 21600000 ...
Image Name: Linux-2.6.30-00001-ga0c23b6-dirt
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 703784 Bytes = 687.3 kB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux............................................... done, bootin.
Linux version 2.6.30-00001-ga0c23b6-dirty (salil@salil-laptop) (gcc version 4.39
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=0x20410000,24M root=/dw
NR_IRQS:192
AT91: 128 gpio irqs in 4 banks
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
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: 6432KB available (1216K code, 121K data, 96K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 89.79 BogoMIPS (lpj=350208)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
bio: create slab <bio-0> at 0
Trying to unpack rootfs image as initramfs...
Kernel panic - not syncing: Out of memory and no killable processes...
Backtrace:
[<c0024750>] (dump_backtrace+0x0/0x10c) from [<c011dc58>] (dump_stack+0x18/0x1c)
r7:c0153664 r6:00000000 r5:00000000 r4:c1c3fb00