Sorry for the bad reply, the erase size is 0020000 so 128k block size, same as dream/sapphire and others:
BOARD_FLASH_BLOCK_SIZE := 131072 On Fri, Jan 28, 2011 at 2:13 PM, Patrick Jacques < [email protected]> wrote: > cat /proc/mtd > > On Tue, Jan 25, 2011 at 4:45 PM, Фьодор <[email protected]> wrote: > >> >> >> 2011/1/25 Tiago Maluta <[email protected]> >> >> On Mon, Jan 24, 2011 at 4:06 PM, Alexander <[email protected]> wrote: >>> > >>> > alls fine but i dont uderstand where i can get >>> > BOARD_FLASH_BLOCK_SIZE := ?????? >>> > >>> >>> you can log at android terminal (i.e: adb shell) and type >>> # cat /proc/mtd >>> >>> third column "erasesize" refers to blocksize. >>> >>> --tm >>> >>> -- >>> unsubscribe: >>> [email protected]<android-kernel%[email protected]> >>> website: http://groups.google.com/group/android-kernel >>> >> >> 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? >> >> -- >> unsubscribe: >> [email protected]<android-kernel%[email protected]> >> website: http://groups.google.com/group/android-kernel >> > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
