遇到过nand只读的问题,通过抓取打印信息分析内核代码。
一、UBI驱动分析
以linux-2.6.31.14为例
\drivers\mtd\ubi\
bulid.c wl.c io.c
ubi_init(void)
ubi_attach_mtd_dev(mtd, UBI_DEV_NUM_AUTO, p->vid_hdr_offs);
attach_by_scanning(ubi)
ubi_wl_init_scan
遇到过nand只读的问题,通过抓取打印信息分析内核代码。
一、UBI驱动分析
以linux-2.6.31.14为例
\drivers\mtd\ubi\
bulid.c wl.c io.c
ubi_init(void)
ubi_attach_mtd_dev(mtd, UBI_DEV_NUM_AUTO, p->vid_hdr_offs);
attach_by_scanning(ubi)
ubi_wl_init_scan
>