<?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>topic Re: Linux Kernel for LSDK 21.08: lkmod don't install in QorIQ</title>
    <link>https://community.nxp.com/t5/QorIQ/Linux-Kernel-for-LSDK-21-08-lkmod-don-t-install/m-p/1647815#M11497</link>
    <description>&lt;P&gt;hello family, this repo "&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux" target="_blank" rel="nofollow noopener noreferrer"&gt;https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux&lt;/A&gt;" is not function and I'm having difficulties in building image for OK1028A-C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;repo: cryptodev-linux&lt;BR /&gt;tag = LSDK-18.12&lt;BR /&gt;Cloning into 'cryptodev-linux'...&lt;BR /&gt;fatal: unable to access '&lt;A href="https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux/" target="_blank"&gt;https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux/&lt;/A&gt;': Could not resolve host: source.codeaurora.org&lt;BR /&gt;Makefile:157: recipe for target 'repo_fetch' failed&lt;BR /&gt;make: *** [repo_fetch] Error 128&lt;BR /&gt;make: Leaving directory '/home/forlinx/work/flexbuild/packages/linux'&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 09:16:20 GMT</pubDate>
    <dc:creator>mahonr59</dc:creator>
    <dc:date>2023-05-10T09:16:20Z</dc:date>
    <item>
      <title>Linux Kernel for LSDK 21.08: lkmod don't install</title>
      <link>https://community.nxp.com/t5/QorIQ/Linux-Kernel-for-LSDK-21-08-lkmod-don-t-install/m-p/1507694#M11041</link>
      <description>&lt;P&gt;Hello everyone! This is my first post in the NXP community.&lt;/P&gt;&lt;P&gt;I've been trying for some time to build some crypto modules on the&amp;nbsp;&lt;STRONG&gt;LX2160ARDB&lt;/STRONG&gt; and having trouble compiling and installing the module after compilation.&lt;/P&gt;&lt;P&gt;I had difficulty compiling because of &lt;EM&gt;&lt;STRONG&gt;fixdep&lt;/STRONG&gt;&lt;/EM&gt; and &lt;STRONG&gt;&lt;EM&gt;modpost&lt;/EM&gt;&lt;/STRONG&gt; even though cross-compiling was built on &lt;STRONG&gt;X86_64&lt;/STRONG&gt;. This was later fixed by compiling directly on the board!&lt;/P&gt;&lt;P&gt;Having solved the issue above another issue is found installing with "&lt;STRONG&gt;&lt;EM&gt;sudo make install&lt;/EM&gt;&lt;/STRONG&gt;" it tells me "&lt;EM&gt;&lt;STRONG&gt;modules_install: missing 'System.map&lt;/STRONG&gt;&lt;/EM&gt;" and &lt;STRONG&gt;insmod&lt;/STRONG&gt; reports &lt;STRONG&gt;&lt;EM&gt;invalid parameters&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When trying to put the &lt;STRONG&gt;&lt;EM&gt;cryptodev module&lt;/EM&gt;&lt;/STRONG&gt; into the modules folder manually the &lt;STRONG&gt;dmesg&lt;/STRONG&gt; reports several conflicts and errors.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[11239.510466] cryptodev: Unknown symbol get_user_pages_remote (err -22)
