Re: [android-kernel] Motorola Charm

2011-01-29 Thread Фьодор
2011/1/30 Patrick Jacques > Sorry for the bad reply, the erase size is 002 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 < > patr...@kinetic-computing.net> wrote: > >> cat /proc/mtd >> >> On

Re: [android-kernel] Motorola Charm

2011-01-29 Thread Patrick Jacques
Sorry for the bad reply, the erase size is 002 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 < patr...@kinetic-computing.net> wrote: > cat /proc/mtd > > On Tue, Jan 25, 2011 at 4:45 PM, Фьодор wrote:

Re: [android-kernel] Motorola Charm

2011-01-28 Thread Patrick Jacques
cat /proc/mtd On Tue, Jan 25, 2011 at 4:45 PM, Фьодор wrote: > > > 2011/1/25 Tiago Maluta > > On Mon, Jan 24, 2011 at 4:06 PM, Alexander wrote: >> > >> > alls fine but i dont uderstand where i can get >> > BOARD_FLASH_BLOCK_SIZE := ?? >> > >> >> you can log at android terminal (i.e: adb sh

Re: [android-kernel] Motorola Charm

2011-01-27 Thread Tiago Maluta
On Tue, Jan 25, 2011 at 9:45 PM, Фьодор wrote: > > I know about "erasesize" > > But where i can get definition for > BOARD_FLASH_BLOCK_SIZE > > > # #dev:    size   erasesize  name > # #mtd0: 0018 0002 "pds" > # #mtd1: 0006 0002 "cid" > # #mtd2: 000a 0002 "logo" > # #mtd3: 0

Re: [android-kernel] Motorola Charm

2011-01-25 Thread Фьодор
2011/1/25 Tiago Maluta > On Mon, Jan 24, 2011 at 4:06 PM, Alexander 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 blocks

Re: [android-kernel] Motorola Charm

2011-01-25 Thread Tiago Maluta
On Mon, Jan 24, 2011 at 4:06 PM, Alexander 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

[android-kernel] Motorola Charm

2011-01-24 Thread Alexander
Hi, guys. Im trying to backport motorola charm to 2.2. And now im write BoardConfig.mk alls fine but i dont uderstand where i can get BOARD_FLASH_BLOCK_SIZE := ?? With others partitions ok. BOARD_BOOTIMAGE_PARTITION_SIZE := 0x0038 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0048 BOARD_SYSTE