Adding the second MIPI-CSI-2 driver to the PolarFire SoC video kit #515
Unanswered
HarryStevensonHW
asked this question in
Linux drivers for PolarFire Soc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to add a second camera to the MPFS-Video-Kit, but I am unable to configure the V4L2 driver on the Linux side. Here is what I have done so far:
Added the second camera capture logic to the hardware by modifying the H264 Libero project. The first camera was connected to the FIC_1 target bus. I implemented the logic for the second camera exactly the same way as the first camera and connected its output to FIC_0. The design flow completed successfully, and I generated the Mode1 HSS hex file without any issues. I then programmed the bitstream on the fabric and the HSS on the eNVM.
The board booted successfully, but I can only see /dev/video0.
I attempted to build a custom Linux kernel using the guide provided at the following link:
https://github.com/polarfire-soc/meta-polarfire-soc-yocto-bsp
However, it seems that the repo tool is unable to fetch the sources, and I keep getting the following error:
ERROR: mpfs-linux-6.6+gitAUTOINC+56d7964a57-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export
I also tried to manually download the Linux repository and add it to the repo build, but some files in the repository appear to be corrupted and cannot be unzipped or untarred.
I modified the device tree using the guide provided in this link:
https://github.com/linux4microchip/dt-overlay-mchp
Despite my efforts, I am still unable to configure the driver for the second camera in the Linux kernel. I have conducted extensive research but have been unable to find a solution. Could you please provide guidance or point me to proper documentation so I can capture video from both cameras simultaneously?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions