cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
donghoang22017
Observer
Observer
718 Views
Registered: ‎05-02-2019

error when add 2 Video Frame Buffer Read IP core

Jump to solution

Hi, 

Currently I am trying to add 2 Video Frame Buffer Read Ip core in vivado design and it synthesis ok. Then I add 2 following nodes in device tree and using petalinux command to build, which is also ok.

ctrlfbrd: fbrd@0xa2010000 {
compatible = "xlnx,ctrl-fbrd-1.0";
reg = <0x0 0xa2010000 0x0 0x10000>;
reset-gpios = <&gpio 81 1>;
};

ctrlfbrd: fbrd1@0xa2000000 {
compatible = "xlnx,ctrl-fbrd-1.0";
reg = <0x0 0xa2000000 0x0 0x10000>;
reset-gpios = <&gpio 83 1>;
};

But, when I boot my board I get the following error as attachment. I check the driver source (https://github.com/Xilinx/linux-xlnx/blob/master/drivers/staging/xlnx_ctrl_driver/xlnx_frmb.c) and see that it fixed device file name in the source code. Are there any solutions for this?

P/s: this error also occur when I add 2 Video Frame Buffer Write, and 2 Video Processing Subsystem.

Thanks and Best Regards !!!

Tags (1)
155352e8-7ec6-460b-be27-aacd5ce73630.jpeg
0 Kudos
1 Solution

Accepted Solutions
florentw
Moderator
Moderator
591 Views
Registered: ‎11-09-2015

Hi @donghoang22017 

I checked with the development team. The driver you were using is currently limited to 1 pair of video frame buffer read/write. It is developped for the reVISION 8-Stream VCU + CNN Platform.

For the V4L2 driver, this is where you can find the DT bindings

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**

View solution in original post

0 Kudos
5 Replies
florentw
Moderator
Moderator
653 Views
Registered: ‎11-09-2015

Hi @donghoang22017 

How did you choose to use this driver?

The common driver for the video frame buffer is https://github.com/Xilinx/linux-xlnx/blob/master/drivers/dma/xilinx/xilinx_frmbuf.c  which can be used in a v4l2 framework

This is the first time I see the one you are using. I will try to get more info about this


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
donghoang22017
Observer
Observer
609 Views
Registered: ‎05-02-2019
Hi @florentw,
I chose this driver because my friends recommended me. I will try to implement your solutions now :D.
Can you share the common links for Video Processing Subsystem drivers and device tree binding. Thanks !!!
Best Regards,
Dong
0 Kudos
florentw
Moderator
Moderator
592 Views
Registered: ‎11-09-2015

Hi @donghoang22017 

I checked with the development team. The driver you were using is currently limited to 1 pair of video frame buffer read/write. It is developped for the reVISION 8-Stream VCU + CNN Platform.

For the V4L2 driver, this is where you can find the DT bindings

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**

View solution in original post

0 Kudos
donghoang22017
Observer
Observer
561 Views
Registered: ‎05-02-2019
Hi @florentw,
One more thing, can you ask your team why dont they use common driver for 8 vcu+cnn design but the one I am using. Maybe there are some reasons like the commons buffer read/write driver is not suitble or slow for 8vcu+cnn design.
Thank you :)
Dong
0 Kudos
florentw
Moderator
Moderator
555 Views
Registered: ‎11-09-2015

HI @donghoang22017 

I belive this is just because they don't want to use it from the v4l2 framework


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos