<?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>LayerscapeのトピックRe: LSDK Sec Engine Integration</title>
    <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195232#M7150</link>
    <description>&lt;P&gt;&lt;SPAN&gt;In LSDK 20.04, Kernel module cryptodev.ko is integrated in bootpartition.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please execute the following commands&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ flex-builder -c cryptodev_linux -a arm64&lt;BR /&gt;$ flex-builder -c openssl -a arm64:&lt;BR /&gt;$ flex-builder -i merge-component -a arm64&lt;BR /&gt;$ flex-builder -i mkbootpartition -a arm64&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ flex-builder -i mkrfs -r ubuntu:main&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then run the following command, please note you need to use&amp;nbsp;/dev/mmcblk0(the device name)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_lsdk2004_ubuntu_main_arm64.tgz -d &lt;STRONG&gt;/dev/mmcblk0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2020 07:09:46 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2020-12-08T07:09:46Z</dc:date>
    <item>
      <title>LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1194163#M7130</link>
      <description>&lt;P&gt;Hi, I am trying to integrate cryptodev_linux component. I used the following commands to generate bootpartition.&lt;/P&gt;&lt;P&gt;$ flex-builder -c cryptodev_linux -a arm64&lt;BR /&gt;$ flex-builder -c openssl -a arm64&lt;BR /&gt;$ flex-builder -i merge-component -a arm64:&lt;BR /&gt;$ flex-builder -i mkbootpartition -a arm64&lt;/P&gt;&lt;P&gt;I copied the bootpartition in sd card and used the following command in the kit.&lt;/P&gt;&lt;P&gt;flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_lsdk2004_ubuntu_main_arm64.tgz -d /dev/mmcblk0&lt;/P&gt;&lt;P&gt;when i reboot the kit and run the following command ,&lt;/P&gt;&lt;P&gt;modprobe caamalg&lt;/P&gt;&lt;P&gt;It shows error as&amp;nbsp;&lt;/P&gt;&lt;P&gt;"caamalg not found in modules.dep"&lt;/P&gt;&lt;P&gt;How do i&amp;nbsp; make openssl use sec engine for the operations?? Kindly help.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 06:54:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1194163#M7130</guid>
      <dc:creator>rashmikj</dc:creator>
      <dc:date>2020-12-05T06:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1194528#M7139</link>
      <description>&lt;P&gt;If you want to use "modprobe caamalg", you need to build&amp;nbsp;caamalg as Linux Kernel module when build Linux Kernel image, you need to configure "CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API" as "m" in Linux Kernel configuration file.&lt;/P&gt;
&lt;P&gt;However in the default Linux Kernel configuration file, these SEC related Kernel options have already been configured as built-in mode, so "modprobe caamalg" is not needed.&lt;/P&gt;
&lt;P&gt;# CONFIG_CRYPTO_DEV_MARVELL_CESA is not set&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON=y&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC=y&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC=y&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM=y&lt;BR /&gt;# CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG is not set&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_JR=y&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE=9&lt;BR /&gt;# CONFIG_CRYPTO_DEV_FSL_CAAM_INTC is not set&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API=y&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI=y&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API=y&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API=y&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to use "modprobe cryptodev" for hardware offloading with OpenSSL.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 08:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1194528#M7139</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-12-07T08:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1194619#M7141</link>
      <description>&lt;P&gt;When i use&amp;nbsp;&lt;SPAN&gt;modprobe cryptodev also , I get the same error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Module cryptodev not found in modules.dep&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 10:24:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1194619#M7141</guid>
      <dc:creator>rashmikj</dc:creator>
      <dc:date>2020-12-07T10:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195115#M7146</link>
      <description>&lt;P&gt;Please mount the second SD partition to /mnt, then check whether&amp;nbsp;cryptodev.ko exists in module folder.&lt;/P&gt;
