Re: [Linux-fbdev-devel] UML and fbdev
From: Jon Smirl <hidden>
Date: 2003-08-13 16:31:52
I have a patch for UML (from April so it is out of date) that will allow you to run any device driver from inside UML. This patch makes it very easy to debug things like the framebuffer driver since you can use a normal debugger on them. It works by dedicating the piece of hardware to UML use. You don't load any drivers for it in the host OS. Instead I have a small driver in the host that forwards interrupts to UML using signals. The main driver loads in UML and completely controls the hardware from there. It supports interrupts, mem mapping, DMA, etc. I was using it to debug DRM drivers. I tired to get it merged into UML without sucess.
--- Geert Uytterhoeven <geert@linux-m68k.org> wrote: Hi,
Are you aware of anyone working on frame buffer
devices for UML?
I was thinking about creating a frame buffer device
that displays as an X
window. Making it work for user space applications
can be tricky, because
writes to the frame buffer must be trapped to update
the screen (or use
periodic update, or a combination). But it should
work fine for text consoles
(fbcon) and virtual terminals, and for debugging
multi-head support.
Gr{oetje,eeting}s,
Geert
P.S. Please CC me, as I'm not (yet) subscribed to
user-mode-linux-devel.
--
Geert Uytterhoeven -- There's lots of Linux beyond
ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I
call myself a hacker. But
when I'm talking to journalists I just say
"programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________ Linux-fbdev-devel mailing list Linux-fbdev-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
===== Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
Attachments
- vpci.tar.bz2 [application/x-bzip2] 35524 bytes