Toradexcore-builder Tool image download issue

I’m trying to get started with the toradexcore-builder tool according to this article: TorizonCore Builder Tool - Customizing TorizonCore Images | Toradex Developer Center. I’m trying to download the image from the target device using " torizoncore-builder images download --remote-host --remote-username --remote-password ", but I get the following error:

An unexpected Exception occured. Please provide the following stack trace to
the Toradex TorizonCore support team:

Traceback (most recent call last):
  File "/builder/torizoncore-builder", line 173, in <module>
  File "/builder/tcbuilder/cli/", line 41, in do_images_download
    images.download_tezi(r_ip, args.remote_username, args.remote_password,
  File "/builder/tcbuilder/backend/", line 91, in download_tezi
    prod, yocto, build_type, build_number, module_name, kernel_type, rt,
UnboundLocalError: local variable 'build_type' referenced before assignment

I tried doing it manually, but then I get another error when I’m at the step that asks me to use the command “isolate” which is: “Unable to get user changes”. So I’m thinking that there may be an issue with torizoncore-builder being able to access the imx6, but I’m not sure.

Greetings @SterlingA,

On the iMX6 device itself can you give me the output of cat /etc/os-release. The tool parses this file to figure out what version of TorizonCore is running on your device, so it can download the correct image. Based on the error it seems the file is not being parsed correctly. So please return the contents of this file on the device so I can review it manually.

Best Regards,

alt text

Sorry for the late reply.


The reason it didn’t work is because you’re not running a TorizonCore OS. You’re running our non-Torizon OS. The TorizonCore Builder tool is only meant to work with the TorizonCore OS.

Best Regards,

Ohh okay, thank you.

Glad I could clarify that.