letlet 发表于 2011-1-28 15:00:01

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

主机: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

kevincoxee 发表于 2012-4-19 15:53:30

文件系统没写进去
页: [1]
查看完整版本: 求助帖:arm9 2440移植yaffs2文件系统出现不明错误