<?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: Problem building LSDK 2108 for LS1012ardb</title>
    <link>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1495688#M10940</link>
    <description>&lt;P&gt;Yep, I have been following the instructions. I was on a newer version of Ubuntu and was trying to get it to build with the newer version. I got quite a ways but eventually gave up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using docker to build and that failed as well. Not worth my time trying to get it to work inside docker inside a VM (Ubuntu) inside Windows.&lt;/P&gt;&lt;P&gt;So, then I installed a brand new Ubuntu 20.04 LTS VM, downloaded the LSDK 2108. Followed the instructions to build and got an error about PYTHON not being set. Looked up that problem, installed python-devel package and am now continuing to build.&lt;/P&gt;&lt;P&gt;It is disappointing that there are build errors even when following the build instructions. Seems like the LDSK should be updated to include the python-devel package as a dependency.&lt;/P&gt;&lt;P&gt;Better yet, Maybe update the SDK to support a newer version of Ubuntu LTS (22.04?)&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2022 15:17:51 GMT</pubDate>
    <dc:creator>reginaldstjohn</dc:creator>
    <dc:date>2022-07-26T15:17:51Z</dc:date>
    <item>
      <title>Problem building LSDK 2108 for LS1012ardb</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1492846#M10917</link>
      <description>&lt;P&gt;We have a LS1012ardb demo board. We are experimenting with the LSDK for this board.&amp;nbsp; From a Ubuntu prompt we follow the instructions in the lsdk_build_install.md readme for building. When we try to build we get the following error:&lt;/P&gt;&lt;PRE&gt;Package python3-crypto is not available, but is referred to by another package.&lt;BR /&gt;This may mean that the package is missing, has been obsoleted, or&lt;BR /&gt;is only available from another source&lt;BR /&gt;&lt;BR /&gt;E: Package 'python3-crypto' has no installation candidate&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;If we try to do a apt-get or apt install it can't find that package either.&lt;/P&gt;&lt;P&gt;How do we move forward with this, or any other packages that don't seem to exist anymore?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 22:46:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1492846#M10917</guid>
      <dc:creator>reginaldstjohn</dc:creator>
      <dc:date>2022-07-20T22:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem building LSDK 2108 for LS1012ardb</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1493559#M10920</link>
      <description>&lt;P&gt;So I got past the python problem by finding where it was being included in one of the build scripts and commenting it out. python3-crypto has been replaced with python3-cryptogropy in Ubuntu 22.02 (Jammy)&lt;/P&gt;&lt;P&gt;Then I got a problem that it&lt;FONT size="3"&gt; coul&lt;/FONT&gt;dn't find &lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;"pkg-config-aarch64-linux-gnu". To try to fix this I added an older Ubuntu archive "focal" in the apt sources.list file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Now it is reporting that the toolchain isn't the correct version.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;EM&gt;The existing toolchain version 1.x on this host doesn't work for this release &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Please build on Ubuntu 22.04 host or build in docker (run 'flex-builder docker') to use the verified toolchain version 9.x&lt;/EM&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;I didn't know that this SDK required a specific version of Ubuntu. Didn't see that requirement in the readmes.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 19:34:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1493559#M10920</guid>
      <dc:creator>reginaldstjohn</dc:creator>
      <dc:date>2022-07-21T19:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem building LSDK 2108 for LS1012ardb</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1493735#M10921</link>
      <description>&lt;P&gt;• Ubuntu 20.04 LTS should be installed on the host machine.&lt;BR /&gt;• If this requirement is not fulfilled, see "Emulate Ubuntu 20.04 environment using Docker container" or "Install Ubuntu 20.04&lt;BR /&gt;LTS via WSL (Windows Subsystem for Linux) on Windows 10" in&amp;nbsp;LSDKUG_Rev21.08.pdf&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 03:52:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1493735#M10921</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-07-22T03:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem building LSDK 2108 for LS1012ardb</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1495688#M10940</link>
      <description>&lt;P&gt;Yep, I have been following the instructions. I was on a newer version of Ubuntu and was trying to get it to build with the newer version. I got quite a ways but eventually gave up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using docker to build and that failed as well. Not worth my time trying to get it to work inside docker inside a VM (Ubuntu) inside Windows.&lt;/P&gt;&lt;P&gt;So, then I installed a brand new Ubuntu 20.04 LTS VM, downloaded the LSDK 2108. Followed the instructions to build and got an error about PYTHON not being set. Looked up that problem, installed python-devel package and am now continuing to build.&lt;/P&gt;&lt;P&gt;It is disappointing that there are build errors even when following the build instructions. Seems like the LDSK should be updated to include the python-devel package as a dependency.&lt;/P&gt;&lt;P&gt;Better yet, Maybe update the SDK to support a newer version of Ubuntu LTS (22.04?)&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 15:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1495688#M10940</guid>
      <dc:creator>reginaldstjohn</dc:creator>
      <dc:date>2022-07-26T15:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem building LSDK 2108 for LS1012ardb</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1523847#M11180</link>
      <description>&lt;P&gt;I am using Ubuntu LTS 22.04 and still getting this error. is there a work around ?&lt;/P&gt;&lt;PRE&gt;E: Package 'python3-crypto' has no installation candidate&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 03:23:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1523847#M11180</guid>
      <dc:creator>mayankap</dc:creator>
      <dc:date>2022-09-18T03:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem building LSDK 2108 for LS1012ardb</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1568808#M11508</link>
      <description>&lt;P&gt;I have met the same issue, is it plan to fix in the new version of Ubuntu LTS(22.04)?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 06:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1568808#M11508</guid>
      <dc:creator>rykang</dc:creator>
      <dc:date>2022-12-13T06:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem building LSDK 2108 for LS1012ardb</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1622359#M12095</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I ran into the same issue and found out that the function check_toolchain() in the flex-builder script reads only the 1st digit of the used gcc version. On Ubuntu 22.04 I have arm64 gcc 11.3 while NXP has obviously built/tested with gcc 9. So I changed this meanwhile to accept any aarch64 gcc with version &amp;gt; 9. But I am currently not through with it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 07:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1622359#M12095</guid>
      <dc:creator>Thomas_Sch</dc:creator>
      <dc:date>2023-03-27T07:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem building LSDK 2108 for LS1012ardb</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1645676#M12408</link>
      <description>&lt;P&gt;Ran into all of these same issues starting out native Ubuntu 22.04 and my own docker container running Ubuntu 20.04.&amp;nbsp;&lt;/P&gt;&lt;P&gt;USE THE DOCKERFILE IN THE FLEXBUILD TARBALL. All your problems will be solved.&lt;/P&gt;&lt;P&gt;What I did for a successful build:&lt;/P&gt;&lt;P&gt;1. Download flexbuilder tarball from nxp.com/lsdk&lt;/P&gt;&lt;P&gt;2. Unzip it:&lt;/P&gt;&lt;P&gt;tar xf &amp;lt;downloaded filename&amp;gt;&lt;/P&gt;&lt;P&gt;3. Enter install's docker directory:&lt;/P&gt;&lt;P&gt;cd flexbuild_&amp;lt;version&amp;gt;/docker&lt;/P&gt;&lt;P&gt;4. Create docker image from NXP-provided dockerfile called "nxp-ubuntu":&lt;/P&gt;&lt;P&gt;sudo docker build -t nxp-ubuntu&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Create and start&amp;nbsp; docker container in privileged mode with all linux capabilities (just to make sure there are no permissions issues):&lt;/P&gt;&lt;P&gt;sudo docker run --privileged --cap-add=ALL -it nxp-ubuntu&lt;/P&gt;&lt;P&gt;6. Prompt becomes that of your docker container. Create a workspace:&lt;/P&gt;&lt;P&gt;sudo mkdir /home/workspace&lt;/P&gt;&lt;P&gt;7. Open a host terminal in another window to copy flexbuilder to your container.&lt;/P&gt;&lt;P&gt;sudo docker cp flexbuild_&amp;lt;version&amp;gt;.tgz &amp;lt;docker container ID&amp;gt;:/home/workspace&lt;/P&gt;&lt;P&gt;8. In your container prompt, navigate to workspace:&lt;/P&gt;&lt;P&gt;cd /home/workspace&lt;/P&gt;&lt;P&gt;9. Untar flexbuild:&lt;/P&gt;&lt;P&gt;tar xf flexbuild_&amp;lt;version&amp;gt;.tgz&lt;/P&gt;&lt;P&gt;10. Enter flexbuild directory and setup environment&lt;/P&gt;&lt;P&gt;cd flexbuild_&amp;lt;version&amp;gt;&lt;/P&gt;&lt;P&gt;source setup.env&lt;/P&gt;&lt;P&gt;11. Verify you can use bld command by typing "bld" - usage instructions should be returned.&lt;/P&gt;&lt;P&gt;12. Make all components for the LS1028A RDB&lt;/P&gt;&lt;P&gt;bld -m ls1028ardb&lt;/P&gt;&lt;P&gt;13. Jump for joy, go for a walk, enjoy this reward before you have to interpret more NXP documentation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 17:20:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-building-LSDK-2108-for-LS1012ardb/m-p/1645676#M12408</guid>
      <dc:creator>cmx</dc:creator>
      <dc:date>2023-05-05T17:20:38Z</dc:date>
    </item>
  </channel>
</rss>

