这是一下我遇到的问题:
1.我修改了内核里面的分区,改成3个分区,大小如下,一下是KERNEL打印信息。ROOTFS区域为60M
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00048000 : "vivi"
0x00050000-0x00350000 : "kernel_linux2.6.27"
0x00350000-0x03f50000 : "root_yaffs2"
然后,我进入BIOS修改了VIVI的分区,和KERNEL的分区保持一致。:
------------------------------------------------------------
eboot : 0x00028000 0x00018000 0
param : 0x00040000 0x00010000 0
vivi : 0x00000000 0x00048000 0
root : 0x00350000 0x03c00000 0
kernel : 0x00050000 0x00300000 0
不过KERNEL里面没有定义EBOOT和PARAM分区,KERNEL里面的分区代码如下
:
[0] = { .name = "vivi",
.size = 0x00048000,
.offset = 0X00000000,
},
[1] = { .name = "kernel_linux2.6.27",
.offset = 0x00050000,
.size = 0x00300000,
},
[2] = { .name = "root_yaffs2",
.offset =0x00350000,
.size =0x03c00000,
}
2.然后我精简了你的文件系统,精简到58M,
3.然后进入SUPERVIVI,用loadyaffs root -u
吧生成的58M的 YAFFS2的镜像文件烧录到我定义的分区里面去。烧写成功了。
可是KERNEL最后出现如下错误
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 116K
Warning: unable to open an initial console.
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel