# Re: \#\#3 Frame Buffer Questions?

- From: Steve Spano \<hidden\>
- Date: 2006-08-19 02:43:58 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2006/08/13456541
- Thread: https://ratatoskr.run/linux-fbdev/2006/08/13456539/t.md

```text
Hi Antonino,

We got the buffer working and showing now in the proc folder

So we can now do a cat random > fb0 - and that works.

Do you (or someone) know the correct pattern of magic #defines that will
put the console up on the VGA? I would like to see the startup
messages/login prompt on the VGA display.

Thanks!

Steve Spano, President
Finger Lakes Engineering
119 South Cayuga #200
Ithaca, Ny 14850
(V) 607-277-1614 x223
(C) 607-342-1150
www.FL-ENG.com - FLE's Main Website 
www.FLEDEVFORUM.com - FLE's Developer Forum

-----Original Message-----
From: Antonino A. Daplas [mailto:adaplas@gmail.com] 
Sent: Friday, August 18, 2006 8:20 PM
To: <redacted>; <redacted>
Subject: Re: [Linux-fbdev-devel] ##3 Frame Buffer Questions?

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
```
