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.
Part Number: TDA4VMXEVM
Hello,
I've worked recently a lot with yocto/arago for AM65* Sitara plattform. Now I try to move to Jactino 7 plattform. I have a TDA4VMXEVM and had some problems to configure arago in the correct way:
I've followed the steps described in PSDKLA version 06_01_01_02 :
I downloaded and extracted the ARMv7 and ARMv8 toolchain to ~/oe/crosstoolchain.
However, the final command to build the image
TOOLCHAIN_BASE=/home/ewdt/oe/crosstoolchain MACHINE=j7-evm bitbake -k tisdk-rootfs-image
resulted in this error of bitbake:
ERROR: Failed to obtain external Arm toolchain version: Execution of '/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -v' failed: command not found
After a bit of research, I found that TOOLCHAIN_BASE was not set by me, although I've executed the command above.
sources/meta-arago/meta-arago-distro/conf/distro/include/toolchain-linaro.inc:TOOLCHAIN_BASE ?= "/opt"
This include file sets it to "/opt" if it was not set previous.
I fixed the issue finally with adding "TOOLCHAIN_BASE = "/home/ewdt/oe/crosscompiletoolchain" to my build/conf/local.conf but I wonder why it does not work as described in PSDKLA?
Maybe this will help others facing the same problem.
Hi Thomas,
thanks for sharing your findings, I have pinged Yocto experts to look at this.
Regards,
Yordan
Hi Thomas,
This is very strange that the TOOLCHAIN_BASE is not taking effect on the command line. I have double checked again and it works as described on my Ubuntu 18.04 with a bash shell.
Which OS and shell are you using?
Regards
Karthik
Hi Karthik,
I use 18.04.3 LTS (GNU/Linux 4.15.0-76-generic x86_64).
Shell:
ewdt@ewdt-server:~/oe/tda4vmx$ echo $SHELL
/bin/bash
Regards,
Thomas
Hi Thomas,
This is really strange and unexplained behavior.
Can you please review your steps once again and then provide additional logs that can help us to reproduce further?
Regards
Karthik
Hi Karthik,
I built again the linux image with arago and this time it worked as it should with "TOOLCHAIN_BASE=/home/ewdt/oe/crosscompiletoolchain MACHINE=j7-evm bitbake tisdk-rootfs-image".
Unfortunately I did not change anything which could explain that. Only the server rebooted due to a power loss. So thanks for jumping in - I will close this thread.
Regards,
Thomas