Raspberry Pi5 HDMI to CSI-2 input card based on TC358743
I created this tutorial to help the community enable cheap HDMI to CSI-2 cards like Geekworm C790 based on TC358743 The script intends to automatically detect the media device that keeps changing every boot
sudo nano /boot/firmware/config.txt
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
dtparam=i2c_baudrate=10000
dtparam=i2c_vc=on
camera_auto_detect=0
dtoverlay=vc4-kms-v3d,cma-512
max_framebuffers=2
[all]
dtoverlay=tc358743,4lane=1
dtoverlay=tc358743-audio
Make sure the device is connected to the HDMI IN
bash enablehdmi.sh
The script is fully customizable. You can play with the variable and change the detection resolution.