Hello, I am a bit new to recompiling Linux so bare with me on this.
I have a Solidrun i.MX8M Plus SOM (on a HummingBoard Pulse SBC) and a geekworm C779 HDMI to CSI-2 Module (Toshiba TC358743XBG chip)
https://www.solid-run.com/embedded-industrial-iot/nxp-i-mx8-family/hummingboard-m/#pulse
https://wiki.geekworm.com/C779
All I'm trying to do right now is make the CSI input coming from the HDMI to CSI module display on the screen (HDMI output)
Solidrun already has board support packages for Yocto and Debian (and a few others).
https://github.com/SolidRun/meta-solidrun-arm-imx8/tree/hardknott-imx8mp
I am currently headed down the Yocto path, trying to use the current board support package that is provided for this dev board. I have already tested the precompiled binaries for this board, they work. However, they do not include support for the Toshiba TC358743XBG chip.
This leads into my 2 problems:
1. I cannot compile Yocto given Solidrun's instructions without it failing.
2. I'm unsure about the device tree modification to get this device supported on my build
1. Compiling Yocto
I followed all of Solidrun's instructions above and continue to get the compiling error.
ERROR: qtdeclarative-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch: Fetcher failure: Unable to find revision 104eae5b17b0ec700391e9539ee3a4f638588194 in branch 5.15.2 even from upstream
I found this forum post describing the same issue, however there was no clear solution listed.
https://community.nxp.com/t5/i-MX-Processors/7ulp-imx-yocto-L5-10-52-2-1-0-build/m-p/1568785#M198656
2. Modifying the Device Tree
From what I have gathered, the way that bitbake (the compiler that I was instructed to use in Solidrun's docs) works, is that you make a patch file, that is effectively a diff between the kernel source and your target code. If this is correct, I believe that I have to make a .patch file that includes the modifications to the device tree and save it into the one of the build directories that contain patches (not sure if I need to do more here).
https://community.nxp.com/t5/i-MX-Processors/imx8mm-mipi-csi-capture-with-tc358743-hdmi-gt-mipi-not-...
I did find this post where someone seems to have modified the device tree as to enable the TC358743 using the pre-existing drivers included in the 5.10.x kernel. Do I simply need to make a patch file that describes the addition of these lines to the device tree file? Is there something else going on here I need to know about?
Bringing it back to a high level
Does all of this make sense for what I am trying to do? If I am making extra work for myself by taking this approach, please let me know. If you know of a more foolproof way, please let me know. Thank you for your assistance.