文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>JFFS2的问题

JFFS2的问题

时间:2009-04-23  来源:oldstorm

List of all partitions:
1f00       1024 mtdblock0 (driver?)
1f01       2048 mtdblock1 (driver?)
1f02      16384 mtdblock2 (driver?)
1f03      46080 mtdblock3 (driver?)
No filesystem could mount root, tried: cramfs msdos vfat romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)

烧了内核 烧了rootfs.jffs2 但是系统无法识别相应的分区 更无法识别rootfs 和初始化系统

看蓝色的那句 似乎JFFS2根本没有被编译到内核里面 问题到底出在哪儿呢?

问题解决:把下面这行boot option在内核编译的时候直接传递(看情况是uboot偷懒了,别人移植的 我也不懂到底是..............)

noinitrd root=1f02 rootfstype=jffs2 rw console=ttySAC0,115200 init=/linuxrc mem=64M

新的问题:

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x9c9c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x9c9c instead

mkfs.jffs2 -s 的参数问题 对照FLASH的大小再重新生成镜像文件过即可

问题:

共提示以下几种错误:

Empty flash at 0x00258c88 ends at 0x00258c8c

jffs2_scan_inode_node(): CRC failed on node at 0x002873f0: Read 0x50dc72ec, calculated 0xafbffd1d

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002d24ac: 0x000d instead

JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

VFS: Mounted root (jffs2 filesystem).

Freeing init memory: 124K

JFFS2 notice: (1) check_node_data: wrong data CRC in data node at 0x00012000: read 0x1a9bfab2, calculated 0xdc27bef6.

JFFS2 notice: (728) read_dnode: wrong data CRC in data node at 0x0000e438: read 0x3dcf6001, calculated 0xcb81f1ee.

JFFS2 warning: (1) jffs2_do_read_inode_internal: no data nodes found for ino #14

JFFS2 notice: (1) jffs2_do_read_inode_internal: but it has children so we fake some modes for it

Failed to execute /linuxrc. Attempting defaults...

Kernel panic - not syncing: No init found. Try passing init= option to kernel.

分析:

记得JFFS2是采用自己的ECC算法,但是在内核中又打开了S3C2410_HARDWARE_ECC

解决方案:

去掉硬件ECC

错误:
ftl_cs: FTL header not found.
原因:
在不支持FTL的情况下打开了FTL
解决方案:
去掉 內核配置中FTL support

相关阅读 更多 +
排行榜 更多 +
飞翔之光手机版

飞翔之光手机版

冒险解谜 下载
飞翔之光手游

飞翔之光手游

冒险解谜 下载
月亮冲突英雄

月亮冲突英雄

飞行射击 下载