Hello.
I am trying L4Re with Fiasco.OC. I have successfuly build l4re-snapshot. Now I am trying to run examples. I am always building iso images with make grub2iso. Now I am editing .cfgs and .list files.
I am trying to get working L4CON. The L4Con runs okay, saying: con | Running. Video mode is 800x600@16. con | Ready. Waiting for clients
Now I suppose I need some client to work with L4CON. I have tried fbterminal, but it doesn't work. (Or i am missing something in .cfgs)
I have added fbterminal to run after "con", but in logs it runs earlier ang log says: fbdrv | Starting server loop mmag | mapped frame buffer at 0x400000 fbtermin| Could not bind event IRQ
How can I achive to get some console with for example dash running?
Attached are .cfg, .list
Thanks.
On Fri Nov 04, 2011 at 11:01:54 +0100, Peter Hanzel wrote:
I am trying L4Re with Fiasco.OC. I have successfuly build l4re-snapshot. Now I am trying to run examples. I am always building iso images with make grub2iso. Now I am editing .cfgs and .list files.
I am trying to get working L4CON. The L4Con runs okay, saying: con | Running. Video mode is 800x600@16. con | Ready. Waiting for clients
Now I suppose I need some client to work with L4CON. I have tried fbterminal, but it doesn't work. (Or i am missing something in .cfgs)
I have added fbterminal to run after "con", but in logs it runs earlier ang log says: fbdrv | Starting server loop mmag | mapped frame buffer at 0x400000 fbtermin| Could not bind event IRQ
How can I achive to get some console with for example dash running?
Your configuration is having a few issues: - It is starting two 'screen-multiplexers': con and mag, just use one, which one does not matter, they are behaving the same. - 'fbdrv_fb' gives access to the real (physical) framebuffer, i.e. give it only to mag or con. - Do not give any vbus-cap to fbterminal, it does not need it. - To open a new console you need to create it, e.g. in the fbterminal's caps: fb = mag_caps.svc:create(L4.Proto.Goos, "g=640x480") (like in the original x86-fb.cfg) I think a good starting point is to take the original x86-fb.cfg and just replace the fb-spectrum program with fbterminal. Then maybe add a second terminal or re-add the spectrum example. Then for example replace mag with con (con just provides a single cap 'con').
Adam
Hello.
Oki I managed to run fbtermial on L4con. But there is one BIG 1 apperead on screen.
No I don't know how to run dash inside it.
----- Original Message ----- From: "Adam Lackorzynski" adam@os.inf.tu-dresden.de To: l4-hackers@os.inf.tu-dresden.de Sent: Saturday, November 05, 2011 1:24 PM Subject: Re: L4CON with client
On Fri Nov 04, 2011 at 11:01:54 +0100, Peter Hanzel wrote:
I am trying L4Re with Fiasco.OC. I have successfuly build l4re-snapshot. Now I am trying to run examples. I am always building iso images with make grub2iso. Now I am editing .cfgs and .list files.
I am trying to get working L4CON. The L4Con runs okay, saying: con | Running. Video mode is 800x600@16. con | Ready. Waiting for clients
Now I suppose I need some client to work with L4CON. I have tried fbterminal, but it doesn't work. (Or i am missing something in .cfgs)
I have added fbterminal to run after "con", but in logs it runs earlier ang log says: fbdrv | Starting server loop mmag | mapped frame buffer at 0x400000 fbtermin| Could not bind event IRQ
How can I achive to get some console with for example dash running?
Your configuration is having a few issues:
- It is starting two 'screen-multiplexers': con and mag, just use one, which one does not matter, they are behaving the same.
- 'fbdrv_fb' gives access to the real (physical) framebuffer, i.e. give it only to mag or con.
- Do not give any vbus-cap to fbterminal, it does not need it.
- To open a new console you need to create it, e.g. in the fbterminal's caps: fb = mag_caps.svc:create(L4.Proto.Goos, "g=640x480") (like in the original x86-fb.cfg)
I think a good starting point is to take the original x86-fb.cfg and just replace the fb-spectrum program with fbterminal. Then maybe add a second terminal or re-add the spectrum example. Then for example replace mag with con (con just provides a single cap 'con').
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
On Mon Nov 07, 2011 at 12:27:38 +0100, Peter Hanzel wrote:
Oki I managed to run fbtermial on L4con. But there is one BIG 1 apperead on screen.
Number of console, will go away with the first output.
No I don't know how to run dash inside it.
Create a 'term' cap: term = loader:new_channel();
Add it to the caps table of fbterminal: term = term:svr(),
Start dash: l:start({ log = term }, "dash -i");
Note that dash cannot really do much.
Adam
Hello.
Thanks a lot. I managed it to run. Dash commands like echo '1'; for $i in 1 2 3 4 5; do echo $i; done;
are working perfeclty.
What about exec 'rom/hello'; I got: Unimplemented: execve(rom/hello).
But i thing this is for another mail thread.
Again thanks a lot.
----- Original Message ----- From: "Adam Lackorzynski" adam@os.inf.tu-dresden.de To: l4-hackers@os.inf.tu-dresden.de Sent: Tuesday, November 08, 2011 12:14 AM Subject: Re: L4CON with client
On Mon Nov 07, 2011 at 12:27:38 +0100, Peter Hanzel wrote:
Oki I managed to run fbtermial on L4con. But there is one BIG 1 apperead on screen.
Number of console, will go away with the first output.
No I don't know how to run dash inside it.
Create a 'term' cap: term = loader:new_channel();
Add it to the caps table of fbterminal: term = term:svr(),
Start dash: l:start({ log = term }, "dash -i");
Note that dash cannot really do much.
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
l4-hackers@os.inf.tu-dresden.de