unable to run "flash_eraseall" on ARM target!!!

Ricard Wanderlof ricard.wanderlof at axis.com
Tue May 4 07:44:35 EDT 2010


On Tue, 4 May 2010, Murali N wrote:

> Hi,
> i have compiled the mtd-utils for android using arm-eabi-4.4.0 tool chain.
> I tried erasing the flash using "flash_eraseall" on target but i am
> getting the below errors!!!
>
> # sh ./flash_eraseall
>     sh ./flash_eraseall
>     ./flash_eraseall: 1: Syntax error: word unexpected (expecting ")")
> # ./flash_eraseall
>    ./flash_eraseall
>    ./flash_eraseall: not found
> # sh /data/flash_eraseall
>    sh /data/flash_eraseall
>    /data/flash_eraseall: 1: Syntax error: word unexpected (expecting ")")
> #
>
> Why "flash_eraseall" was not found? i am running from the same
> directory where i have copied.

Have you made flash_eraseall executable? Looks like you've just copied it 
without doing   chmod +x flash_eraseall  afterwards.

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30



More information about the linux-mtd mailing list