Tiny6410在用友善提供的的ubi文件安装后正常启动,其中打印信息如下:
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 1048576 bytes (1024 KiB)
UBI: logical eraseblock size: 1032192 bytes
UBI: smallest flash I/O unit: 8192
UBI: VID header offset: 8192 (aligned 8192)
UBI: data offset: 16384
UBI: max. sequence number: 8
UBI: attached mtd2 to ubi0
UBI: MTD device name: "File System"
UBI: MTD device size: 2036 MiB
UBI: number of good PEBs: 2033
UBI: number of bad PEBs: 3
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 2033
UBI: number of PEBs reserved for bad PEB handling: 20
UBI: max/mean erase counter: 2/0
UBI: image sequence number: 829149979
UBI: background thread "ubi_bgt0d" started, PID 918
我自己用命令制作的文件系统启动不起来,命令为:
mkfs.ubifs -r /home/James/arm/rootfs/ -m 8192 -e 1048576 -c 800 -o ubifs.img
ubinize -o ubi.img -m 8192 -p 1024KiB -s 8192 /home/James/arm/ubinize.cfg
ubinize.cfg:
[ubifs]
mode=ubi
image=ubifs.img
vol_id=0
vol_size=100MiB
vol_type=dynamic
vol_alignment=1
vol_name=rootfs
vol_flags=autoresize
打印信息如下,这个“UBI: max. sequence number: 0”选项怎么在制作的时候改变?或者里面出了什么错误?
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 1048576 bytes (1024 KiB)
UBI: logical eraseblock size: 1032192 bytes
UBI: smallest flash I/O unit: 8192
UBI: VID header offset: 8192 (aligned 8192)
UBI: data offset: 16384
UBI warning: process_eb: valid VID header but corrupted EC header at PEB 0
UBI warning: process_eb: valid VID header but corrupted EC header at PEB 1
UBI warning: process_eb: valid VID header but corrupted EC header at PEB 2
UBI error: check_corruption: PEB 14 contains corrupted VID header, and the data does not contain all 0xFF, this may be a non-UBI PEB or a severe VID header corruption which requires manual inspection
UBI error: check_what_we_have: 1 PEBs are corrupted and preserved
Corrupted PEBs are: 14UBI: max. sequence number: 0
UBI: volume 0 ("rootfs") re-sized from 102 to 2008 LEBs
UBI: attached mtd2 to ubi0
UBI: MTD device name: "File System"
UBI: MTD device size: 2036 MiB
UBI: number of good PEBs: 2033
UBI: number of bad PEBs: 3
UBI: number of corrupted PEBs: 1
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 2032
UBI: number of PEBs reserved for bad PEB handling: 20
UBI: max/mean erase counter: 1/0
UBI: image sequence number: 950132328
UBI: background thread "ubi_bgt0d" started, PID 918
[ 此帖被putongren在2012-09-15 13:54重新编辑 ]