I have been working on an imx8 mini and tried to modify DT with Ubuntu 20.4, I modified DT for TorizonCore 5, but I want to redo it for TorizonCore 6.
first I create tcbdir images and output_directory
then setup scrip like here
on the image folder I checkout device-trees and I changed and disable QSPI and PWM(I did it for TorizonCore5) on the imx8mm-verdin-dev.dtsi file but agter bulding the image, still I can not see any changes.
here is my yaml file. tcbuild.yaml (4.6 KB)
I would be really appreciate if you can help me.
From the first image you showed apparently the custom image you created with TorizonCore Builder is present on OSTree, but it is in a pending state. This state indicates that the OSTree commit is ready to be activated, meaning that a reboot should do the trick.
Keep in mind that in TorizonCore you should always reboot the module after doing an OS update in order for it to be activated. If you deployed your image via torizoncore-builder deploy there’s a --reboot parameter that does this for you automatically.
Did you reboot the module after deploying the custom image to your SoM? Try doing that and see if your changes are applied.
frowning: i @lucas_a.tx ,
thanks for your quick reply,
yes I added . torizoncore-builder deploy --remote-host 10.50.49.108 --remote-username torizon --remote-password 1 --reboot
As far as I understand, the files are protected and I can not change them without sudo’s power, and if I checkout DT in output_directory I can confirm that nothing changed.
I did reboot and nothing happen. Also I tried to recheck with TorizonCore 5 and everything back to normal, the issue is related to torizonCore 6 and I should have it because I need to use LAN7850 driver.
Another clue is that I am able to change parameters when using TorizonCore 5, but when using TorizonCore 6, I am unable to save changes. For instance, when attempting to save changes to line 42, I added a backslash , but was unable to save the file
Another clue is that I am able to change parameters when using TorizonCore 5, but when using TorizonCore 6, I am unable to save changes. For instance, when attempting to save changes to line 42, I added a backslash , but was unable to save the file
That is strange. You can try to delete the device-trees directory then create it again with dt checkout to see if the permission issues are solved, though I suggest not using this directory for a custom TorizonCore 6 image, as I explain below.
I took a look at your tcbuild.yaml and it looks like you’re using the device-trees directory generated from torizoncore-builder dt checkout. Keep in mind that for TorizonCore 6 you shouldn’t use this directory to apply device trees or device tree overlays, at least not at the moment, as referenced in section Device Tree from this article: TorizonCore Builder Tool - Customizing Torizon OS Images | Toradex Developer Center
You’ll have to grab the Device Tree sources directly from Toradex’s kernel repository. To do this follow the instructions from the article referenced above to clone the correct device trees for TorizonCore 6 and for your SoM. Try applying your changes in these sources and see if it works for you.