Sorry, you need to enable JavaScript to visit this website.

/dev/fb0 HATES me..

Unsolved
1 post / 0 new
bwalker's picture
bwalker
Junior(0)
/dev/fb0 HATES me..

I have a PicoZed board and am having difficulty getting /dev/fb0 to come alive.
I know my hardware is completely functional because when I mmap() the hardware via /dev/mem, I am able to start up the video and get the TPG to create video test patterns on the display.
Yet, I can't get the system to create /dev/fb0.
Here is what my devtree looks like..
..
               video_videoDMA: dma@43000000 {
                        #dma-cells = <1>;
                        compatible = "xlnx,axi-vdma-1.00.a";
                        interrupt-parent = <&intc>;
                        interrupts = <0 29 4 0 34 4>;
                        reg = <0x43000000 0x10000>;
                        xlnx,flush-fsync = <0x1>;
                        xlnx,num-fstores = <0x3>;
                        dma-channel@43000000 {
                                compatible = "xlnx,axi-vdma-mm2s-channel";
                                interrupts = <0 29 4>;
                                xlnx,datawidth = <0x18>;
                                xlnx,device-id = <0x0>;
                                xlnx,genlock-mode ;
                                xlnx,include-dre ;
                        };
                        dma-channel@43000030 {
                                compatible = "xlnx,axi-vdma-s2mm-channel";
                                interrupts = <0 34 4>;
                                xlnx,datawidth = <0x18>;
                                xlnx,device-id = <0x0>;
                                xlnx,genlock-mode ;
                                xlnx,include-dre ;
                        };
                };
...
               vcap_tpg {
                        compatible = "xlnx,video";
                        dmas = <&video_videoDMA 1>;
                        dma-names = "port0";

                        ports {
                                #address-cells = <1>;
                                #size-cells = <0>;

                                port@0 {
                                        reg = <0>;
                                        direction = "output";
                                        vcap_tpg_in: endpoint {
                                                remote-endpoint = <&tpg_out>;
                                        };
                                };
                        };
                };
 
Everything seems to be working because /dev/video0 get plumbed up.
root@petalinux:/# ls -l /dev/video0
crw-rw----    1 root     root       81,   0 Jan  1 00:00 /dev/video0
Also, the VDMA, TPG, and VTC print the following messages on the console.

xilinx-vdma 43000000.dma: Xilinx AXI VDMA Engine Driver Probed!!
xilinx-video amba_pl:vcap_tpg: device registered
xilinx-vtc 43c10000.v_tc: device found, version 6.010

Any advice or help on how to get the /dev/fb0 device to come alive is most appreciated!
-brad w.