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.

SK-TDA4VM: running build command with SDK not working

Part Number: SK-TDA4VM


Hi I'm following these instructions from the SDK and i initially was successful in doing the build. But now having reset my machine no dice. And my notes aren't great Confounded

downloads.ti.com/.../Overview_Building_the_SDK.html

I can do the following part no problem. In chapter 1.1.4. Build a simple helloworld file.

instructions command.

host# <SDK INSTALL DIR>/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/${TOOLCHAIN_PREFIX}gcc helloworld.c -o helloworld

What i launch

Simple file build works:

 

  1. source linux-devkit/environment-setup
  2. navigate to source file helloworld.c
  3. linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-none-linux-gnu-gcc-9.2.1 helloworld.c -o helloworld

But when it comes to the full build it complains. See below.

Here are the steps i follow.

./oe-layertool-setup.sh -f configs/processor-sdk-linux/processor-sdk-linux-<version>.txt
cd build
echo "ARAGO_BRAND = \"psdkla\"" >> conf/local.conf
echo "DISTRO_FEATURES_append = \" virtualization\"" >> conf/local.conf
. conf/setenv
TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=<machine> bitbake -k tisdk-default-image

Here are the results.

[linux-devkit]:~/ti-processor-sdk-linux-j7-evm-08_06_01_03/yocto-build/build> TOOLCHAIN_BASE= /home/addupuis/ti-processor-sdk-linux-j7-evm-08_06_01_03/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc-9.2.1 MACHINE=j7-evm bitbake -k tisdk-default-image
aarch64-none-linux-gnu-gcc-9.2.1: error: MACHINE=j7-evm: No such file or directory
aarch64-none-linux-gnu-gcc-9.2.1: error: bitbake: No such file or directory
aarch64-none-linux-gnu-gcc-9.2.1: error: tisdk-default-image: No such file or directory
aarch64-none-linux-gnu-gcc-9.2.1: error: unrecognized command line option ‘-k’
aarch64-none-linux-gnu-gcc-9.2.1: fatal error: no input files
compilation terminated.
[linux-devkit]:~/ti-processor-sdk-linux-j7-evm-08_06_01_03/yocto-build/build>

Not sure what I'm doing wrong from the last time...

cheers,

Adam