ST-LINK/V2 ID 0000:0000

Ardavast Dayleryan ardavast at noiseoverip.com
Fri Mar 15 18:24:35 CET 2019


Thank you!

I was able to build a working version of gnuk.bin with:
./configure --vidpid=234b:0000 --target=ST_DONGLE
make
CROSS=/home/ardavast/Downloads/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-

The only problem was that just setting the CROSS variable is not enough,
because on line 17 in binary-edit.sh, arm-none-eabi-objdump is called
directly.  So I had to expose it in $PATH, otherwise the build fails
somewhat
silently (exit status 0):

cp -p build/gnuk-no-vidpid.elf build/gnuk.elf
env FILE="build/gnuk.elf" bash put-vid-pid-ver.sh
binary-edit.sh: line 17: arm-none-eabi-objdump: command not found
Offset is
/home/ardavast/Downloads/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-objcopy
-O ihex build/gnuk.elf build/gnuk.hex
/home/ardavast/Downloads/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-objcopy
-O binary build/gnuk.elf build/gnuk.bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnuk-users/attachments/20190315/e183f9b1/attachment.html>


More information about the Gnuk-users mailing list