linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Virtual Framebuffer on UM
@ 2004-07-10  5:45 Andrew Clunis
  2004-07-10 15:05 ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Clunis @ 2004-07-10  5:45 UTC (permalink / raw)
  To: linux-fbdev-devel

Hey, all!

I've been hacking on the UM kernel to reenable framebuffer support, in
preparation for writing a driver using SDL (http://libsdl.org).  The
only things I have modified (at least with this tree, heh heh) so far
were to add 'source drivers/video/Kconfig' to arch/um's Kconfig, and
patch fbmem.c to disable caching on the UM arch.  This is in the fb_mmap
function, in all those messy #ifdefs around the arch specific calls to
disable caching on the video memory.

I have a 2.6.6 UM kernel with the aforementioned patches that has been
booted with video=vfb:, and displays:
  fb0: Virtual frame buffer device, using 1024K of video memory
in the kernel messages.

I've ensured /dev/fb0 device node has major 29 and minor 0.

However, when I do 'cp /dev/fb0 /root/blob', I get a file of size 0.  I
was expecting a 1 meg file.

Is this normal behavior?  

p.s. Geert, where can the source for your old GDK UM driver be found,
the one that had the -lpthread trouble?  I have a design that will
(hopefully) not have those issues, but I'm curious as to how you tackled
the rest of it.  (SDL itself has a -lpthread dependency, but I can get
around this. The graphical component of SDL does not require pthreads,
so as long as I don't init the audio or threading components, I should
be OK)

-- 
Regards,
Andrew Clunis

http://orospakr.is-a-geek.org/



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

end of thread, other threads:[~2004-07-11  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-10  5:45 Virtual Framebuffer on UM Andrew Clunis
2004-07-10 15:05 ` Geert Uytterhoeven
2004-07-11  3:46   ` Andrew Clunis
2004-07-11  8:01     ` Geert Uytterhoeven

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