[okl4-developer] Starting with graphic output

Nelson Tam nelson at ok-labs.com
Tue Apr 22 19:06:23 EST 2008


Hi Remy,

On 15/04/2008, at 10:05 PM, Remy Gottschalk wrote:
>
> 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 ?

The difference is largely in the l4linux_config_* file that the Linux  
kernel is configured with.  The first target will cause Linux to  
output via the console driver, while the second target will cause  
Linux to output via the generic VGA driver.

So we mentioned before that there is a minor change that is needed in  
one of the configs in 1.5.  However these configs should work out of  
the box in 2.1.


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

Hm.  Short of getting your binary and performing an object dump on the  
faulting IP, it would be a bit hard to pinpoint where the problem may  
be.  Let us know if there's anything we can help in that regard.

> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1560 bytes
Desc: not available
Url : http://lists.okl4.org/pipermail/developer/attachments/20080422/31e7d8c0/attachment.bin 


More information about the Developer mailing list