Use TorizonCore Builder to customize Device Tree for Torizon OS 7

I know that Torizon OS 7 is under development, so it’s not stable at all, and the development team has been working hard on it.
I started my test on the first monthly, as I explained here and so I can provide my first feedback.

Is it already possible using TorizonCore Builder to customize Device Tree for Torizon OS 7?
I would imagine that the following steps should be updated to follow a different branch ( toradex_6.6-2.0.x-imx instead of toradex_5.15-2.2.x-imx ?)

Thanks in advance

Greetings @vix,

As of now, I see no reason device tree customization should not work for 7.X. All TorizonCore Builder does is take a source file and compile it essentially. This “shouldn’t” be specific to OS version, assuming you cloned the correct kernel sources for 7.X.

All that said, we’re still reviewing and testing things for 7.X. So I can’t say for 100% certainty that it will work currently, since we haven’t gotten everything validated yet.

Best Regards,
Jeremias

Hi @vix !

From what I can see, your question was answered by @jeremias.tx’s message.

Is there anything else needed?

If not, could you please mark his message as the solution?

Thanks!

Best regards,

I haven’t tried yet.
Can I specify a major version of 7 for Torizon in tcbuild.yaml, as below?

 easy-installer:
    toradex-feed:
      version: "7.0.0"

Or this is not supported yet and I should point directly to the link of the integration feeds?

Moreover, which branch of git://git.toradex.com/linux-toradex.git and git://git.toradex.com/device-tree-overlays.git should I use for Torizon OS 7?
Is toradex_6.6-2.0.x-imx for both of them?

Hi @vix!

AFAIK, for NXP-downstream-based kernel, indeed it should be toradex_6.6-2.0.x-imx for both linux-toradex and device-tree-overlays repositories.

@jeremias.tx , could you please confirm? :slight_smile:

Best regards,

Can I specify a major version of 7 for Torizon in tcbuild.yaml, as below?

This is currently not supported yet via the toradex-feed field. You should either provide a direct link or a local file for the input image on 7.X.

Moreover, which branch of git://git.toradex.com/linux-toradex.git and git://git.toradex.com/device-tree-overlays.git should I use for Torizon OS 7?
Is toradex_6.6-2.0.x-imx for both of them?

That should be correct.

Best Regards,
Jeremias

Hi @vix !

Did you have time to check @jeremias.tx’s answer?

Please let us know how it goes on your side.

Best regards,

Not yet.
I have on my to-do list.

Hi @henrique.tx and @jeremias.tx

I’ve been able to compile my custom OS based on Torizon OS 7.
I used branch toradex_6.6-2.0.x-imx both for git://git.toradex.com/linux-toradex.git and git://git.toradex.com/device-tree-overlays.git

I noticed that now in linux-toradex.git repo there is a new branch toradex_6.6-2.1.x-imx that doesn’t exist in device-tree-overlays repo.
For this reason I used toradex_6.6-2.0.x-imx branch for both of the repos.

My custom OS can be built, but then it doesn’t work as expected.
The biggest issue is that rpmsg doesn’t work.
But I’m going to open a different topic for this.

Hi @vix!

That’s a good point. We are checking it and we will get back to you on this.

Best regards,

Hi @vix !

I was informed that toradex_6.6-2.1.x-imx is still not ready to be used, so you did good by sticking with toradex_6.6-2.0.x-imx. We can actually see that from Release Matrix - Kernel/U-Boot Version | Toradex Developer Center.

Since you could build the OS and you will create a new topic for the RPMsg subject, please let us know if this topic is solved.

Best regards,

I’ve just seen that branch toradex_6.6-2.1.x-imx is now available in https://git.toradex.com/cgit/device-tree-overlays.git/log/?h=toradex_6.6-2.1.x-imx.
Can I use this branch now to build Torizon OS 7?
Or should I stay on toradex_6.6-2.0.x-imx?

Based on the answer here, now toradex_6.6-2.0.x-imx is the branch to be used to build Torizon OS 7.