This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Cross-Compiled mtd-utils not working

Other Parts Discussed in Thread: DM3730

Hello,


I have cross compiled mtd-utils for DM3730

I followed the instruction available at http://processors.wiki.ti.com/index.php/MTD_Utilities#MTD-Utils_Compilation and used arm-none-linux-gnueabi instead of arm-arago-linux-gnueabi

It builds successfully but after

make install  DESTDIR=/home/user/mtd/install

the binaries in sbin folder is not working on the target machine.

For example i copied flash_erase to the target : adb push flash_erase /
Then i execute it with : adb shell ./flash_erase
It show the following error:
flash_erase: not found

I have also tried it after changing its permission but still gives the same error.

the properties for flash_erase are as show below:
flash_erase: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

Please Help!
Thanks

Please Help.