Hi,
I want to take video from analog camera(ahd) with NVP6124 and display it on HDMI. I made the connection of 8bits data to CSI port (OV5642 connected side) and communication via I2C seems OK that i tested it with i2cdump and i2cdetect commands.
So my question is how can i handle this video input, is there any driver for that? Actually video input is 1080p but i just wanna start with taking digital output of BT656 8bits.
Cheers,
Umit.
Hello Umit,
For OV5647 there is a driver in Linux BSP, for NVP6124 is not, you have to do it, but this link show how others are working with:
https://community.nxp.com/thread/488351
Regards
Hi,
I found a similar driver and updated then put it to "drivers/media/i2c" where is different from FSL's capture folder "drivers/media/platfrom/mxc/capture". I built it as module then execute it in rootfs:
# modprobe nvp6124.ko
nvp6124 0-0030: chip found @ 0x30 (21a0000.i2c)
Chip id : 86
nvp6124b_system_init
ch 0 setted to 1080P PAL
nvp6124 rev_id:0nvp6124b_set_portmode portsel 0 portmode 3 setting
ch 1 setted to 1080P PAL
nvp6124 rev_id:0nvp6124b_set_portmode portsel 1 portmode 3 setting
ch 2 setted to 1080P PAL
nvp6124 rev_id:0nvp6124b_set_portmode portsel 2 portmode 3 setting
ch 3 setted to 1080P PAL
nvp6124 rev_id:0nvp6124b_set_portmode portsel 3 portmode 3 setting
nvp6124 0-0030: nvp6124 0-0030 sensor driver registered !!
But problem is I cannot still see the /dev/video0, these are the outputs of ctl:
# media-ctl --get-v4l2 "'nvp6124 0-0030':0"
Failed to enumerate /dev/media0 (-2)
# v4l2-ctl --list-devices
DISP3 BG ():
/dev/video16
/dev/video17
/dev/video18
/dev/video19
Cannot open device /dev/video0, exiting.
There should be something like in below but i cannot see.
> [ 2.521600] imx-media: imx6-mipi-csi2:1 -> ipu1_csi0_mux:0
> [ 2.530561] imx-media: ov5640 2-003c:0 -> imx6-mipi-csi2:0
> [ 2.536094] imx-media: ipu2_csi1:1 -> ipu2_ic_prp:0
> [ 2.541052] imx-media: ipu2_csi1:1 -> ipu2_vdic:0
> [ 2.545801] imx-media: ipu2_csi1_mux:2 -> ipu2_csi1:0
> [ 2.550932] imx-media: ipu2_csi0:1 -> ipu2_ic_prp:0
> [ 2.555837] imx-media: ipu2_csi0:1 -> ipu2_vdic:0
Is there any sample driver or something for IMX6 of any chip of NVP6xxx?
Have i really need to write a driver under FSL's mxc folder? Cause i see that Adv7180 is also implemented in MXC folder by freescale.
There should be another way of manipulating I2C com of OV5642 or Adv7180 in MXC folder so i just see that video0 is register to dev. I assume that NVP6124B sends default video on its output without setting any of its registers.
Cheers,
Umit.