You are not logged in.

#26 2015-02-03 21:18:36

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 282

Re: [SOLVED] Program is there, but bash can't find it

Please send me the binaries and I will test them. The best would be "executable_bin_usb" which you didn't get, because application unsimgcr (binary from NXP) can't create an image ready for USB-DFU booting. Can you make it work?

Have you read the README.txt? You have to make unsimgcr executable and your OS has to find it... or if it is in the same folder.

Try unsimgcr like this:

unsimgcr -pd executable_bin

If this does not work, this image is useless for LPC3141, because unsimgcr has to TEA encrypt it.

Last edited by 71GA (2015-02-03 21:27:52)


C, ARM, ARM assembly, HTML, CSS, JS, Linux

Offline

#27 2015-02-03 21:40:34

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: [SOLVED] Program is there, but bash can't find it

unsimgcr tool is independent from gcc toolset. You can either use precompiled or compile it yourself. I even added AUR package for you: https://aur.archlinux.org/packages/unsimgcr/

It compiles/encodes image without a problem:

$ ls -l
-rwxr-xr-x 1 anatol anatol    624 Feb  3 13:37 executable_bin
-rw-r--r-- 1 anatol anatol   3080 Feb  3 13:37 executable_bin_usb
-rwxr-xr-x 1 anatol anatol  40880 Feb  3 13:37 executable_elf


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#28 2023-09-14 00:13:53

Seetharam
Member
Registered: 2023-09-14
Posts: 1

Re: [SOLVED] Program is there, but bash can't find it

I also faced the same problem, but installing libnewlib-dev solved the problem.

Offline

#29 2023-09-14 00:56:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,132

Re: [SOLVED] Program is there, but bash can't find it

Note that you are necroing an 8 year old thread, chances you really have the same issue are slim.

Closing.

Offline

Board footer

Powered by FluxBB