unable to run "flash_eraseall" on ARM target!!!
Murali N
nalajala.murali at gmail.com
Tue May 4 08:28:58 EDT 2010
yes, permissions are clearly set.
-rwxrwxrwx root root 17189 2010-05-04 11:03 flash_eraseall
On Tue, May 4, 2010 at 5:14 PM, Ricard Wanderlof
<ricard.wanderlof at axis.com> wrote:
>
> 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
>
--
Regards,
Murali N
More information about the linux-mtd
mailing list