2011/1/25 Tiago Maluta <tiago.mal...@gmail.com>

> On Mon, Jan 24, 2011 at 4:06 PM, Alexander <nobodyd...@gmail.com> 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: 
> android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com>
> 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: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to