报错信息:
[ 2.546784] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 2.552994] UBIFS: file system size: 38473728 bytes (37572 KiB, 36 MiB, 303 LEBs)
[ 2.560683] UBIFS: journal size: 5332992 bytes (5208 KiB, 5 MiB, 42 LEBs)
[ 2.568118] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 2.574065] UBIFS: default compressor: lzo
[ 2.578187] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 2.586360] VFS: Mounted root (ubifs filesystem) on device 0:13.
[ 2.596027] devtmpfs: mounted
[ 2.599229] Freeing init memory: 136K
INIT: version 2.86 booting
[ 3.306610] UBI: attaching mtd4 to ubi1
[ 3.310495] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 3.317193] UBI: logical eraseblock size: 126976 bytes
[ 3.322768] UBI: smallest flash I/O unit: 2048
[ 3.327495] UBI: sub-page size: 512
[ 3.332245] UBI: VID header offset: 2048 (aligned 2048)
[ 3.338275] UBI: data offset: 4096
[ 3.344036] UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read 64 bytes
[ 3.415997] UBI: max. sequence number: 14
[ 3.438214] UBI: attached mtd4 to ubi1
[ 3.442203] UBI: MTD device name: "data1"
[ 3.447202] UBI: MTD device size: 8 MiB
[ 3.452197] UBI: number of good PEBs: 64
[ 3.456753] UBI: number of bad PEBs: 0
[ 3.461320] UBI: number of corrupted PEBs: 0
[ 3.465787] UBI: max. allowed volumes: 128
[ 3.470414] UBI: wear-leveling threshold: 4096
[ 3.475244] UBI: number of internal volumes: 1
[ 3.479711] UBI: number of user volumes: 1
[ 3.484260] UBI: available PEBs: 0
[ 3.488724] UBI: total number of reserved PEBs: 64
[ 3.493624] UBI: number of PEBs reserved for bad PEB handling: 2
[ 3.499655] UBI: max/mean erase counter: 30/11
[ 3.504207] UBI: image sequence number: 396894217
[ 3.509080] UBI: background thread "ubi_bgt1d" started, PID 491
UBI device number 1, total 64 LEBs (8126464 bytes, 7.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
[ 4.243778] UBIFS: mounted UBI device 1, volume 0, name "ubifs_volume"
[ 4.250354] UBIFS: file system size: 6221824 bytes (6076 KiB, 5 MiB, 49 LEBs)
[ 4.257856] UBIFS: journal size: 1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
[ 4.265134] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 4.271092] UBIFS: default compressor: lzo
[ 4.275215] UBIFS: reserved for root: 293871 bytes (286 KiB)
在次启动就启动失败
Chris Meng:
Xin Jin,
是板子多次上电下电后出现的问题,还是烧写第一次以后就这样?
yuepeng zhang:
我曾经遇到了跟你几乎一样的问题。
jin xin:
回复 Chris Meng:
每次都是这样,以前都是NFS调试的,今天开始固化,发现的问题。
Chris Meng:
回复 jin xin:
Xin Jin,
那比较像是文件系统本身的问题。你能否在论坛里面搜索一下相关ubifs制作的帖子,看看你的制作流程/参数是否有需要调整的?