램디스크 크기 조절 후 커널 패닉 현상 발생.
12메가로 램디스크를 만들고 램디스크 압축공간 5메가로 설정 하였음.
이지부트는 버전1.8이고 강좌&팁에 나온데로 설정을 하였고 커널 컴파일에서 램디스크도 12메가로 설정하였습니다.

더이상 해볼게 없는데 좀 도와주세요~


 

-------   강좌에 나온 내용 수정 -----------
 

우선 이지 보드 용 커널 소스 중에서

linux/arch/arm/mach-pxa/ez-x5.c 화일의 내용중 fixup_ez_x5의 수정

static void __init

fixup_ez_x5(struct machine_desc *desc, struct param_struct *params,

char **cmdline, struct meminfo *mi)
{
// 실제 램디스크의 사이즈.
setup_ramdisk(1, 0, 0, ( 12*1024) );
setup_initrd( __phys_to_virt(0xc0800000), 5*1024*1024);
}


이지 부트의 mem_map.h 의

#define DEFAULT_RAM_RAMDISK_IMG_SIZE  (5 * 1024 * 1024)

#define DEFAULT_RAM_RAMDISK_SIZE           (  12*1024*1024)


-----      커널 메세지      -------
Copy Kernel Image .....
Copy Ramdisk Image .....
Starting kernel [MARCH 303]...
Uncompressing Linux.............................................. done, booting the kernel.
Linux version 2.4.19-rmk7-pxa1-ez_x5 (root@DevLinux) (gcc version 3.2.1) #439 Fri Feb 22 15:51:59 KST 2008
CPU: XScale-PXA255 revision 6
Machine: WWW.FALINUX.COM EZ-X5 for PXA255 Board
Ignoring unrecognised tag 0x00000000
Memory clock: 99.53MHz (*27)
Run Mode clock: 398.13MHz (*4)
Turbo Mode clock: 398.13MHz (*1.0, inactive)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: pxa  initrd=0xa0800000,5M root=/dev/ram ramdisk=12288 console=ttyS02,115200  ip0=172.16.4.137 nandparts=1,5,58 arch=EZ-X5
Console: colour dummy device 80x30
Calibrating delay loop... 397.31 BogoMIPS
Memory: 64MB = 64MB total
Memory: 58116KB available (1203K code, 282K data, 64K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Using PXA255 frequency points.
Registering CPU frequency change support.
CPU clock: 398.131 MHz (99.000-400.000 MHz)
Starting kswapd
Console: switching to colour frame buffer device 80x30
LCD resolution 640x480
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x0000 (irq = 15) is a PXA UART
ttyS01 at 0x0000 (irq = 14) is a PXA UART
ttyS02 at 0x0000 (irq = 13) is a PXA UART
mk712 device OK!
eth0: cs8900 rev K Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:87:A0:90
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
loop: loaded (max 8 devices)
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MB 3,3V)
Creating 3 MTD partitions on "NAND 64MB 3,3V":
0x00000000-0x00100000 : "EZ-X5 Kernel partition"
0x00100000-0x00600000 : "EZ-X5 Ramdisk partition"
0x00600000-0x04000000 : "EZ-X5 Data partition 0"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 5120K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 64K
attempt to access beyond end of device
01:00: rw=0, want=841835629, limit=12288
attempt to access beyond end of device
01:00: rw=0, want=841835629, limit=12288
Kernel panic: No init found.  Try passing init= option to kernel.