linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: Generic VESA framebuffer driver and Video card BOOT?
@ 2004-10-21  4:03 Yu, Luming
  0 siblings, 0 replies; 35+ messages in thread
From: Yu, Luming @ 2004-10-21  4:03 UTC (permalink / raw)
  To: Pavel Machek, Jon Smirl
  Cc: Kendall Bennett, Alan Cox, Linux Kernel Mailing List, fbdev

It is hard to use native VGA for s3 debugging. 
I don know if serial console or net console 
can help s3 debugging. 

Thanks
Luming 

>-----Original Message-----
>From: linux-kernel-owner@vger.kernel.org 
>[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Pavel Machek
>Sent: 2004年10月20日 5:09
>To: Jon Smirl
>Cc: Kendall Bennett; Alan Cox; Linux Kernel Mailing List; fbdev
>Subject: Re: Generic VESA framebuffer driver and Video card BOOT?
>
>Hi!
>
>> > What about non-x86 platforms such as PowerPC and MIPS 
>embedded devices
>> > that want video (TiVo type platforms, media players etc). 
>How would these
>> > fit into the picture? Would this require the boot loader 
>(ie: U-Boot or
>> > whatever) to have the ability to POST the card?
>> 
>> There is the assumption that whatever BIOS the device has 
>can get up a
>> very early console that can output critical error messages before the
>> kernel and early user space is loaded. For example the "I can't find
>> the kernel" or  "initramfs is missing" error message. This also
>> assumes that the BIOS can post whatever display it is using.
>> 
>> I'm not trying to fix the problem of getting early boot messages out
>> of a Mac with an x86 card plugged into it. The card will work after
>> early user space initializes. The right way to fix that would be to
>> switch to something like LinuxBIOS and build the x86 emulator into
>> it.
>
>That still does not solve resume from suspend-to-RAM. We need to post
>VGA there. We probably could do it late in userspace... but it makes
>debugging resume pretty hard.
>								Pavel
>-- 
>People were complaining that M$ turns users into beta-testers...
>...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
>-
>To unsubscribe from this list: send the line "unsubscribe 
>linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 35+ messages in thread
[parent not found: <2Pkf0-42m-11@gated-at.bofh.it>]
* Generic VESA framebuffer driver and Video card BOOT?
@ 2004-10-14 19:02 Kendall Bennett
  2004-10-15 13:48 ` Helge Hafting
                   ` (3 more replies)
  0 siblings, 4 replies; 35+ messages in thread
From: Kendall Bennett @ 2004-10-14 19:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fbdev-devel, penguinppc-team

Hello All,

I am writing this email to guage the interest in having code contributed 
to the main stream Linux kernel that would support the user of a generic, 
full featured VESA framebuffer driver that works on any CPU architecture 
along with a generic Video card BOOT or POST mechanism.

We have been working on a project under contract to ATI that involves 
porting a version of our SNAPBoot BIOS emulator solution to the PowerPC 
Linux kernel. The SNAPBoot code supports initialising a graphics card 
using an x86 BIOS image on any platform (currently tesed on x86, x86-64 
and PowerPC). Initially SNAPBoot was developed to work across multiple 
operating systems and CPU architectures from user space, but the desire 
to use it to initialise the graphics card on embedded PowerPC kernels 
prompted us to port a version of it for use within the Linux kernel. The 
version we have ported for use in the kernel can be used to initialise 
the graphics card for use with any accelerated framebuffer console 
driver, such as the radeonfb driver which we are currently using it with.

Note that the SNAPBoot code uses the x86emu BIOS emulator project as the 
core CPU emulation technology, and project we have been actively involved 
with for many years since the licensing on the project was changed to 
MIT/BSD style licensing and incorporated into the XFree86 project. We 
have built code on top of x86emu to provide generic support for 
initialising graphics cards on multiple platforms as well as supporting 
initialisation of modern NonVGA graphics cards (like the ATI Radeon 
family) without needing access to real VGA resources such as VGA I/O 
ports and physical memory at 0xA0000-0xBFFFF.

More importantly we have used SNAPBoot to port our generic VESA SNAP 
display driver to work on multiple operating systems and platforms, 
including both x86-64 and PowerPC platforms. Using this driver you can 
use any graphics card in the machine and it will support all the features 
provided by the graphics cards VESA BIOS, including support for refresh 
rate control on cards that support VBE 3.0 services. We have been 
actively testing both the SNAPBoot capability and the BIOS emulator on 
many platforms and graphics cards, and the latest version work flawlessly 
on just about every graphics card we have tested.

What this means is that it should be possible to build a new version of 
the VESA framebuffer console driver for the Linux kernel that will have 
these important features:

1. Be able to switch display modes on the fly, supporting all modes 
enumerated by the Video BIOS.

2. Be able to support refresh rate control on graphics cards that support 
the VBE 3.0 services.

3. Be able to support 8-bit and 32-bit display modes on any graphics card 
on big endian machines (16-bit is not possible unless software rendering 
code is written to enable endian swapping in software, which may be 
possible).

So what we would like to find out is how much interest there might be in 
both an updated VESA framebuffer console driver as well as the code for 
the Video card BOOT process being contributed to the maintstream kernel. 
If there is interest, we would start out by first contributing the core 
emulator and Video BOOT code, and then work on building a better VESA 
framebuffer console driver. 

So what do you guys think? 

Regards,

---
Kendall Bennett
Chief Executive Officer
SciTech Software, Inc.
Phone: (530) 894 8400
http://www.scitechsoft.com

~ SciTech SNAP - The future of device driver technology! ~



^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2004-10-21 12:03 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <2PjiW-3hl-21@gated-at.bofh.it>
2004-10-14 20:03 ` Generic VESA framebuffer driver and Video card BOOT? Andi Kleen
2004-10-14 20:46   ` Kendall Bennett
2004-10-15 12:39     ` Alan Cox
2004-10-15 18:20       ` Kendall Bennett
2004-10-15 18:41         ` Alan Cox
2004-10-15 20:19         ` Jon Smirl
2004-10-15 22:22           ` Kendall Bennett
2004-10-15 23:02             ` Jon Smirl
2004-10-19 21:09               ` Pavel Machek
2004-10-20 15:23     ` Paulo Marques
2004-10-20 17:27       ` Kendall Bennett
2004-10-21  4:03 Yu, Luming
     [not found] <2Pkf0-42m-11@gated-at.bofh.it>
     [not found] ` <2PncW-6j9-19@gated-at.bofh.it>
     [not found]   ` <2PncW-6j9-21@gated-at.bofh.it>
     [not found]     ` <20030401205016$5cc4@gated-at.bofh.it>
     [not found]       ` <20030401205016$63f7@gated-at.bofh.it>
     [not found]         ` <20030424075011$4028@gated-at.bofh.it>
     [not found]           ` <1ewKr-2Kh-41@gated-at.bofh.it>
     [not found]             ` <CebL.O9.13@gated-at.bofh.it>
     [not found]               ` <1bucs-57R-33@gated-at.bofh.it>
     [not found]                 ` <2PncW-6j9-23@gated-at.bofh.it>
     [not found]                   ` <20030423094012$4166@gated-at.bofh.it>
     [not found]                     ` <2PncW-6j9-17@gated-at.bofh.it>
     [not found]                       ` <2PAMY-7Ir-21@gated-at.bofh.it>
2004-10-15 14:22                         ` Andi Kleen
2004-10-15 14:33                           ` Alan Cox
2004-10-15 18:20                             ` Kendall Bennett
2004-10-15 18:39                               ` Alan Cox
2004-10-15 22:27                                 ` Kendall Bennett
2004-10-15 23:34                                   ` Alan Cox
2004-10-16  1:07                                   ` William Lee Irwin III
2004-10-21 11:59                                   ` Pavel Machek
2004-10-18 11:44                               ` Martin Waitz
2004-10-18 19:43                                 ` Kendall Bennett
2004-10-19 17:01                                   ` Martin Waitz
2004-10-19 17:54                                     ` Kendall Bennett
2004-10-15 15:37                           ` Gerd Knorr
2004-10-16  0:55                             ` Andi Kleen
2004-10-16 12:21                               ` Gerd Knorr
  -- strict thread matches above, loose matches on Subject: below --
2004-10-14 19:02 Kendall Bennett
2004-10-15 13:48 ` Helge Hafting
2004-10-15 18:36   ` Kendall Bennett
2004-10-15 21:44     ` Helge Hafting
2004-10-15 22:12       ` Kendall Bennett
2004-10-16 17:44 ` Jon Smirl
2004-10-19 21:00 ` Pavel Machek
2004-10-19 21:11 ` Pavel Machek

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).