The Documentation for building the 8.2 SDK is outdated and does not work as is in 1.2. Building the SDK
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
The Documentation for building the 8.2 SDK is outdated and does not work as is in 1.2. Building the SDK
The steps have been compiled from other existing E2E responses but I will try to summarize here:
1. Host PC setup:
Ubuntu 18.04
sudo apt-get install build-essential autoconf \ automake bison \ flex libssl-dev bc u-boot-tools \ python diffstat \ texinfo gawk chrpath dos2unix \ wget unzip socat doxygen libc6:i386 \ libncurses5:i386 libstdc++6:i386 \ libz1:i386 g++-multilib \ git python3-distutils python3-apt \ libmpc-dev
By default Ubuntu uses “dash” as the default shell for /bin/sh. You must reconfigure to use bash by running the following command:
sudo dpkg-reconfigure dash
Be sure to select “No” when you are asked to use dash as the default system shell.
2. Download and extract Toolchain
tar xvf gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz
3. Build Steps:
git clone https://git.ti.com/git/arago-project/oe-layersetup.git yocto-build cd yocto-build ./oe-layertool-setup.sh -f configs/processor-sdk-linux/processor-sdk-linux-08_02_01_00.txt
Apply the needed patches: 3581.patches.zip
Make sure to copy the patches to their respective directories or give the full path to the patch when applying.
cd sources/meta-openembedded git am 0001-bridge-utils-switch-from-master-to-main-branch.patch cd ../meta-ti git am 0001-u-boot-ti-Use-SRCPV-instead-of-SRCREV-for-U_BOOT_LOC.patch git am 0002-recipes-kernel-setup-defconfig-Use-SRCPV-to-update-K.patch
Continue build:
cd build echo "INHERIT += \"own-mirrors\"" >> conf/local.conf echo "SOURCE_MIRROR_URL = \"https://software-dl.ti.com/processor-sdk-mirror/sources/\"" >> conf/local.conf . conf/setenv TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=am57xx-evm bitbake -k tisdk-default-image
NOTE: I installed the toolchain in my home directory so the TOOLCHAIN_BASE variable in my case was /home/<user>
Best,
Josue