[okl4-developer] Starting 2 OKLinux instances with LCD

Damien Schulz damien.schulz at 4xtc.de
Sat Feb 23 01:43:32 EST 2008


Hello,

I saw that the driver framework has some rudimentary switching capabilities, but it's mostly commented out. I identified two interesting functions event_notify(EV_WOMBAT_SWITCH) and switch_active() in the driver code itself.
So I guess that using devices from more than one linux instance should already work?! Why are those functions commented out?

Thank you,
~Damien

--- jorge.torres.maldonado at gmail.com wrote:

From: "Jorge Torres" <jorge.torres.maldonado at gmail.com>
To: damien.schulz at 4xtc.de
Cc: developer at okl4.org
Subject: Re: [okl4-developer] Starting 2 OKLinux instances with LCD
Date: Fri, 22 Feb 2008 08:25:12 -0500

Hi Damien,

I've never worked with LCD driver, but I guess that what you intent would be
possible, only if driver was outside your Linux instances on a server that
could serve as you mention (first come, first serve basis), What you could
do is to disable it on one of the instances, and write a driver for the
other that communicates with the one you have enabled, so it would act as an
LCD access server.

Those are just recommendations based on my ignorance of the topic.

Kind regards,

Jorge

On Fri, Feb 22, 2008 at 7:21 AM, Damien Schulz <damien.schulz at 4xtc.de>
wrote:

> Hello,
>
> after having written a little procfs module to communicate with L4
> services (thanks to Jorge), I'm now trying start 2 OKLinux instances on a
> Neo-1973 GTA01bv04 platform - both with access to the LCD driver. It would
> suffice if the fastest of both linux instances writes to the LCD (first
> come, first serve), but it's not possible to start 2 OKLinux instances with
> LCD enabled.
>
> This is the error message that is shown:
> >  igms0:Iguana virtual frame buffer driver v1.0
> > Iguana virtual serial driver v1.0
> > NET: Registered protocol family 2
> >  unknown partition table
> > roottask read pagefault at 32e6a004, ip=0010834c - deny
> > --- KD# roottask pagefault  ---
>
> If I disable the LCD driver for the second linux instance, it works. Any
> idea that could help here?
>
> Thanx in advance,
> ~Damien
>
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
>





More information about the Developer mailing list