在arch/arm/kernel/setup.c,Kernel command line中加上roo=/dev/ram0 rw initrd=0xc0400000,0x00200000;
最后报:
VFS:Cannot open root device "ram0" or 1f:00
Please append a corredt "root=" boot option
Kernel panic:VFPS: Unable to mount root fs on 1f:00
1f:00应该是31的主设备号,可是我已经把BLKMEM_MAJOR改成30了啊,另外intrd中的内存地址是怎么计算的?
等待中。。。。。。。。。郁闷中。。。。。。。。