关于启动内核的困惑
今天我自己做了一个initrd.img,正好4M,但是启动内核时出现如下错误:RAMDISK: ext2 filesystem found at block 0
RAMDISK: image too big! (4096KiB/2048KiB)
JFFS: Trying to mount a non-mtd device.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
请问“RAMDISK: image too big! (4096KiB/2048KiB)”,中的2048K的限制在哪里可以改?谢谢
skyeye.conf如下:
mem_bank: map=M, type=RW, addr=0x30800000, size=0x00800000, file=./initrd.img
在配置内核时:
Device Drivers --> Block devices --> (4096) Default RAM disk size (kbytes) 检查一下COMMAND_LINE:
Kernel command line: noinitrd console=ttySAC0 root=/dev/mtdblock2 rootfstype=yaffs init=/linuxrc devfs=mount ramdisk_size=2048 rw
kernel boot option
ramdisk_size=4096 谢谢ksh和crook 已经改过来了! o(∩_∩)o...
页:
[1]