3057
- 收藏
- 点赞
- 分享
- 举报
hi3531在nandflash上烧写jffs2文件系统的启动问题
uboot nand 信息
Nand(Hardware): Block:128KB Page:2KB Chip:128MB OOB:64B ECC:1bit
镜像制作
./mkfs.jffs2 -d rootfs_glibc_4release -n -l -e 0x20000 -s 0x800 --pad=0x2571000 -o xxx.jffs2
烧写命令
mw.b 82000000 ff 7000000
tftp 82000000 xxx.jffs2
nand erase 1000000 7000000
nand write.jffs2 82000000 1000000 2571000
setenv bootargs 'mem=128M console=ttyAMA0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2,nolock mtdparts=hinand:1M(boot),15M(kernel),112M(rootfs)'
系统可以启动,但是内核启动时会有很多如下打印
Empty flash at 0x01630cb4 ends at 0x01631000
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631000: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631004: 0x0074 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631008: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0163100c: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631010: 0x0003 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631014: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0163101c: 0x0f00 instead
Empty flash at 0x01631020 ends at 0x01631024
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631024: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631028: 0x2a04 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0163102c: 0xffff instead
Further such events for this erase block will not be printed
Empty flash at 0x01631034 ends at 0x01631038
Empty flash at 0x0163103c ends at 0x01631040
有时候会出现很多,严重影响启动时间
网上搜索这种打印可以忽略?
不知什么原因,请教高手解答
Nand(Hardware): Block:128KB Page:2KB Chip:128MB OOB:64B ECC:1bit
镜像制作
./mkfs.jffs2 -d rootfs_glibc_4release -n -l -e 0x20000 -s 0x800 --pad=0x2571000 -o xxx.jffs2
烧写命令
mw.b 82000000 ff 7000000
tftp 82000000 xxx.jffs2
nand erase 1000000 7000000
nand write.jffs2 82000000 1000000 2571000
setenv bootargs 'mem=128M console=ttyAMA0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2,nolock mtdparts=hinand:1M(boot),15M(kernel),112M(rootfs)'
系统可以启动,但是内核启动时会有很多如下打印
Empty flash at 0x01630cb4 ends at 0x01631000
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631000: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631004: 0x0074 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631008: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0163100c: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631010: 0x0003 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631014: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0163101c: 0x0f00 instead
Empty flash at 0x01631020 ends at 0x01631024
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631024: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01631028: 0x2a04 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0163102c: 0xffff instead
Further such events for this erase block will not be printed
Empty flash at 0x01631034 ends at 0x01631038
Empty flash at 0x0163103c ends at 0x01631040
有时候会出现很多,严重影响启动时间
网上搜索这种打印可以忽略?
不知什么原因,请教高手解答
我来回答
回答1个
时间排序
认可量排序
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-12-08 15:40:25
-
2016-05-13 14:48:29
-
2017-05-31 11:27:59
-
2019-01-19 12:48:42
-
2017-10-27 22:35:34
-
2017-07-13 13:55:34
-
2012-11-24 15:09:53
-
2020-11-04 09:31:24
-
2013-08-25 16:08:13
-
42015-01-26 14:35:44
-
2018-09-02 19:49:58
-
2019-09-04 11:35:41
-
2016-09-20 15:51:47
-
2018-04-24 16:16:11
-
2016-06-21 18:01:31
-
2015-07-22 09:38:59
-
2018-05-30 11:28:17
-
2020-02-28 15:12:42
-
2019-01-10 09:31:13
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认