求助帖:arm9 2440移植yaffs2文件系统出现不明错误

iLetLet 2011-01-28 03:49:11
主 机:VMWare--Fedora 14
编译器:arm-linux-gcc-3.4.1
Busybox:busybox-1.13.1.tar.tar
yaffs制作工具:mkyaffs2image.tgz

制作完成后,声程root-2.6.33.bin,下载到开发板启动后,信息如下,
移植启动不了,原因未明,特来向各位请教,谢谢:
(如果用开发板自带的那个yaffs文件系统是可以启动的)
TCP cubic registered
NET: Registered protocol family 17
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: auto selecting yaffs2
block 122 is bad
block 342 is bad
usb 1-1: new full speed USB device using s3c2410-ohci and address 2
**>> yaffs chunk 64 was not erased
**>> yaffs write required 2 attempts
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
block 122 is bad
block 342 is bad
yaffs tragedy:attempt to put data chunk into a non-file
==>> yaffs bug: fs/yaffs2/yaffs_guts.c 3683
List of all partitions:
1f00 128 mtdblock0 (driver?)
1f01 384 mtdblock1 (driver?)
1f02 3072 mtdblock2 (driver?)
1f03 61440 mtdblock3 (driver?)
1f04 512 mtdblock4 (driver?)
1f05 60928 mtdblock5 (driver?)
No filesystem could mount root, tried: ext3 ext2 cramfs vfat msdos iso9660 romfs yaffs yaffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
Backtrace:
[<c00309bc>] (dump_backtrace+0x0/0x104) from [<c0030ad8>] (dump_stack+0x18/0x1c)
r7:c388c000 r6:c388c037 r5:00000000 r4:c381bf5c
[<c0030ac0>] (dump_stack+0x0/0x1c) from [<c004d008>] (panic+0x3c/0x124)
[<c004cfcc>] (panic+0x0/0x124) from [<c0009044>] (mount_block_root+0x1d8/0x21c)
r3:00000003 r2:c381bf6f r1:c381bf5c r0:c03a39ac
[<c0008e6c>] (mount_block_root+0x0/0x21c) from [<c0009254>] (mount_root+0xd0/0xf0)
[<c0009184>] (mount_root+0x0/0xf0) from [<c00093e4>] (prepare_namespace+0x170/0x1d0)
r6:00000000 r5:c0024a0c r4:c042ca54
[<c0009274>] (prepare_namespace+0x0/0x1d0) from [<c0008c1c>] (kernel_init+0xd8/0x10c)
r5:c00238e8 r4:c042c838
[<c0008b44>] (kernel_init+0x0/0x10c) from [<c004f814>] (do_exit+0x0/0x5a4)
r5:00000000 r4:00000000
...全文
392 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
codesnail 2011-01-31
  • 打赏
  • 举报
回复
分区大小不匹配?
iLetLet 2011-01-30
  • 打赏
  • 举报
回复
这是我内核的分区信息,但是我找不出是什么原因
[0] = {

.name = "boot",

.size = 0x00020000,

.offset = 0

},

[1] = {

.name = "bootParam",

.size = 0x00060000,

.offset = 0x00020000,

},

[2] = {

.name = "Kernel",

.size = 0x00300000,

.offset = 0x00500000,

},

[3] = {

.name = "fs_yaffs",

.size = 0x03c00000,

.offset = 0x00800000,

},

[4] = {

.name = "eboot",

.size = 0x00080000,

.offset = 0x04400000,

},

[5] = {

.name = "WINCE",

.size = 0x03b80000,

.offset = 0x04480000,

}


李迟 2011-01-29
  • 打赏
  • 举报
回复
List of all partitions:
1f00 128 mtdblock0 (driver?)
1f01 384 mtdblock1 (driver?)
1f02 3072 mtdblock2 (driver?)
1f03 61440 mtdblock3 (driver?)
1f04 512 mtdblock4 (driver?)
1f05 60928 mtdblock5 (driver?)
No filesystem could mount root, tried: ext3 ext2 cramfs vfat msdos iso9660 romfs yaffs yaffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)

分区问题。

21,595

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