<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Other NXP ProductsのトピックGetting errors while porting SE050 on STM32MP1 platform</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1437511#M13615</link>
    <description>&lt;P&gt;Hello NXP-Team,&lt;/P&gt;&lt;P&gt;I am trying to create a recipe to add se050x libraries to my Yocto image for stm32mp157 but without success.&lt;/P&gt;&lt;P&gt;For that, I have downloaded source from NXP &lt;A href="https://www.nxp.com/webapp/Download?colCode=SE-PLUG-TRUST-MW_04.01.01&amp;amp;appType=license" target="_blank" rel="noopener"&gt;EdgeLock SE05x Plug &amp;amp; Trust Middleware (04.01.01)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I followed the steps mentioned in "Secure_chip/simw-top/doc/building/imx6.html" doc from downloaded source itself. The build is working in my x86 Linux machine. But, when I am trying to build the same source in my STM32MP1 Yocto 32bit platform,&amp;nbsp;I was seeing wrong ELF class while loading the shared library libssl.so.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you please provide the recipe or suggest necessary modifications required to work for 32bit platform?&lt;/P&gt;&lt;P&gt;Below are the error logs:&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ERROR: secure-new-1.0-r0 do_compile: Execution of 'jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-new/1.0-r0/temp/run.do_compile.32366' failed with exit code 127:&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;==============&amp;gt; Compiling secure chip source&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;INFO:__main__:Preprocessing jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-jci/recipes-core/secure-new/src/secure-chip/simw-top/ext/open62541/tools/schema/Opc.Ua.NodeSet2.Minimal.xml&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;INFO:__main__:Generating Code for Backend: open62541&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;INFO:__main__:NodeSet generation code successfully printed&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;&lt;EM&gt;cmake: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ELFCLASS32&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;&lt;EM&gt;cmake: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ELFCLASS32&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;&lt;EM&gt;cmake: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ELFCLASS32&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;### Cross compiled for A71CH using SCI2C&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;#cmake -DHostCrypto=OPENSSL -DApplet=A71CH -DHost=iMXLinux -DCMAKE_BUILD_TYPE=Debug -DSMCOM=SCI2C -DCMAKE_TOOLCHAIN_FILE=jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-jci/recipes-core/secure-new/src/secure-chip/simw-top/scripts/../scripts/ToolchainFile_imx6.cmake&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;### Cross compiled for SE05x using T=1 over I2C&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;#cmake -DHostCrypto=OPENSSL -DApplet=SE05X_C -DHost=iMXLinux -DCMAKE_BUILD_TYPE=Debug -DSMCOM=T1oI2C -DCMAKE_TOOLCHAIN_FILE=jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-jci/recipes-core/secure-new/src/secure-chip/simw-top/scripts/../scripts/ToolchainFile_imx6.cmake&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;### JRCP V1 on Linux&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;#cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DApplet=SE05X_C -DCMAKE_ECLIPSE_VERSION="4.5 (Mars)" -DHost=PCLinux64 -DCMAKE_BUILD_TYPE=Debug -DSMCOM=JRCP_V1 -G "Eclipse CDT4 - Unix Makefiles"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;==============&amp;gt; Jumping in build dir imx_cc_se050_t1oi2c&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;==============&amp;gt; Start building&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;cmake: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ELFCLASS32&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;WARNING: exit code 127 from a shell command.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ERROR: Logfile of failure stored in: jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-new/1.0-r0/temp/log.do_compile.32366&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivashankar Thati&lt;/P&gt;</description>
    <pubDate>Fri, 01 Apr 2022 07:52:52 GMT</pubDate>
    <dc:creator>pratik_manvar</dc:creator>
    <dc:date>2022-04-01T07:52:52Z</dc:date>
    <item>
      <title>Getting errors while porting SE050 on STM32MP1 platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1437511#M13615</link>
      <description>&lt;P&gt;Hello NXP-Team,&lt;/P&gt;&lt;P&gt;I am trying to create a recipe to add se050x libraries to my Yocto image for stm32mp157 but without success.&lt;/P&gt;&lt;P&gt;For that, I have downloaded source from NXP &lt;A href="https://www.nxp.com/webapp/Download?colCode=SE-PLUG-TRUST-MW_04.01.01&amp;amp;appType=license" target="_blank" rel="noopener"&gt;EdgeLock SE05x Plug &amp;amp; Trust Middleware (04.01.01)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I followed the steps mentioned in "Secure_chip/simw-top/doc/building/imx6.html" doc from downloaded source itself. The build is working in my x86 Linux machine. But, when I am trying to build the same source in my STM32MP1 Yocto 32bit platform,&amp;nbsp;I was seeing wrong ELF class while loading the shared library libssl.so.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you please provide the recipe or suggest necessary modifications required to work for 32bit platform?&lt;/P&gt;&lt;P&gt;Below are the error logs:&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ERROR: secure-new-1.0-r0 do_compile: Execution of 'jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-new/1.0-r0/temp/run.do_compile.32366' failed with exit code 127:&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;==============&amp;gt; Compiling secure chip source&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;INFO:__main__:Preprocessing jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-jci/recipes-core/secure-new/src/secure-chip/simw-top/ext/open62541/tools/schema/Opc.Ua.NodeSet2.Minimal.xml&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;INFO:__main__:Generating Code for Backend: open62541&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;INFO:__main__:NodeSet generation code successfully printed&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;&lt;EM&gt;cmake: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ELFCLASS32&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;&lt;EM&gt;cmake: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ELFCLASS32&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;&lt;EM&gt;cmake: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ELFCLASS32&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;### Cross compiled for A71CH using SCI2C&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;#cmake -DHostCrypto=OPENSSL -DApplet=A71CH -DHost=iMXLinux -DCMAKE_BUILD_TYPE=Debug -DSMCOM=SCI2C -DCMAKE_TOOLCHAIN_FILE=jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-jci/recipes-core/secure-new/src/secure-chip/simw-top/scripts/../scripts/ToolchainFile_imx6.cmake&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;### Cross compiled for SE05x using T=1 over I2C&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;#cmake -DHostCrypto=OPENSSL -DApplet=SE05X_C -DHost=iMXLinux -DCMAKE_BUILD_TYPE=Debug -DSMCOM=T1oI2C -DCMAKE_TOOLCHAIN_FILE=jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-jci/recipes-core/secure-new/src/secure-chip/simw-top/scripts/../scripts/ToolchainFile_imx6.cmake&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;### JRCP V1 on Linux&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;#cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DApplet=SE05X_C -DCMAKE_ECLIPSE_VERSION="4.5 (Mars)" -DHost=PCLinux64 -DCMAKE_BUILD_TYPE=Debug -DSMCOM=JRCP_V1 -G "Eclipse CDT4 - Unix Makefiles"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;==============&amp;gt; Jumping in build dir imx_cc_se050_t1oi2c&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;==============&amp;gt; Start building&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;cmake: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ELFCLASS32&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;WARNING: exit code 127 from a shell command.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ERROR: Logfile of failure stored in: jci-kt-x/stm32mp1/distribution-package/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-new/1.0-r0/temp/log.do_compile.32366&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivashankar Thati&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 07:52:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1437511#M13615</guid>
      <dc:creator>pratik_manvar</dc:creator>
      <dc:date>2022-04-01T07:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors while porting SE050 on STM32MP1 platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1439550#M13646</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177024"&gt;@pratik_manvar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching to us!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to share your cmake options for a review? You may have it by running the following command from your build area:&lt;/P&gt;
