Has anybody ported the RPI V2 Camera to TDA4VM ? Would love to have the driver for it.
Part Number: TDA4VM
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TDA4VM
Has anybody ported the RPI V2 Camera to TDA4VM ? Would love to have the driver for it.
We do have IMX219 working on the Edge AI Kit. The patches are still in review. Once they are in a good enough shape, they should hit the ti-linux-kernel repo soon.
Pratyush Yadav
I really need the current patch, maybe I would moifiy it, but need to see the structure of it..
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/Add_2D00_DT_2D00_overalys_2D00_for_2D00_OV5640_2D00_and_2D00_RPi_2D00_Camera_2D00_V2.1.patch
This patch series shows how to add DT nodes for OV5640 (MIPI port) and IMX219 (RPi port) sensors. No driver changes should be needed as long as you are on SDK 8.0 or above.
Please do note that this is work in progress and might change by the time it goes into the official repo. Use it as a reference only. It is not possible for me to provide support/help on WIP code. I would suggest you wait till the feature hits a SDK release before using it.
Thanks so much for your help!. Really apperciate that. The patch actually has some git commands, would you provide please the original patch without git diff ?
Another question,
How would I apply the patch ?
How would I use it ?
I'm very beginner please help :).
Those "git commands" are needed. You can use git am --3-way <patch file> to apply the patches. Then build the kernel and dts, connect the camera, and boot. You should see a /dev/video0 node populate.
Where can I find the git repository so that I can download it ? so that I download it, and do your git am --e-way and the patch, then I recompile the kernel right ?
For the driver, should I use single camera app and it would work out of the box ? do I need to change anything to make it work for RPI ?
Many Thanks!!
Would you elaborate more about that comment """
Both MIPI and RPi connectors are connected to the CSI2 interface. A mux
select should be set to high to select the RPi connector. So add a node
to set the mux select pin to high.
Add node for the I2C switch through which the camera sensors shall be
configured.
Add IMX219 camera nodes as a child node to the I2C switch.
Add endpoint nodes between RPi cameras and CSI2RX. """
How would I use in software APP to configure the MUX and I2C ? What code should I write please :)?
You don't need to configure the Mux or I2C. The patches do it for you already. The camera should be good to use once you have these patches applied.
So you are saying I have to have that configuration too ? to have a mux and I2C circuit ?
How sinple app camera vision or multi camera needs to be changed to let the patch work ? should I write driver for IMX219 for camera like iss_sensor_imx390?