UML and fbdev

3 messages, 3 authors, 2003-08-20 · open the first message on its own page

UML and fbdev

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2003-08-13 16:07:29

	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

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

Re: [uml-devel] UML and fbdev

From: Antonio Vargas <hidden>
Date: 2003-08-20 20:01:19

On Wed, Aug 13, 2003 at 06:07:29PM +0200, Geert Uytterhoeven 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.
What about using the "page was changed" bit at the page level?
Changing any byte on a framebuffer page would trigger an update
on the changed bit, and then a periodic task could read these bits
and make a list of pages to be sent over.

For an example about this technique, this was used on AmigaOS
for MacOS framebuffer emulation on shapeshifter.
 
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
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
-- 
winden/network

1. Dado un programa, siempre tiene al menos un fallo.
2. Dadas varias lineas de codigo, siempre se pueden acortar a menos lineas.
3. Por induccion, todos los programas se pueden
   reducir a una linea que no funciona.


-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help