nand ubi -2 ubi管理下的SLC nand
来源:互联网 发布:南非犰狳蜥淘宝 编辑:程序博客网 时间:2024/05/04 23:39
一 ubi管理下的SLC nand
refer to
http://www.linux-mtd.infradead.org/doc/ubi.html
http://www.360doc.com/content/12/0305/19/1317564_192019619.shtml
1
对于K9K8G08U0A (1GB SLC),
2.
假如对tiny6410的SLC 1G核心板的nand 的MTD分区如下,
3.
在58 0000 - 4000 0000的mtd分区之上,假如仅人为划分了一个UBI Volume(默认还有一个内部卷),ubi管理下的这个mtd结构如下,
(假设没有子页)
PEB physical eraseblock 物理擦除块,即nand的最小擦除单位,为64个页,131072B。
LEB logical eraseblock 逻辑擦除块,是ubi 卷里的概念,是对物理擦除块的映射,但不包含物理擦除块最前面的EC头页和VID头页。所以是62个页,126976B。
erase counter header (or EC header) which contains the erase counter of the physical eraseblock (PEB) plus some other not so important information
volume identifier header (or VID header) which stores volume ID and logical eraseblock (LEB) number thisPEB belongs to (plus some other not so important information).
layout volume 也就是mtd分区的卷表所在的卷,包括两个LEB,但内容一致。
Volume table is an on-flash data structure which contains information about each volume on this UBI device
Internally, the volume table resides in a special-purpose UBI volume which is calledlayout volume
一个mtd分区下可以建好多ubi卷,但不能超过128个。
ubi管理下的nand的额外开销:
2 PEBs are used to store the volume table;
1 PEB is reserved for wear-leveling purposes;
1 PEB is reserved for the atomic LEB change operation;
some amount of PEBs is reserved for bad PEB handling; this is applicable for NAND flash, but not for NOR flash; the amount of reserved PEBs is configurable and is equal to 20 blocks per 1024 blocks by default;
UBI stores the EC and VID headers at the beginning of each PEB; the amount of bytes used for these purposes depends on the flash type and is explained below.
在flash说明书上也有块图,里面的块就是PEB,每个PEB去掉page 0,1就可以被映射为一个LEB
- nand ubi -2 ubi管理下的SLC nand
- nand ubi -1 nand基础
- nand ubi - 5 kernel和ubi
- nand ubi -4 kernel和mtd
- cp & vfs & ubifs & ubi & mtd & nand driver 总结贴
- UBI文件系统 nand驱动子页支持问题
- ubi patch for MLC nand power loss (1)
- UBI
- UBI
- NAND中MLC与SLC的差别
- SLC NAND FLASH的物理结构
- slc mlc tlc nand
- u-boot中nand相关命令使用---- ubi, ubifsls, ubifsmount, ubifsumount
- SLC和MLC NAND Flash
- Uboot UBI 的移植
- Uboot UBI 的移植
- SLC和MLC闪存nand flsah的区别和历史
- NAND FLASH 的MLC和SLC架构对比
- UVa 11729 Commando War
- centos下vi的用法大全
- 凯撒密码破解
- 持续集成工具之Hudson
- jquery ajax操作
- nand ubi -2 ubi管理下的SLC nand
- HDOJ2040 亲和数
- Ubuntu12.10登陆时一闪而过总回到登陆界面
- SSh 三大框架整合之应用篇
- TCP to TCP 数据转发
- Highcharts控件使用说明及注意事项, 错误: 'Highcharts' 未定义 错误: 'jb' 为空或不是对象
- 使用Hudson持续集成Android项目
- 每天一算法(老鼠走迷官),,其实是很基本的了。
- list。h 一