[11239.510483] cryptodev: disagrees about version of symbol kmem_cache_alloc
[11239.510485] cryptodev: Unknown symbol kmem_cache_alloc (err -22)
[11239.510536] cryptodev: disagrees about version of symbol kmalloc_caches
[11239.510538] cryptodev: Unknown symbol kmalloc_caches (err -22)
[11370.492845] cryptodev: disagrees about version of symbol __put_page
[11370.492850] cryptodev: Unknown symbol __put_page (err -22)
[11370.492858] cryptodev: disagrees about version of symbol vmemmap
[11370.492860] cryptodev: Unknown symbol vmemmap (err -22)
[11370.492900] cryptodev: disagrees about version of symbol get_user_pages_remote
[11370.492901] cryptodev: Unknown symbol get_user_pages_remote (err -22)
[11370.492917] cryptodev: disagrees about version of symbol kmem_cache_alloc
[11370.492919] cryptodev: Unknown symbol kmem_cache_alloc (err -22)
[11370.492969] cryptodev: disagrees about version of symbol kmalloc_caches
[11370.492971] cryptodev: Unknown symbol kmalloc_caches (err -22)
[11383.666562] cryptodev: disagrees about version of symbol __put_page
[11383.666568] cryptodev: Unknown symbol __put_page (err -22)
[11383.666575] cryptodev: disagrees about version of symbol vmemmap
[11383.666577] cryptodev: Unknown symbol vmemmap (err -22)
[11383.666616] cryptodev: disagrees about version of symbol get_user_pages_remote
[11383.666618] cryptodev: Unknown symbol get_user_pages_remote (err -22)
[11383.666636] cryptodev: disagrees about version of symbol kmem_cache_alloc
[11383.666637] cryptodev: Unknown symbol kmem_cache_alloc (err -22)
[11383.666686] cryptodev: disagrees about version of symbol kmalloc_caches
[11383.666688] cryptodev: Unknown symbol kmalloc_caches (err -22)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Tested with LSDK21.08 - ubuntu 20.04 and the kernel tested was LK 5.4.47 also LK 5.10.35. Both with the same problem!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 19:04:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Linux-Kernel-for-LSDK-21-08-lkmod-don-t-install/m-p/1507694#M11041</guid>
      <dc:creator>Kassany</dc:creator>
      <dc:date>2022-08-17T19:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Kernel for LSDK 21.08: lkmod don't install</title>
      <link>https://community.nxp.com/t5/QorIQ/Linux-Kernel-for-LSDK-21-08-lkmod-don-t-install/m-p/1510704#M11049</link>
      <description>&lt;P&gt;Please refer to my following procedure to build&amp;nbsp;cryptodev,ko on the target board with LSDK 21.08 software environment.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Download LSDK 21.08 pre-built images and deploy to the target board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Copy Linux Kernel source code&amp;nbsp;flexbuild_lsdk2108/components/linux/linux to the target board in&amp;nbsp;/usr/src and rename linux source code folder as "linux-headers-5.10.35".&lt;/P&gt;&lt;P&gt;Go to&amp;nbsp;/usr/src/linux-headers-5.10.35 folder, run the following commands.&lt;/P&gt;&lt;P&gt;# make oldconfig &amp;amp;&amp;amp; make prepare&lt;/P&gt;&lt;P&gt;# make ARCH=arm64 modules&lt;/P&gt;&lt;P&gt;Go to / folder, download&amp;nbsp;cryptodev-linux source code.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# git clone &lt;A href="https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux" target="_blank"&gt;https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# git checkout -b cryptodev-linux-1.12 cryptodev-linux-1.12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Build&amp;nbsp;and insert module&amp;nbsp;&lt;SPAN&gt;cryptodev.ko without any problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# cd cryptodev-linux&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# make&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# insmod cryptodev.ko&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 07:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Linux-Kernel-for-LSDK-21-08-lkmod-don-t-install/m-p/1510704#M11049</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-08-24T07:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Kernel for LSDK 21.08: lkmod don't install</title>
      <link>https://community.nxp.com/t5/QorIQ/Linux-Kernel-for-LSDK-21-08-lkmod-don-t-install/m-p/1647815#M11497</link>
      <description>&lt;P&gt;hello family, this repo "&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux" target="_blank" rel="nofollow noopener noreferrer"&gt;https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux&lt;/A&gt;" is not function and I'm having difficulties in building image for OK1028A-C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;repo: cryptodev-linux&lt;BR /&gt;tag = LSDK-18.12&lt;BR /&gt;Cloning into 'cryptodev-linux'...&lt;BR /&gt;fatal: unable to access '&lt;A href="https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux/" target="_blank"&gt;https://source.codeaurora.org/external/qoriq/qoriq-components/cryptodev-linux/&lt;/A&gt;': Could not resolve host: source.codeaurora.org&lt;BR /&gt;Makefile:157: recipe for target 'repo_fetch' failed&lt;BR /&gt;make: *** [repo_fetch] Error 128&lt;BR /&gt;make: Leaving directory '/home/forlinx/work/flexbuild/packages/linux'&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 09:16:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/Linux-Kernel-for-LSDK-21-08-lkmod-don-t-install/m-p/1647815#M11497</guid>
      <dc:creator>mahonr59</dc:creator>
      <dc:date>2023-05-10T09:16:20Z</dc:date>
    </item>
  </channel>
</rss>

