一. NAND和NOR的比较 NOR和NAND是现在市场上两种主要的非易失闪存技术。Intel于1988年首先开发出NOR flash技术,彻底改变了原先由EPROM和EEPROM一统天下的局面。紧接着,1989年,东芝公司发表了NAND flash结构,强调降低每比特的成本,更高的性能,并且象磁盘一样可以通过接口轻松升级。但是经过了十多年之后,仍然有相当多的硬件工程师分不清NOR和NAND闪存。相"flash存储器"经常可以与相"NOR存储器"互换使用。许多业内人士也搞不...
http://www.linux-mtd.infradead.org/faq/general.html Unix traditionally only knew block devices and character devices. Character devices were things like keyboards or mice, that you could read current data from, but couldn't be seek-ed and didn't have a size. Block devices had a fixed size and could be seek-ed. They also happened to be organized in blocks of multiple bytes, usually 512. ...
我在系统里面键入cat /proc/mtd能看到如下信息 dev: size erasesize name mtd0: 02000000 00040000 "NOR flash on EDB9315" mtd1: 00040000 00040000 "RedBoot" mtd2: 001c0000 00040000 "zImage" mtd3: 00800000 00040000 "ramdisk" mtd4: 01580000 00040000 "app" mtd5: 00001000 00040000 "RedBoot config" mtd6: 00040000 00040000 "FIS directory" 这些分区是redboot下建立的。我想在系统启动后访问mtd4,也就是app分区...
这是uboot的start.s的一段启动代码 /* * These are defined in the board-specific linker script. */ .globl _bss_start _bss_start: .word __bss_start .globl _bss_end _bss_end: .word _end 我对这里的 .globl .word 不了解 希望知道的冒个泡谢谢! 还有就是能不能提供一些相关的汇编资料,我找了好长时间都没有找到。
【生活在于分享 文系原创 欢迎转载 --dangaohe】入住nandflash 酒店一年多,离别的季节,撰《酒店风云之nandflash》为纪念。 文中我陆续记录下,朋友们关心的nandflash技术,如坏块管理,nftl, ubi,multi-plane. copy-back及yaffs2, ubifs等文件系统相关内容。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/97006/showart_1933242.html
在kernel.2.4.26中的cfi_cmdset_0002.c文件中 static int cfi_amdstd_write_buffers (struct mtd_info *mtd, loff_t to , size_t len, size_t *retlen, const u_char *buf) { struct map_info *map = mtd->priv; struct cfi_private *cfi = map->fldrv_priv; int wbufsize = CFIDEV_INTERLEAVE << cfi->cfiq->MaxBufWriteSize;//根据芯片决定buf大小 int ret = 0; int chipnum; unsigned long ofs; /* code derived from...
各位大侠: 我在编译mtd时出现了问题,老是提示 No rule to make target `modules'. Stop. 我先后用了mtd-snapshot-20050510以及 mtd-snapshot-20020731 都是出现了这个问题,想请问我这到底是什么问题呢,我用的是arm-linux-2.4.19 kernel 错误如下:烦请那位高人指点:谢谢 [root@804Lab mtd]# make make -C /home/bblq/linux-2.4.19 SUBDIRS=/home/804/mtd/kernel modules make[1]: Entering directory `/home/bblq/lin...
uboot> protect off all Un-Protect Flash Bank # 1 uboot> erase 10000000 1001ffff Erasing sector 0 ... done Erased 1 sectors uboot> loadb 20000000 ## Ready for binary (kermit) download to 0x20000000 at 115200 bps... ## Total Size = 0x00002908 = 10504 Bytes ## Start Addr = 0x20000000 uboot> cp.b 20000000 10000000 5fff Copy to Flash... not erased at 10000016 (800) Flash not Erased Ub...