首先是supervivi下的分区为
Supervivi> part show
Number of partitions: 4
name : offset size flag
------------------------------------------------------------
vivi : 0x00000000 0x00040000 0
param : 0x00040000 0x00020000 0
kernel : 0x00060000 0x00300000 0
root : 0x00360000 0x40000000 0
但是在内核按上述分区,老出现错误,说是
VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)
Please append a correct "root=" boot option; here are the available partitions:
1f00 256 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 3072 mtdblock2 (driver?)
1f03 127616 mtdblock3 (driver?)
1f04 131072 mtdblock4 (driver?)
用了很多种方法都不行,后来我改成了三个分区,竟然就可以了,分区如下所示:
0x000000000000-0x000000040000 : "supervivi"
uncorrectable error :
0x000000040000-0x000000360000 : "Kernel"
0x000000360000-0x000040360000 : "root"
mtd: partition "root" extends beyond the end of device "NAND 128MiB 3,3V 8-bit"
-- size truncated to 0x7ca0000
但是这样以后,出现错误:
cannot run '/etc/init.d/rcS': No such file or directory
can't open /dev/tty4: No such file or directory
can't open /dev/tty3: No such file or directory
然后依次出现上面两句话,无限循环,搞了几天了,很是郁闷,请高手指点,谢谢。