* ##3 Frame Buffer Questions?
@ 2006-08-18 14:30 Steve Spano
2006-08-19 0:19 ` Antonino A. Daplas
0 siblings, 1 reply; 5+ messages in thread
From: Steve Spano @ 2006-08-18 14:30 UTC (permalink / raw)
To: linux-fbdev-devel
[-- Attachment #1.1: Type: text/plain, Size: 972 bytes --]
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?
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
[-- Attachment #1.2: Type: text/html, Size: 5704 bytes --]
[-- Attachment #2: Type: text/plain, Size: 373 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 182 bytes --]
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ##3 Frame Buffer Questions?
2006-08-18 14:30 ##3 Frame Buffer Questions? Steve Spano
@ 2006-08-19 0:19 ` Antonino A. Daplas
2006-08-19 2:43 ` Steve Spano
0 siblings, 1 reply; 5+ messages in thread
From: Antonino A. Daplas @ 2006-08-19 0:19 UTC (permalink / raw)
To: steve, linux-fbdev-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ##3 Frame Buffer Questions?
2006-08-19 0:19 ` Antonino A. Daplas
@ 2006-08-19 2:43 ` Steve Spano
2006-08-19 9:44 ` Antonino A. Daplas
0 siblings, 1 reply; 5+ messages in thread
From: Steve Spano @ 2006-08-19 2:43 UTC (permalink / raw)
To: 'Antonino A. Daplas', linux-fbdev-devel
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: steve@flconsult.com; linux-fbdev-devel@lists.sourceforge.net
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ##3 Frame Buffer Questions?
2006-08-19 2:43 ` Steve Spano
@ 2006-08-19 9:44 ` Antonino A. Daplas
2006-08-19 19:46 ` Steve Spano
0 siblings, 1 reply; 5+ messages in thread
From: Antonino A. Daplas @ 2006-08-19 9:44 UTC (permalink / raw)
To: steve, linux-fbdev-devel
On Fri, 2006-08-18 at 22:43 -0400, Steve Spano wrote:
> 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.
CONFIG_VT=y;
CONFIG_FRAMEBUFFER=m or y (of course)
CONFIG_FRAMEBUFFER_CONSOLE=y (or CONFIG_FRAMEBUFFER_CONSOLE=m followed
by modprobe fbcon)
CONFIG_FONT_8x16 (or any built-in fonts available).
In your boot parameters, include console=tty0, just to be sure.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ##3 Frame Buffer Questions?
2006-08-19 9:44 ` Antonino A. Daplas
@ 2006-08-19 19:46 ` Steve Spano
0 siblings, 0 replies; 5+ messages in thread
From: Steve Spano @ 2006-08-19 19:46 UTC (permalink / raw)
To: 'Antonino A. Daplas', linux-fbdev-devel
Hi There
Thanks again for the help - very much appreciated.
Still not seeing the terminal on the display.
We have linux running in a FPGA. The FPGA has a vga-ish hardware core
inside of it. The core transfers 16/32bit pixels from the frame buffer
to the display.
It looked like there were options for a display that had a built in
character generator and there were options for the "VGA console"
Do you (or someone) have an autoconf.h that you could share for a linux
build that properly displays the bash/logins/startup on a VGA display?
Thanks so much!
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: Saturday, August 19, 2006 5:45 AM
To: steve@flconsult.com; linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [Linux-fbdev-devel] ##3 Frame Buffer Questions?
On Fri, 2006-08-18 at 22:43 -0400, Steve Spano wrote:
> 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.
CONFIG_VT=y;
CONFIG_FRAMEBUFFER=m or y (of course)
CONFIG_FRAMEBUFFER_CONSOLE=y (or CONFIG_FRAMEBUFFER_CONSOLE=m followed
by modprobe fbcon)
CONFIG_FONT_8x16 (or any built-in fonts available).
In your boot parameters, include console=tty0, just to be sure.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-08-19 19:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-18 14:30 ##3 Frame Buffer Questions? Steve Spano
2006-08-19 0:19 ` Antonino A. Daplas
2006-08-19 2:43 ` Steve Spano
2006-08-19 9:44 ` Antonino A. Daplas
2006-08-19 19:46 ` Steve Spano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).