now I am facing with 2 considerations:
1- how should I ensure that my .dtb file is correct?
2- how should I insert the device tree into u-boot if my process is wrong?
I am using :
Colibri imx6dl V1.1A
iris carrier board
linux BSP 6.2
First of all, I’d like to point out that the article that you are referencing to load the dtb file is a legacy way, and also it’s from our developer-archives website. Please follow the webpage https://developer.toradex.com/ for any updated information.
Secondly, the module that you are using supports device tree overlays. So the recommended and easiest way would be to build and deploy device tree overlays. You will find these steps at the end of this document
that you have already been following and also here. Also, here you will find more details regarding device tree overlays on Linux BSPs.
hello again dear Rudhi
thanks a lot for your kind response
as you recommended to me I follow overlayers steps and compile it using “Build Device Tree Overlays from Source Code | Toradex Developer Center”
everything seems to be done correctly and I deploy it using your guideline
im gonna change the device tree but I am not so expert in device tree modification so I need to ensure that my compile process is finished correctly before starting to modify my own dts file
how should I ensure that my colibri-imx6_custom.dtbo that is based on colibri-imx6_hdmi_overlay.dts is correct?
You can simply copy the output (.dtbo, as it is a device tree overlay) into the module, enable it, and test the modification you made. Depending on the modification you made, the test will be different.
As @rudhi.tx said before, you can deploy the .dtbo by following the article below:
Maybe you want to take a look at TorizonCore, which has some nice and easy-to-use tooling (like TorizonCore Builder) to customize your image: