Driver for tw6869 pcie card on imx6 quad based board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Driver for tw6869 pcie card on imx6 quad based board

2,175 Views
regangovender
Contributor I


Hi Guys,

I have an imx6 based board from adlink. Its got the imx6-quad processor. I plan on using a tw6869 pcie card to capture a single channel PAL video signal. I'm currently using 3.10.94 kernel which has been customised by adlink for their board. The problem is that this kernel does not have the driver. I've checked linux-2.6-imx.git - Freescale i.MX Linux Tree and I see a driver for tw68 pci cards. I therefore have 2 questions that i hope someone can answer:

1. Will this driver work on the tw6869 card?

2. Can this driver be ported to my kernel(3.10.94)?

Thanks for your time.

Labels (4)
0 Kudos
3 Replies

790 Views
igorpadykov
NXP Employee
NXP Employee

Hi Regan

please look at tw6869 patches:

How to pass DMA buffers from a Driver thru GStreamer 'v4l2src' plugin to Freescale IPU/VPU plugins

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

790 Views
regangovender
Contributor I

Thanks Igor.

I've ported the driver but did not test it as yet. This is because the pcie driver is not picking up this card. It is the avc8000 nano video capturing card based on the tw6869 chip.

My set up is as follows:

avc8000 nano card (mini pcie) plugged into an adaptor(mini pcie to pcie). So i'm using the pcie port on my board.

I've tested 2 other pcie cards on my dev board and linux picks it up. I check using lspci. I've also checked that my pcie adaptor works since if i plug it into a desktop pc windows sees the video capture device.

I'm getting the familiar

[    0.541424] imx6q-pcie 1ffc000.pcie: phy link never came up                 

[    0.541444] imx6q-pcie 1ffc000.pcie: failed to initialize host              

[    1.599886] ehci-pci: EHCI PCI platform driver

So the tw6869 driver doesnt get a chance to run. I've checked the forums but couldn't find anything about avc8000 card issues. Any suggestions?

0 Kudos

790 Views
igorpadykov
NXP Employee
NXP Employee

Hi Regan

I think one can ask vendor of this card for updated driver for L3.14.28 kernel.

Best regards

igor

0 Kudos