Hello @saijanani.tx , @kevin.tx ,
first of all thank you for your support.
I have now an image, build from the source codes (5.x.y Latest Poky based dunfell 3.1 LTS) available:
After compilation the following outputs resp. artifacts are given:
I have chosen the following zipped wic image to program the kernel and the device tree to the target Colibri T20:
Colibri-iMX6_Reference-Minimal-Image.rootfs.wic.gz
Unpacking this package provides to me the following content:
Now relating to the article:
https://developer.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code#tab-t20t30-image
I have copied the zImage from the wic package to the colibri-t20_bin folder of the unpacked Colibri-T20_LXDE-Image_2.8.7 reference image from Toradex.
Note:
The folder in the reference image from Toradex is named colibri-t20_bin and not how it is described in the article colibri-t20.
So is that an issue why it is not working?
Why I have chosen to use the reference image from Toradex to replace its zImage is because there among other things the update.sh script which I can use to update / flash the target.
When I apply this procedure, described on the article above, the target does not boot the kernel indicating
Could not find a valid device tree
However to solve the missing device tree I followed the suggestion described in the next article:
It seems I am missing something here because my kernel does not boot to be able to modify / extend the overlay.txt within a running system.
Or do I have to just copy the overlay.txt and overlay folder from the wic image to the rootfs/boot/ folder of the Toradex reference image.
But in the rootfs/boot/ folder of the Toradex reference image there is a zImage with a symlink inside.
Why are there images with the same file size in /rootfs/boot folder and colibri-t20_bin folder of the Toradex reference image?
Which one is relevant to replace with that one from the wic image?
And do the overlays folder and overlay.txt belong also into the /rootfs/boot/ folder of the reference image of Toradex?
Would you recommend the procedure that I have decided for or is there another way that Toradex suggests?
The same question applies to the format (wic image) that I have picked up for the custom modifications?
In my disscussions with @kevin.tx we have considered a phone call to solve the spi topic.
I would like to ask you if Toradex could support me with a direct phone call in this regard please.
Best Regards & Thank you in advance
Armin