On Tue, Jan 25, 2011 at 9:45 PM, Фьодор <nobodyd...@gmail.com> wrote: > > I know about "erasesize" > > But where i can get definition for > BOARD_FLASH_BLOCK_SIZE > > > # #dev: size erasesize name > # #mtd0: 00180000 00020000 "pds" > # #mtd1: 00060000 00020000 "cid" > # #mtd2: 000a0000 00020000 "logo" > # #mtd3: 00060000 00020000 "misc" > # #mtd4: 00380000 00020000 "boot" > # #mtd5: 00480000 00020000 "recovery" > # #mtd6: 008e0000 00020000 "cdrom" > # #mtd7: 0b260000 00020000 "system" > # #mtd8: 082a0000 00020000 "cache" > # #mtd9: 0ab20000 00020000 "userdata" > # #mtd10: 00200000 00020000 "kpanic" > > This my /proc/mtd > Where is BOARD_FLASH_BLOCK_SIZE? >
On NAND technology an erasure can only be performed on a block basis, this is why the number 0x20000 (128K) refers to your flash block size. --tm -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel