root@CORONABOREALIS:/home/ti# tar xf ti-processor-sdk-rtos-j721s2-evm-10_01_00_04.tar.gz root@CORONABOREALIS:/home/ti# cd ti-processor-sdk-rtos-j721s2-evm-10_01_00_04 root@CORONABOREALIS:/home/ti/ti-processor-sdk-rtos-j721s2-evm-10_01_00_04# ./sdk_builder/scripts/setup_psdk_rtos.sh Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease Reading package lists... Done j721s2: [dof] Creating/Updating system link to libDOF.so ... j721s2: [glbce] Creating/Updating system link to libApicalSIM.so.1 ... Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'libgraphviz-dev' instead of 'graphviz-dev' Package python3-distutils is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'python3-distutils' has no installation candidate E: Unable to locate package libtinfo5 E: Unable to locate package libc6:i386 E: Unable to locate package libncurses5 Reading package lists... Done Building dependency tree... Done Reading state information... Done unzip is already the newest version (6.0-28ubuntu4.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done build-essential is already the newest version (12.10ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done git is already the newest version (1:2.43.0-1ubuntu7.2). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done curl is already the newest version (8.5.0-2ubuntu10.6). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done Package python3-distutils is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'python3-distutils' has no installation candidate Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libtinfo5 Reading package lists... Done Building dependency tree... Done Reading state information... Done bison is already the newest version (2:3.8.2+dfsg-1build2). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done flex is already the newest version (2.6.4-8.2build1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done swig is already the newest version (4.2.0-2ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done u-boot-tools is already the newest version (2024.01+dfsg-1ubuntu5.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libc6:i386 Reading package lists... Done Building dependency tree... Done Reading state information... Done mono-runtime is already the newest version (6.8.0.105+dfsg-3.6ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done cmake is already the newest version (3.28.3-1build7). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done ninja-build is already the newest version (1.11.1-2). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done pkgconf is already the newest version (1.8.1-2build1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done graphviz is already the newest version (2.42.2-9ubuntu0.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'libgraphviz-dev' instead of 'graphviz-dev' libgraphviz-dev is already the newest version (2.42.2-9ubuntu0.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-pyelftools is already the newest version (0.30-1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libncurses5 Reading package lists... Done Building dependency tree... Done Reading state information... Done file is already the newest version (1:5.45-3build1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-pip is already the newest version (24.0+dfsg-1ubuntu1.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-setuptools is already the newest version (68.1.2-2ubuntu1.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done libprotobuf-dev is already the newest version (3.21.12-8.2ubuntu0.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done protobuf-compiler is already the newest version (3.21.12-8.2ubuntu0.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done libprotoc-dev is already the newest version (3.21.12-8.2ubuntu0.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done libpng-dev is already the newest version (1.6.43-5build1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done libgles2-mesa-dev is already the newest version (24.2.8-1ubuntu1~24.04.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done libgbm-dev is already the newest version (24.2.8-1ubuntu1~24.04.1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done libopenexr-dev is already the newest version (3.1.5-5.1build3). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done autoconf is already the newest version (2.71-3). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done libtool is already the newest version (2.4.7-7build1). 0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. [psdk linux tisdk-adas-image-j721s2-evm.tar.xz] Checking ... [psdk linux tisdk-adas-image-j721s2-evm.tar.xz] Installing files ... [psdk linux tisdk-adas-image-j721s2-evm.tar.xz] Done [psdk linux boot-adas-j721s2-evm.tar.gz] Checking ... [psdk linux boot-adas-j721s2-evm.tar.gz] Installing files ... [psdk linux boot-adas-j721s2-evm.tar.gz] Done [psdk linux toolchain] Installing ... Enter target directory for SDK (default: /opt/arago-2023.10): ./ You are about to install the SDK to "/home/ti/ti-processor-sdk-rtos-j721s2-evm-10_01_00_04/toolchain". Proceed[Y/n]?Y Extracting SDK...done Setting it up...done SDK has been successfully set up and is ready to be used. [psdk linux toolchain] Done /home/ti/ti-processor-sdk-rtos-j721s2-evm-10_01_00_04 export BIOS_VERSION= export XDC_VERSION= export GCC_ARCH64_VERSION=9.2-2019.12 export CGT_C6X_VERSION=8.3.7 export CGT_C7X_VERSION=4.1.0.LTS export CGT_ARM_VERSION= export CGT_ARMLLVM_VERSION=3.2.2.LTS export NDK_VERSION= export NS_VERSION= export SYSCONFIG_VERSION= export SYSCONFIG_BUILD= [ti-cgt-armllvm_3.2.2.LTS] Checking ... [ti-cgt-armllvm_3.2.2.LTS] Done [ti-cgt-c7000_4.1.0.LTS] Checking ... [ti-cgt-c7000_4.1.0.LTS] Done [gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf] Checking ... [gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf] Done [gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf] Checking ... [gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf] Done [protobuf-3.21.12] Checking ... [protobuf-3.21.12] Done [core secdev] Checking ... Cloning into 'core-secdev-k3'... remote: Enumerating objects: 67, done. remote: Counting objects: 100% (67/67), done. remote: Compressing objects: 100% (64/64), done. remote: Total 67 (delta 22), reused 0 (delta 0), pack-reused 0 Receiving objects: 100% (67/67), 60.78 KiB | 6.75 MiB/s, done. Resolving deltas: 100% (22/22), done. [core secdev] Checking ... Done [ATF] Checking ... Cloning into 'trusted-firmware-a'... remote: Counting objects: 2406, done remote: Finding sources: 100% (157570/157570) remote: Total 157570 (delta 92450), reused 135584 (delta 92450) Receiving objects: 100% (157570/157570), 68.18 MiB | 5.73 MiB/s, done. Resolving deltas: 100% (92450/92450), done. Note: switching to '00f1ec6b8740ccd403e641131e294aabacf2a48b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 00f1ec6b8 Merge changes from topic "revert-ti-dm-workaround" into integration v2.10.0-367-g00f1ec6b8 [ATF] Checking ... Done [OPTEE] Checking ... Cloning into 'optee_os'... remote: Enumerating objects: 82845, done. remote: Counting objects: 100% (1303/1303), done. remote: Compressing objects: 100% (577/577), done. remote: Total 82845 (delta 965), reused 727 (delta 726), pack-reused 81542 (from 2) Receiving objects: 100% (82845/82845), 36.73 MiB | 2.26 MiB/s, done. Resolving deltas: 100% (58150/58150), done. Note: switching to '12d7c4ee4642d2d761e39fbcf21a06fb77141dea'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 12d7c4ee4 Update CHANGELOG for 4.2.0 4.2.0 [OPTEE] Checking ... Done [opkg-utils] Checking ... --2025-05-17 10:23:44-- https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/snapshot/opkg-utils-master.tar.gz Resolving git.yoctoproject.org (git.yoctoproject.org)... 38.129.16.151 Connecting to git.yoctoproject.org (git.yoctoproject.org)|38.129.16.151|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://git.yoctoproject.org/opkg-utils/snapshot/opkg-utils-master.tar.gz [following] --2025-05-17 10:23:45-- https://git.yoctoproject.org/opkg-utils/snapshot/opkg-utils-master.tar.gz Reusing existing connection to git.yoctoproject.org:443. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: ‘opkg-utils-master.tar.gz’ opkg-utils-master.tar.gz [ <=> ] 35.89K --.-KB/s in 0.07s 2025-05-17 10:23:45 (540 KB/s) - ‘opkg-utils-master.tar.gz’ saved [36754] [opkg-utils] Done [glm] Checking ... --2025-05-17 10:23:45-- https://github.com/g-truc/glm/releases/download/0.9.8.0/glm-0.9.8.0.zip Resolving github.com (github.com)... 140.82.116.4 Connecting to github.com (github.com)|140.82.116.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/5695275/f8a9f524-781f-11e6-8d42-fb49cc9c429c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250517%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250517T082345Z&X-Amz-Expires=300&X-Amz-Signature=a14b714889dc4c6f36620645e682b4c61d9a788a0a8d84dcd5a38c5d896d5caa&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dglm-0.9.8.0.zip&response-content-type=application%2Foctet-stream [following] --2025-05-17 10:23:46-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/5695275/f8a9f524-781f-11e6-8d42-fb49cc9c429c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250517%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250517T082345Z&X-Amz-Expires=300&X-Amz-Signature=a14b714889dc4c6f36620645e682b4c61d9a788a0a8d84dcd5a38c5d896d5caa&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dglm-0.9.8.0.zip&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 4349363 (4.1M) [application/octet-stream] Saving to: ‘glm-0.9.8.0.zip’ glm-0.9.8.0.zip 100%[=================================================>] 4.15M --.-KB/s in 0.08s 2025-05-17 10:23:47 (49.8 MB/s) - ‘glm-0.9.8.0.zip’ saved [4349363/4349363] [glm] Done [pip] Checking ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2225k 100 2225k 0 0 6106k 0 --:--:-- --:--:-- --:--:-- 6098k error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.12/README.venv for more information. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.12/README.venv for more information. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. [pip] Checking ... Done [pip] Installing dependant python packages ... error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.12/README.venv for more information. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.12/README.venv for more information. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.12/README.venv for more information. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.12/README.venv for more information. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. [pip] Installing dependant python packages ... Done ERROR: The following packages were not installed: python3-distutils libtinfo5 libc6:i386 libncurses5 root@CORONABOREALIS:/home/ti/ti-processor-sdk-rtos-j721s2-evm-10_01_00_04# cd /home/ti/ti-processor-sdk-rtos-j721s2-evm-10_01_00_04/pdk_j721s2_10_01_00_25/packages/ti/build root@CORONABOREALIS:/home/ti/ti-processor-sdk-rtos-j721s2-evm-10_01_00_04/pdk_j721s2_10_01_00_25/packages/ti/build# make -s BOARD=j721s2_evm MMCSD_Baremetal_EMMC_TestApp /home/ti/ti-processor-sdk-rtos-j721s2-evm-10_01_00_04/pdk_j721s2_10_01_00_25/packages/ti/build/makerules/common.mk:365: *** gcc-arm compiler not found. Please refer user guide to download the same. Stop. make: *** [makefile:328: MMCSD_Baremetal_EMMC_TestApp] Error 2 root@CORONABOREALIS:/home/ti/ti-processor-sdk-rtos-j721s2-evm-10_01_00_04/pdk_j721s2_10_01_00_25/packages/ti/build#