[okl4-developer] Starting with graphic output

Remy Gottschalk rgottschalk at linagora.com
Tue Apr 15 22:05:39 EST 2008


Hi Nelson,


On Tue, 2008-04-15 at 18:20 +1000, Nelson Tam wrote: 
> Hi Remy,
> 
> On 08/04/2008, at 12:55 AM, Remy Gottschalk wrote:
> >
> > I am starting to want some nicer things. Firstly i want some graphic
> > output to my wombat.
> > With what I've found i need to compile with ia32_pc99_vga or  
> > ia32_pc99_fb
> > whether i want frame buffer or not. The second being a subclass of  
> > former
> > (as it is defined in SCons that is).
> >
> > Well for now it not really a success with ia32_pc99_fb i got a full  
> > screen
> > of output (too rapid to be read) and then black out. And with
> > ia32_pc99_vga i got to the "Please press Enter to activate this  
> > console."
> > and i can press Enter all i want nothing will ever happens.
> 
> I wonder if the following threads answer your question?
> 
> http://lists.okl4.org/pipermail/developer/2007-November/000480.html
> http://lists.okl4.org/pipermail/developer/2008-April/000903.html
> 

Thank you, it does answers my questions. I found this thread just before
your reply and I was about to post :).

> Basically you need to define CONFIG_SERIO_I8042=y in linux/ 
> kernel-2.6.11-v2/l4linux_config_ia32_vga.
> 
> > So my question are : What should I expect to be working "out of the  
> > box" ?
> > and What steps am I missing to guess some nice frame buffer to play  
> > with ?
> 
> I would recommend sticking to the ia32_pc99 and ia32_pc99_vga targets  
> for now.  gta01 and gumstix are also working well and stable in the  
> 1.5 release.
> 

Ok, I'll stick with ia32_pc99 and ia32_pc99_vga targets for now. However
I still don't quite understand the differences between the two targets.
Could you tell me a little more one the subject ?

While using ia32_pc99_vga i encountered another problem that may be
related to my misunderstanding. When i try to access the frame buffer. I
can open and mmap the device successfully but when I try to write in it
I get a roottask pagefault :

roottask read pagefault at 00000018, ip=00206d7f - deny
--- "KD# roottask pagefault" ---
--------------------------------- (eip=f0106f79, esp=f0110300) ---

I am also encountering some trouble in getting the gta01 target running
with qemu. It seems to be a long time running problem so I'll start
another thread concerning that.

Thank you for your help.

> --
> (nt)
> 
> Nelson Tam
> 




More information about the Developer mailing list