you can create a file [1] as a sysfs entry on your system, create a
android service pooling that information and display to user.
[1] example: you can create a "notifications" file and put printk content.
$ cat /sys/kernel/notifications
YOUR MESSAGE
--tm
On Fri, Oct 28, 2011 at 11:05
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
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