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

Murali N nalajala.murali at gmail.com
Tue May 4 07:39:57 EDT 2010


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.

Thanks for your help.



More information about the linux-mtd mailing list