&lt;PRE&gt;cmake -L .&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your patience!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 08:36:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1439550#M13646</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2022-04-06T08:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors while porting SE050 on STM32MP1 platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1439735#M13650</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;These are the commands used in .bb file for compiling and sharing the error logs as well.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;do_compile() {&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;echo "==============&amp;gt; Compiling secure chip source"&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;cd ${OEROOT}/layers/meta-jci/recipes-core/secure-chip/src/secure-chip/simw-top/&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;python3 scripts/create_cmake_projects.py # invoke this only once&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;echo "==============&amp;gt; Jumping in build dir imx_cc_se050_t1oi2c"&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;cd ${OEROOT}/layers/meta-jci/recipes-core/secure-chip/src/secure-chip/simw-top_build/imx_cc_se050_t1oi2c&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;cmake -L&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;make install&lt;BR /&gt;ldconfig /usr/local/lib&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;======&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sharing you the output of&amp;nbsp; cmake -L .Please find the logs below .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- BUILD_TYPE: Debug&lt;BR /&gt;-- Found: /home/pratik/project/jci-kt-x/stm32mp1/distribution-package/stm32mp157f-v5.4-dunfell-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-chip/1.0-r0/recipe-sysroot-native/usr/lib/libssl.so/home/pratik/project/jci-kt-x/stm32mp1/distribution-package/stm32mp157f-v5.4-dunfell-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-chip/1.0-r0/recipe-sysroot-native/usr/lib/libcrypto.so&lt;BR /&gt;-- CMAKE_CXX_COMPILER_ID = GNU&lt;BR /&gt;-- CMAKE_SYSTEM_NAME = Linux&lt;BR /&gt;-- PTMW_SE05X_Auth - None&lt;BR /&gt;-- CMake version: 3.16.5&lt;BR /&gt;-- CMake system name: Linux&lt;BR /&gt;-- Timestamp is 1970-01-01T00:00:00Z&lt;BR /&gt;accessManager is not copied to default binary directory upon install&lt;BR /&gt;-- Configuring done&lt;BR /&gt;-- Generating done&lt;BR /&gt;-- Build files have been written to: /home/pratik/project/jci-kt-x/stm32mp1/distribution-package/stm32mp157f-v5.4-dunfell-20-06-24/layers/meta-jci/recipes-core/secure-chip/src/secure-chip/simw-top_build/imx_cc_se050_t1oi2c&lt;BR /&gt;-- Cache values&lt;BR /&gt;CMAKE_BUILD_TYPE:STRING=Debug&lt;BR /&gt;CMAKE_CXX_COMPILER_ARG1:STRING= -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/pratik/project/jci-kt-x/stm32mp1/distribution-package/stm32mp157f-v5.4-dunfell-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-chip/1.0-r0/recipe-sysroot&lt;BR /&gt;CMAKE_C_COMPILER_ARG1:STRING= -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/pratik/project/jci-kt-x/stm32mp1/distribution-package/stm32mp157f-v5.4-dunfell-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-chip/1.0-r0/recipe-sysroot&lt;BR /&gt;CMAKE_INSTALL_PREFIX:PATH=/usr/local&lt;BR /&gt;LIB_ANL:FILEPATH=/usr/lib32/libanl.so&lt;BR /&gt;NXPInternal:BOOL=OFF&lt;BR /&gt;OPENSSL_ROOT_DIR:PATH=&lt;BR /&gt;PAHO_BUILD_DEB_PACKAGE:BOOL=FALSE&lt;BR /&gt;PAHO_BUILD_DOCUMENTATION:BOOL=FALSE&lt;BR /&gt;PAHO_BUILD_SAMPLES:BOOL=FALSE&lt;BR /&gt;PAHO_BUILD_SHARED:BOOL=FALSE&lt;BR /&gt;PAHO_BUILD_STATIC:BOOL=TRUE&lt;BR /&gt;PAHO_ENABLE_CPACK:BOOL=TRUE&lt;BR /&gt;PAHO_ENABLE_TESTING:BOOL=FALSE&lt;BR /&gt;PAHO_WITH_SSL:BOOL=TRUE&lt;BR /&gt;PTMW_A71CH_AUTH:STRING=None&lt;BR /&gt;PTMW_Applet:STRING=SE05X_C&lt;BR /&gt;PTMW_FIPS:STRING=None&lt;BR /&gt;PTMW_Host:STRING=iMXLinux&lt;BR /&gt;PTMW_HostCrypto:STRING=OPENSSL&lt;BR /&gt;PTMW_Log:STRING=Default&lt;BR /&gt;PTMW_RTOS:STRING=Default&lt;BR /&gt;PTMW_SBL:STRING=None&lt;BR /&gt;PTMW_SCP:STRING=None&lt;BR /&gt;PTMW_SE05X_Auth:STRING=None&lt;BR /&gt;PTMW_SE05X_Ver:STRING=03_XX&lt;BR /&gt;PTMW_SMCOM:STRING=T1oI2C&lt;BR /&gt;PTMW_mbedTLS_ALT:STRING=None&lt;BR /&gt;SSSFTR_SE05X_AES:BOOL=ON&lt;BR /&gt;SSSFTR_SE05X_AuthECKey:BOOL=ON&lt;BR /&gt;SSSFTR_SE05X_AuthSession:BOOL=ON&lt;BR /&gt;SSSFTR_SE05X_CREATE_DELETE_CRYPTOOBJ:BOOL=ON&lt;BR /&gt;SSSFTR_SE05X_ECC:BOOL=ON&lt;BR /&gt;SSSFTR_SE05X_KEY_GET:BOOL=ON&lt;BR /&gt;SSSFTR_SE05X_KEY_SET:BOOL=ON&lt;BR /&gt;SSSFTR_SE05X_RSA:BOOL=ON&lt;BR /&gt;SSSFTR_SW_AES:BOOL=ON&lt;BR /&gt;SSSFTR_SW_ECC:BOOL=ON&lt;BR /&gt;SSSFTR_SW_KEY_GET:BOOL=ON&lt;BR /&gt;SSSFTR_SW_KEY_SET:BOOL=ON&lt;BR /&gt;SSSFTR_SW_RSA:BOOL=ON&lt;BR /&gt;SSSFTR_SW_TESTCOUNTERPART:BOOL=ON&lt;BR /&gt;WithAccessMgr_UnixSocket:BOOL=OFF&lt;BR /&gt;WithCodeCoverage:BOOL=OFF&lt;BR /&gt;WithExtCustomerTPMCode:BOOL=OFF&lt;BR /&gt;WithNXPNFCRdLib:BOOL=OFF&lt;BR /&gt;WithOPCUA_open62541:BOOL=OFF&lt;BR /&gt;WithSharedLIB:BOOL=OFF&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error logs :&lt;/STRONG&gt;&lt;BR /&gt;[ 27%] Built target a7x_utils&lt;BR /&gt;| [ 29%] Built target se05x&lt;BR /&gt;| [ 37%] Built target SSS_APIs&lt;BR /&gt;| /home/pratik/project/jci-kt-x/stm32mp1/distribution-package/stm32mp157f-v5.4-dunfell-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-chip/1.0-r0/recipe-sysroot-native/usr/lib/&lt;STRONG&gt;libssl.so: file not recognized: file format not recognized&lt;/STRONG&gt;&lt;BR /&gt;| collect2: error: ld returned 1 exit status&lt;BR /&gt;| /home/pratik/project/jci-kt-x/stm32mp1/distribution-package/stm32mp157f-v5.4-dunfell-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-chip/1.0-r0/recipe-sysroot-native/usr/lib/libssl.so: file not recognized: file format not recognized&lt;BR /&gt;| collect2: error: ld returned 1 exit status&lt;BR /&gt;| hostlib/hostLib/accessManager/CMakeFiles/accessManager.dir/build.make:132: recipe for target 'bin/accessManager' failed&lt;BR /&gt;| make[2]: *** [bin/accessManager] Error 1&lt;BR /&gt;| hostlib/hostLib/rjct/CMakeFiles/jrcpv1_server.dir/build.make:117: recipe for target 'bin/jrcpv1_server' failed&lt;BR /&gt;| make[2]: *** [bin/jrcpv1_server] Error 1&lt;BR /&gt;| CMakeFiles/Makefile2:1683: recipe for target 'hostlib/hostLib/accessManager/CMakeFiles/accessManager.dir/all' failed&lt;BR /&gt;| make[1]: *** [hostlib/hostLib/accessManager/CMakeFiles/accessManager.dir/all] Error 2&lt;BR /&gt;| make[1]: *** Waiting for unfinished jobs....&lt;BR /&gt;| CMakeFiles/Makefile2:1655: recipe for target 'hostlib/hostLib/rjct/CMakeFiles/jrcpv1_server.dir/all' failed&lt;BR /&gt;| make[1]: *** [hostlib/hostLib/rjct/CMakeFiles/jrcpv1_server.dir/all] Error 2&lt;BR /&gt;| [ 41%] Built target ex_common&lt;BR /&gt;| [ 41%] Linking C shared library libsssapisw.so&lt;BR /&gt;| /home/pratik/project/jci-kt-x/stm32mp1/distribution-package/stm32mp157f-v5.4-dunfell-20-06-24/build-openstlinuxweston-stm32mp1-eval/tmp-glibc/work/stm32mp1_eval-ostl-linux-gnueabi/secure-chip/1.0-r0/recipe-sysroot-native/usr/lib/libssl.so: file not recognized: file format not recognized&lt;BR /&gt;| collect2: error: ld returned 1 exit status&lt;BR /&gt;| sss/CMakeFiles/sssapisw.dir/build.make:420: recipe for target 'sss/libsssapisw.so' failed&lt;BR /&gt;| make[2]: *** [sss/libsssapisw.so] Error 1&lt;BR /&gt;| CMakeFiles/Makefile2:1741: recipe for target 'sss/CMakeFiles/sssapisw.dir/all' failed&lt;BR /&gt;| make[1]: *** [sss/CMakeFiles/sssapisw.dir/all] Error 2&lt;BR /&gt;| Makefile:151: recipe for target 'all' failed&lt;BR /&gt;| make: *** [all] Error 2&lt;BR /&gt;| WARNING: exit code 2 from a shell command.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivashankar Thati&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 13:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1439735#M13650</guid>
      <dc:creator>pratik_manvar</dc:creator>
      <dc:date>2022-04-06T13:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors while porting SE050 on STM32MP1 platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1440277#M13660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177024"&gt;@pratik_manvar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the information!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found the system time had not been updated to the latest, Did you synchronize the time before building?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-- Timestamp is 1970-01-01T00:00:00Z&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please kindly clarify.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 06:38:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1440277#M13660</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2022-04-07T06:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors while porting SE050 on STM32MP1 platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1441803#M13690</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Yes, I have checked the timestamp of my Linux machine using date command and it is showing current time and date.&lt;/P&gt;&lt;P&gt;But, when I build using bitbake, I don't have any idea why it is showing epoch time.&lt;/P&gt;&lt;P&gt;Please help us to build the code .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivashankar Thati&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 06:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1441803#M13690</guid>
      <dc:creator>pratik_manvar</dc:creator>
      <dc:date>2022-04-11T06:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors while porting SE050 on STM32MP1 platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1441937#M13696</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177024"&gt;@pratik_manvar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually it is hard to reproduce this issue here as we have no STM32MP1 platform, but the MW can be built successfully on i.MX platform as well as Raspberry Pi, and we don't use bitbake in the building, so is it possible to build the MW without bitbake from your side? Is the problem still there? Please kindly clarify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 08:30:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1441937#M13696</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2022-04-11T08:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors while porting SE050 on STM32MP1 platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1442486#M13706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, I understand. I guess both &lt;SPAN&gt;i.MX and&amp;nbsp;Raspberry Pi both are 64-bit platforms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Our STM32MP1 platform is 32-bit platform. But, it is trying to build for 64-bit platform.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That's why it is failing to link 32-bit library (libssl.so in our case).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, we are trying to find the flag in CMakeFiles.txt to build to 32-bit platform. Can you please help us to find any way (e.g., some flags in CMakeFiles.txt) to build for 32-bit platform instead of 64-bit platform?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If we are able to find out the way to build for 32-bit platform, we will be able to get rid of this issue I guess.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pratik Manvar&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 07:17:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1442486#M13706</guid>
      <dc:creator>pratik_manvar</dc:creator>
      <dc:date>2022-04-12T07:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors while porting SE050 on STM32MP1 platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1442505#M13707</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177024"&gt;@pratik_manvar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually I am not expertise on cmake, but maybe you can try the solution as mentioned below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/5805874/the-proper-way-of-forcing-a-32-bit-compile-using-cmake" target="_blank"&gt;https://stackoverflow.com/questions/5805874/the-proper-way-of-forcing-a-32-bit-compile-using-cmake&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 07:57:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Getting-errors-while-porting-SE050-on-STM32MP1-platform/m-p/1442505#M13707</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2022-04-12T07:57:04Z</dc:date>
    </item>
  </channel>
</rss>

