Hi Roland,
I managed to get rid of the incompatibility complaints of OpenSSL 1.1.0l version on my Raspberry (raspbian stretch) and it looks like OpenSSL now works, I tried the openssl_rnd.py script to get random numbers out of the A71CH.
This is a short list of some important things to pay attention on:
- I used SE050-PLUG-TRUST-MW.ZIP version v02.12.00 (refer to the version_info.txt) for my A71CH.
- Adopt the file ./simw-top/hostlib/hostLib/platform/rsp/i2c_a7.c to the right device (not always /dev/i2c-1)
- Pay attention on simw-top/doc/building/rpi3.html and ./simw-top/doc/scripts/cmake_options.html
- Have this versions installed with "apt install ...": cmake cmake-curses-gui cmake-qt-gui libssl-dev (I had no cmake-gui package, only cmake-qt-gui)
- openssl and libssl-dev are version 1.1.01-l (this has to be ensured BEFORE building with cmake, in case of doubt delete the whole build directory ./simw-top_build)
- When you do the step "cmake-gui ." ensure all is default, except this options: Applet=A71CH and SMCOM=SCI2C. Click on configure and generate before leaving the gui and the "cmake --build ." step.
- After build: next steps are "sudo make install" and "sudo ldconfig /usr/local/lib".
- Both works for me: ./simw-top_build/raspbian_native_se050_t1oi2c/bin/A71CHConfigTool and the Python script ./simw-top/sss/plugin/openssl/scripts/openssl_rnd.py
I did not test all scripts, but that is the status that I reached right now.
Best regards,
Markus Feuser