Other Parts Discussed in Thread: MMWAVE-L-SDK
Tool/software:
Hi,
we are using CCS on Linux to compile our firmware for the IWRL6432. While generating the boot image, we have encountered a few problems:
- The makefile calls the out2rprc binary (linux bin without .exe suffix). This binary does not exist, only the .exe exists in the current SDK version. This problem can be solved by creating bash file which calls the .exe with mono:
mono PATH_TO_SDK/MMWAVE_L_SDK_05_05_02_00/tools/boot/out2rprc/out2rprc.exe "$@"
- While all the other binaries called by the makefile dynamically get a .exe suffix appended to their name depending on the operating system, the Integrity_generator does not, the call is hardcoded in the makefile as Integrity_generator.exe, although a linux binary does exist in the SDK. This can be solved by just changing the binary name in the makefile or symlinking from the .exe file to the linux binary.
- The Integrity_generator binary does not seem to work. When executed by CCS or via the CLI it throws
Traceback (most recent call last): File "Integrity_generator.py", line 113, in <module> File "Integrity_generator.py", line 33, in generate_integrity_image File "Crypto/Protocol/KDF.py", line 322, in HKDF File "Crypto/Hash/HMAC.py", line 213, in new File "Crypto/Hash/HMAC.py", line 86, in __init__ File "Crypto/Hash/SHA512.py", line 177, in new File "Crypto/Hash/SHA512.py", line 85, in __init__ File "ctypes/__init__.py", line 387, in __getattr__ File "ctypes/__init__.py", line 392, in __getitem__ AttributeError: /tmp/_MEIs5UGxd/Crypto/Util/../Hash/_SHA512.cpython-310-x86_64-linux-gnu.so: undefined symbol: SHA512_init
I recognize that this is a packed python executable. Since we appear to be the only ones with this problem, it may be specific to the Linux binary.
We are currently circumventing the problem with the Integrity_generator by deactivating the auth boot file generation in the makefile not using auth boot. But in the future we may want to use this feature, so it would be nice to find a solution to generate auth boot files on Linux.