Re: ##3 Frame Buffer Questions?
From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2006-08-19 00:19:53
On Fri, 2006-08-18 at 10:30 -0400, Steve Spano wrote:
Hi Folks, I have a question. Working on a “semi-custom” frame buffer for a Xilinx FPGA with the Microblaze. The specific file we started with is already in the uclinux/drivers/video and is called xilinxfb.c We can register the driver and a debug trace in the driver shows that it registers as FB0 29-0, so that should be right. However, if I do a cat /dev/fb0 the linux responds by saying it can’t open the device. It appears that somehow the default file pointer in dev/fb0 cannot connect to the actual driver? MKNODing the driver also fails. I do have other drivers that we have made that do install, so this isn’t the first attempt at a driver. Any thoughts on where I may look for some ideas on this?
What kernel version are you using? Does it show up in /proc/fb? If it does, the device node it's bound too should also show up. If it does show up in /proc/fb, then make sure that info->screen_base (in 2.6) or info->disp->screen_base (in 2.4) is pointing to the virtual address of the framebuffer. If publicly available, can you point us to the source? Tony ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Linux-fbdev-devel mailing list Linux-fbdev-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel