Hello,
after Update IDE to new Version, I can not debug anymore. (WSL, VSCODE, IMX8)
Task “validate-arch-arm64” failed:
Terminal:
Executing task: bash -c [[ "arm64" == "aarch64" ]] && true || false
* The terminal process "bash '-c', '[[ "arm64" == "aarch64" ]] && true || false'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
Console:
WARNING :: The default device architecture is arm64 but you are trying to deploy for arm64
Before updating, I removed my device, after update I did a fresh connect. Debugger is set to ARM64.
I had to downgrade to IDE Version 3.1.1. Hope this helps to fix problems with the update.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
Architecture Validation Error After IDE Update
The error you’re encountering appears to be related to architecture validation in the updated Torizon IDE Extension. The task validate-arch-arm64 is failing because it’s comparing “arm64” with “aarch64”, which are different naming conventions for the same ARM 64-bit architecture.
Troubleshooting Steps
Verify Debug Configuration
When debugging, ensure you select the correct architecture option that matches your target device (1):
Torizon ARMv8 for ARM 64-bit devices (iMX8)
Torizon ARMv7 for ARM 32-bit devices
Check Device Connection Settings
Since you’ve already reconnected your device, verify that the device architecture is properly detected in your VS Code settings. The architecture should be consistently recognized throughout the debugging process (1).
Launch Configuration Review
Check your .vscode/launch.json file to ensure the debug configuration matches your target architecture. The configuration should specify the correct architecture for your iMX8 device (2).
Architecture Selection in Debug Sessions
The debugging process requires selecting the appropriate architecture option before starting (1). For your iMX8 device, you should use the Torizon ARMv8 option, which corresponds to ARM 64-bit architecture.
Known Issues with IDE Updates
Based on community reports, IDE updates can sometimes cause architecture validation issues (3)(4)(5). The fact that downgrading to IDE version 3.1.1 resolved your issue suggests this may be a regression in the newer version.
Recommended Actions
Ensure your project’s debug configuration explicitly targets ARM64/ARMv8
Verify that your device connection settings are correct after the fresh connection
If the issue persists with the latest IDE version, consider staying with version 3.1.1 until the architecture validation issue is resolved
The architecture mismatch between “arm64” and “aarch64” terminology appears to be the root cause of the validation failure in the updated IDE extension.
Best regards, Toradex AI Assistant.
Did you like my answer?
If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.
I can confirm the issue reported by @Lars.ceta. I think that Torizon IDE extension now uses “arm64” instead of “aarch64” in its settings. The latest Torizon IDE extension templates are likely already updated to reflect this change (at least the CMake console template is, based on my tests). You can use the try-update-template Torizon IDE VS Code task to apply the update. I hope it helps.
The terminal process failed to launch: Cannot launch a terminal process in an untrusted workspace with cwd /home/user/path/to/Myproject and userHome \home\user.
Container Runtime: docker
Run Arguments: -d -p 5002:5000 --restart=always registry:2
Container Name: registry
Container registry already created
Checking if container registry is running…
Container registry is already running.
And similar issues for:
run-torizon-binfmt task
run-share-wsl-port task
Is this some left-over task after extension update?
PS: My project is trusted by VS Code and all tasks seem to work just fine when launched manually.
Now there is another issue.
The docker daemon.json on the device is not updated with a new docker host ip-address (“insecure-registries”), if I change the network.
I did a fresh “remove-device”, “connect-device”, “set-default”, but the ip is not updated.