&lt;P&gt;$ mount /dev/mmcblk0p2 /mnt&lt;/P&gt;
&lt;P&gt;root@localhost:~# find /mnt/modules/ -name cryptodev.ko&lt;BR /&gt;/mnt/modules/4.19.90/extra/cryptodev.ko&lt;BR /&gt;/mnt/modules/5.4.3/extra/cryptodev.ko&lt;/P&gt;
&lt;P&gt;If&amp;nbsp;cryptodev.ko exists in the bootpartition, please check whether it exists in the rootfs filesystem.&lt;/P&gt;
&lt;P&gt;root@localhost:~# find / -name cryptodev.ko&lt;BR /&gt;/boot/modules/4.19.90/extra/cryptodev.ko&lt;BR /&gt;/boot/modules/5.4.3/extra/cryptodev.ko&lt;/P&gt;
&lt;P&gt;You could use the pre_built images which could be downloaded as the following.&lt;/P&gt;
&lt;P&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2004/bootpartition_LS_arm64_lts_5.4.tgz" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2004/bootpartition_LS_arm64_lts_5.4.tgz&lt;/A&gt;&lt;BR /&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2004/rootfs_lsdk2004_ubuntu_main_arm64.tgz" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2004/rootfs_lsdk2004_ubuntu_main_arm64.tgz&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 03:39:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195115#M7146</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-12-08T03:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195204#M7149</link>
      <description>&lt;P&gt;I tried the steps suggested by you . I have attached error enclosed.&lt;/P&gt;&lt;P&gt;How do i integrate cryptodev with openssl and create an image as i want it to be part of the image. I tried these steps as suggested by you in one of my pevious query&amp;nbsp;&lt;/P&gt;&lt;P&gt;flex-builder -c cryptodev_linux -a arm64 $&lt;BR /&gt;flex-builder -c openssl -a arm64 $&lt;BR /&gt;flex-builder -i mkrfs -r yocto:tiny $ f&lt;BR /&gt;flex-builder -i merge-component -r yocto:tiny $&lt;BR /&gt;flex-builder -i mklinux -r yocto:tiny $&lt;BR /&gt;flex-builder -i mkfw -m ls1046ardb -b qspi&lt;/P&gt;&lt;P&gt;But still when i type modprobe cryptodev , I get the following error,&lt;/P&gt;&lt;P&gt;Cryptodev not found in modules.dep.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 06:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195204#M7149</guid>
      <dc:creator>rashmikj</dc:creator>
      <dc:date>2020-12-08T06:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195232#M7150</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In LSDK 20.04, Kernel module cryptodev.ko is integrated in bootpartition.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please execute the following commands&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ flex-builder -c cryptodev_linux -a arm64&lt;BR /&gt;$ flex-builder -c openssl -a arm64:&lt;BR /&gt;$ flex-builder -i merge-component -a arm64&lt;BR /&gt;$ flex-builder -i mkbootpartition -a arm64&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ flex-builder -i mkrfs -r ubuntu:main&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then run the following command, please note you need to use&amp;nbsp;/dev/mmcblk0(the device name)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_lsdk2004_ubuntu_main_arm64.tgz -d &lt;STRONG&gt;/dev/mmcblk0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:09:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195232#M7150</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-12-08T07:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195255#M7152</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I tried your previous instruction.&lt;/P&gt;&lt;P&gt;When i enter the following , I get this error&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:root@TinyLinux:/mnt" target="_blank"&gt;root@TinyLinux:/mnt#&lt;/A&gt;&amp;nbsp;/mnt/modules/5.4.3/extra/cryptodev.ko&lt;BR /&gt;-sh: /mnt/modules/5.4.3/extra/cryptodev.ko: Permission denied&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:36:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195255#M7152</guid>
      <dc:creator>rashmikj</dc:creator>
      <dc:date>2020-12-08T07:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195260#M7153</link>
      <description>&lt;P&gt;Please use the above instruction which I posted just now.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:42:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195260#M7153</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-12-08T07:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195386#M7158</link>
      <description>&lt;P&gt;Sorry I couldn't follow . Which Instruction??&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 09:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195386#M7158</guid>
      <dc:creator>rashmikj</dc:creator>
      <dc:date>2020-12-08T09:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195395#M7159</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please execute the following commands&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ flex-builder -c cryptodev_linux -a arm64&lt;BR /&gt;$ flex-builder -c openssl -a arm64:&lt;BR /&gt;$ flex-builder -i merge-component -a arm64&lt;BR /&gt;$ flex-builder -i mkbootpartition -a arm64&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ flex-builder -i mkrfs -r ubuntu:main&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then run the following command, please note you need to use&amp;nbsp;/dev/mmcblk0(the device name)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_lsdk2004_ubuntu_main_arm64.tgz -d&amp;nbsp;&lt;STRONG&gt;/dev/mmcblk0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 09:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195395#M7159</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-12-08T09:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195408#M7160</link>
      <description>&lt;P&gt;Sir ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I executed those instructions. everything worked fine. Now how do i link openssl with cryptodev ?&lt;/P&gt;&lt;P&gt;For that I executed ur previous instruction&lt;/P&gt;&lt;P&gt;root@localhost:~# find /mnt/modules/ -name cryptodev.ko&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:root@TinyLinux:/mnt" target="_blank" rel="nofollow noopener noreferrer"&gt;root@TinyLinux:/mnt#&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;/mnt/modules/5.4.3/extra/cryptodev.ko&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-sh: /mnt/modules/5.4.3/extra/cryptodev.ko: Permission denied&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 09:57:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195408#M7160</guid>
      <dc:creator>rashmikj</dc:creator>
      <dc:date>2020-12-08T09:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK Sec Engine Integration</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195433#M7161</link>
      <description>&lt;P&gt;Thank you. Its working&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 10:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-Sec-Engine-Integration/m-p/1195433#M7161</guid>
      <dc:creator>rashmikj</dc:creator>
      <dc:date>2020-12-08T10:47:34Z</dc:date>
    </item>
  </channel>
</rss>

