I am trying to build Torizon with Yocto targeting a Jetson Orin Nano Dev Kit. I am following this blog:
Next I tried to add the layers from here:
And I am planning to build the torizon-docker. Unfortunately the build is failing and I am trying to fix the build errors. In the meantime, any hints? Is that the right approach and expected to work?
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Elias,
Building Torizon for the Jetson Orin Nano Dev Kit using Yocto is indeed a valid approach, though it can be complex. Here are some steps and considerations to help you proceed:
Compatibility Check: Ensure that the layers and configurations you are using are compatible with the Jetson Orin Nano. It’s crucial to use the correct machine configuration for your device.
Manifest and Layers: Use the recommended manifest file, typically torizon/default.xml, from the Toradex manifest repository. This ensures a stable and tested configuration.
TorizonCore Builder: Consider using the TorizonCore Builder tool for customization. This tool allows you to modify Torizon OS images without directly dealing with Yocto, potentially simplifying the process.
Troubleshooting Build Errors:
Logs: Carefully examine the build logs to identify specific errors. They can provide clues about missing dependencies or configuration issues.
Dependencies: Ensure all required dependencies are installed on your build host, as missing packages can cause build failures.
Environment: Verify that your build environment matches the requirements specified by Toradex, including the correct versions of tools and libraries.
Alternative Approaches: If build errors persist, consider using a Docker container for the build process. This can provide a more controlled environment that matches the expected setup.
By following these steps, you should be able to address the build issues and successfully create a Torizon image for your Jetson Orin Nano. Best of luck with your build process!
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem:
Well you have to understand porting a completely new device is quite involved. There’s not really any tips or hints. Especially considering what is needed to port a device to Torizon can be very heavily dependent on the specific hardware and it’s needs.
Also keep in mind meta-toradex-torizon is just an upper Distro layer, it does not provide any of the underlying BSP for the hardware. The BSP for this device itself has to come from elsewhere, which I do see in that blog it does mention the tegra based meta-layers.
We can’t really get any more specific since the hardware here is 3rd-party and not from Toradex. We’re not exactly the experts on this specific hardware.
I’m new to the Torizon community and also very interested in getting the Jetson Orin to work in the platform. I’ll try the tutorials linked above and let you know how far I get.
In an ideal scenario, I would like to get a Jetson + custom carrier board onboarded but let’s first start with the devkit.
Just to understand your goals and use-case. Do you want to run the full Torizon OS on your Jetson Orin hardware? Or do you just want to be able to connect your Jetson Orin to our Torizon Cloud Platform?
This is an experimental way to connect a generic device running any apt-based distro to Torizon Cloud. This should install the base components needed for a device to communicate with the Torizon Cloud Platform. Just keep in mind the experimental aspect, this just means it’s not something we regularly test, and we may or may not choose to invest in this tool going forward. But, if you’re willing to give this a try despite this, then it could be a somewhat easy way to connect your Jetson Orin to our Cloud.
In an ideal world, I would be able to get the complete Torizon OS working on the Jetson Orin.
Thanks for the installation script, I’ll give it a go anyway.
In an ideal world, I would be able to get the complete Torizon OS working on the Jetson Orin.
Thanks for the installation script, I’ll give it a go anyway.
I see. Getting the complete Torizon OS ported on the Jetson Orin would certainly require a more substantial effort. Out of curiosity what aspects of Torizon OS do you most desire for the Jetson Orin?
Since you said you’d like the full OS, I imagine it’s not just the Torizon Cloud Platform aspects, correct?
There’s a number of things that I would like to achieve using Torizon OS:
Operating System + Container updates through the cloud platform
Remote access through the cloud platform
Offline updates using the lockboxes
Immutable read-only OS
Flexibility in OS images by uploading our own (e.g. RT build for x86, custom HW etc.)
…
Yesterday I had a nice intro ( thanks to @drew.tx ) into the platform and OS. The next step for me would be to just invest more time into this and get my Jetson devkit up and running.
I see, thank you for sharing your interests and use-cases with us. It’s good to hear you have a interest in what our platform has to offer. If you have any further questions feel free to reach out to us.