UBI文件系统简介
_unlock:start:00000000,length:235456!
NANDflashsuccessfullyunlocked
OMAP3DevKit8000#nandeccsw
OMAP3DevKit8000#nanderase6800007980000
NANDerase:device0offset0x680000,size0x7980000
Erasingat0x7fe0000--100%complete。
OK
OMAP3DevKit8000#nandwrite。i81000000680000$(filesize)
NANDwrite:device0offset0x680000,size0xc40000
Writingdataat0x12bf800--100%complete。
12845056byteswritten:OK
烧写过程和烧写内核镜像的过程一致,所以UBI文件系统应该不像yaffs文件系统那样用到了nand的OOB区域。
2)设置UBIFS文件系统作为根文件系统启动的参数
OMAP3DevKit8000#setenvbootargsconsole=ttyS2,115200n8ubi。mtd=4root=ubi0:rootfs
rootfstype=ubifsvideo=omapfb:mode:4。3inch_LCD
OMAP3DevKit8000#setenvbootcmdnandread。i80300000280000200000;bootm80300000
根文件系统的位置在MTD4上
系统启动时会打印出如下和UBI相关的信息:
Creating5MTDpartitionsnumbergoodPEBs:970
UBI:numberofbadPEBs:2
UBI:max。allowedvolumes:128
UBI:wear-levelingthreshold:4096
UBI:numberofinternalvolumes:1
UBI:numberofuservolumes:1
UBI:availablePEBs:0
UBI:totalnumberofreservedPEBs:970
UBI:numberofPEBsreservedforbadPEBhandling:9
UBI:max/meanerasecounter:2/0
- VHDL:中文版Verilog HDL简明教程:第1章 简介(06-06)
- RS-485接口简介(12-20)
- I2C之知(一)--I2C的简介和特性(12-15)
- RS485简介(12-14)
- Android 框架简介(09-12)
- 温、湿度采集系统的硬件设计简介(11-09)