Chinaunix首页 | 论坛 | 博客
  • 博客访问: 922655
  • 博文数量: 63
  • 博客积分: 568
  • 博客等级: 中士
  • 技术积分: 3435
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-05 11:44
文章分类
文章存档

2016年(4)

2015年(6)

2014年(3)

2013年(27)

2012年(23)

发布时间:2013-12-09 22:20:07

 static int __make_request(struct request_queue *q, struct bio *bio) {     struct request *req;     int el_ret, nr_sectors;     const&n.........【阅读全文】

阅读(5083) | 评论(0) | 转发(1)

发布时间:2013-12-09 20:28:06

 /**  * do_generic_file_read - generic file read routine  * @filp:    the file to read  * @ppos:    current file position  *&.........【阅读全文】

阅读(6914) | 评论(0) | 转发(0)

发布时间:2013-12-08 17:58:22

 /*  * This is the worker routine which does all the work of mapping the disk  * blocks and constructs largest possible bios, submits them&nbs.........【阅读全文】

阅读(7751) | 评论(1) | 转发(0)

发布时间:2013-12-01 10:02:18

nandsim模拟mtd测试UBI模块nandsim是在PC机上模拟nand flash设备的一个小模块,本文使用这个工具,在pc机器上模拟一块nand flash.然后在虚拟的nand flash上对UBI相关的操作进行测试。这样操作的好处就是不需要搭建开发板的环境,在PC机环境下,快速测试UBI模块。1、载入相关模块PC机上不一定有mtd和mtdblock模块,要.........【阅读全文】

阅读(9830) | 评论(0) | 转发(1)

发布时间:2013-11-17 11:50:53

前面已经说了Flash设备要和文件系统联系起来,首先在MTD Block层中抽象形成一个MTD Block设备,MTD Block层再想Block层注册Block设备,这样Flash就和磁盘系统一样呈现在内核中。本节来说一下MTD Block层是如何向Block层注册快设备的。之前我们必须了解块设备世界中最关键的一个数据结构gen.........【阅读全文】

阅读(20807) | 评论(0) | 转发(2)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册