cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
683 Views
Registered: ‎09-06-2019

VTC Compatible drivers

Jump to solution

Here seems to be various drivers available for tyhe VTC. Which one should be used if we are implementing our design in 2019.1?

1. xlnx,v-tc-6.1

2. xlnx,bridge-v-tc-6.1

3. xlnx,v-tc-5.01.a

Each seem to be valid from reading the documentation but xlnx,v-tc-6.1 causes a kernel panic during boot for my image.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
584 Views
Registered: ‎04-12-2017

Hello @badFITimage 

Following is the latest driver.

https://github.com/Xilinx/linux-xlnx/blob/master/drivers/media/platform/xilinx/xilinx-vtc.c

Meanwhile Petalinux during configuration automatically picks up the kernel driver for VTC as per the tool version. I don't think you will need to do anything special.

When you install tool in the host it downloads latest version of drivers mapped for that version into local memory and during petalinux-config it basically picks up from there. 

Now coming back to your error as mentioned by @watari earlier sharing with us dmesg log would be helpful to comment further.

Just make sure your device tree is proper for VTC as per binding doc under pl.dtsi once project is built.

https://github.com/Xilinx/linux-xlnx/blob/master/Documentation/devicetree/bindings/media/xilinx/xlnx%2Cv-tc.txt

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

5 Replies
Highlighted
Teacher
Teacher
610 Views
Registered: ‎06-16-2013

Hi @badFITimage 

 

Would you share boot log file ?

There is a lot of useful information to debug it...

 

Best regards,

Highlighted
Moderator
Moderator
585 Views
Registered: ‎04-12-2017

Hello @badFITimage 

Following is the latest driver.

https://github.com/Xilinx/linux-xlnx/blob/master/drivers/media/platform/xilinx/xilinx-vtc.c

Meanwhile Petalinux during configuration automatically picks up the kernel driver for VTC as per the tool version. I don't think you will need to do anything special.

When you install tool in the host it downloads latest version of drivers mapped for that version into local memory and during petalinux-config it basically picks up from there. 

Now coming back to your error as mentioned by @watari earlier sharing with us dmesg log would be helpful to comment further.

Just make sure your device tree is proper for VTC as per binding doc under pl.dtsi once project is built.

https://github.com/Xilinx/linux-xlnx/blob/master/Documentation/devicetree/bindings/media/xilinx/xlnx%2Cv-tc.txt

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

Highlighted
Explorer
Explorer
509 Views
Registered: ‎09-06-2019

We are up-to-date with the latest but for whatever reason our kernel panics when probing the VTC with "xlnx,v-tc-6.1" set as the compatible in the device tree. xlnx,v-tc-5.01a probes and successfully moves on. I will grab the boot log.

0 Kudos
Highlighted
Moderator
Moderator
484 Views
Registered: ‎04-12-2017

Hello @badFITimage 

Then in that case going through dmesg logs should help us move forward.

Please share with us your logs. Generated pl.dtsi once petalinux project is built as well as screen shot of VTC IP in your design.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Highlighted
Explorer
Explorer
244 Views
Registered: ‎02-05-2008

It seems xlnx,v-tc-5.01.a to be used for drm or /dev/fb0 and xlnx,v-tc-6.1 to be used for video devices /dev/video0

 

Jothi

0 Kudos