Install TorizonCore Builder file not found error (when working with device tree overlays)

Module: Colibri iMX6DL 512MB IT v1.1B
Carrier Board: Colibri Evaluation Board v3.2B
OS TorizonCore Upstream 5.6.0-devel-202202+build.21

Hi,

Very new to Torizon, Linux and such…

Attempting to work with device tree overlays to enable my SPI bus on my Evaluation Board.

I managed to download the TorizonCore builder script file from GitHub according to instructions here:

$ mkdir ~/tcbworkdir
$ cd ~/tcbworkdir
$ wget https://raw.githubusercontent.com/toradex/tcb-env-setup/master/tcb-env-setup.sh
$ source tcb-env-setup.sh

but the last line doesn’t work. I get a file not found error.

colibri-imx6-10866289:~/tcbworkdir$ pwd
/home/torizon/tcbworkdir
colibri-imx6-10866289:~/tcbworkdir$ ls
tcb-env-setup.sh
colibri-imx6-10866289:~/tcbworkdir$ source tcb-env-setup.sh -h
-sh: source: tcb-env-setup.sh: file not found
colibri-imx6-10866289:~/tcbworkdir$

Can someone please help me to debug this? Is there a way to step through the script file so I can see where it crashes for example?

Thanks!

Found that the command

$ source ./tcb-env-setup.sh

did not give the error anymore, see below:

colibri-imx6-10866289:~/tcbworkdir$ source tcb-env-setup.sh
-sh: source: tcb-env-setup.sh: file not found
colibri-imx6-10866289:~/tcbworkdir$ bash source tcb-env-setup.sh
bash: source: No such file or directory
colibri-imx6-10866289:~/tcbworkdir$ source ./tcb-env-setup.sh
TorizonCore Builder is not installed. Pulling the latest version from Docker Hub...
Setting up TorizonCore Builder with version 3.

Pulling TorizonCore Builder...
3: Pulling from torizon/torizoncore-builder
no matching manifest for linux/arm/v7 in the manifest list entries
Error: could not pull TorizonCore Builder from Docker Hub!

Now the new question is: why couldn’t it pull this?

Greetings @leighjboyd,

I can see you’re trying to run TorizonCore Builder on the Colibri i.MX6 device. You’re suppose to run it on your development PC not on the target module. As seen by the error message no matching manifest for linux/arm/v7 in the manifest list entries. There are no arm32/v7 versions of this tool.

Best Regards,
Jeremias

OOOh.
Didn’t think of that…
I should pay more attention to the command prompts:

  • ‘$’ means local machine
  • ‘#’ means target.

Gets me every time…

working now… Thanks!!!

Glad I could help clarify.