Hi,
Thanks you very much for that. I now have it running.
I have another question about Genode. More specifically, I was wondering whether any of the Iguana services at all. I ask this given that the weaver.xml file refers to memsections and pds (i'm assuming that means protection domains).
Peter
----- Forwarded message from Norman Feske <norman.feske@...1...> ----- Date: Tue, 05 Jan 2010 08:43:36 +0100 From: Norman Feske <norman.feske@...1...> Reply-To: Genode OS Framework Mailing List genode-main@lists.sourceforge.net Subject: Re: Broken assertion To: Genode OS Framework Mailing List genode-main@lists.sourceforge.net
Hi Peter,
this is a different error as the one mentioned in the Wiki. It actually tells you what's wrong. ;-) In the 'weaver.xml' file, there is a memsection referring to a file called 'config'. This is the configuration file of Genode's init process. You can use a copy of the template provided at 'os/config/demo'. You can either specify this file as filename for the 'config' module entry in 'weaver.xml' or copy it to your '<builddir>/bin/' directory (and of course rename it to 'config'). This bit was missing in the Wiki. So I added it to the Wiki page. Thank you for pointing it out.
Norman
Peter Nguyen wrote:
Hi,
In the wiki describing how to build Genode on OKL4, does the bug alert refer
to
following message: An error occurred: [Errno 2] No such file or directory: 'config'?
I've followed the build instructions, and i've changed the value as suggested
as
the quick fix, but I still get this error.
As usual, any help would be greatly appreciated.
Peter
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
----- End forwarded message -----
Hi Peter,
I have another question about Genode. More specifically, I was wondering whether any of the Iguana services at all. I ask this given that the weaver.xml file refers to memsections and pds (i'm assuming that means protection domains).
Genode is not compatible to Iguana. However, porting software from Iguana seems to be reasonable. We did this for the port of OKLinux to Genode. With the port, we followed the approach to implement a library that emulates the parts of the Iguana API that are relevant for OKLinux. You can find this emulation code at 'oklinux/src/oklinux_support'.
Regarding the use of memsections in the 'weaver.xml' file, this is simply the only way to include plain binary data into the boot image. So we "misuse" elfweaver's memsection mechanism to supply modules to core's ROM service. The PD "modules" is actually not a protection domain but only used as a container for holding memsections with predefined content. For the full story, you might read up my article about porting Genode to OKL4:
http://genode.org/documentation/articles/genode-on-okl4
BTW, do you have Iguana servers in mind that might be useful to run on Genode?
Norman
Hi Norman,
Thanks for your response. I was asking because for my project, I have implemented a sampling environment that runs at the Iguana level, and given there seems to be considerable work into genode, I was wanting to port it to genode. My sampling infrastructure is based on the iguana trace server. I'm thinking that it shouldn't be too difficult to port given that the amount of my code that uses Iguana is a very small percentage. The remaining code is L4 code.
If you could give me pointers as to things to look out for, or to give me a starting point in terms of porting, that would be great!!
----------------------------------------------------- Peter Nguyen Jacaranda Research Group
On 07/01/2010, at 5:58 AM, Norman Feske wrote:
Hi Peter,
I have another question about Genode. More specifically, I was wondering whether any of the Iguana services at all. I ask this given that the weaver.xml file refers to memsections and pds (i'm assuming that means protection domains).
Genode is not compatible to Iguana. However, porting software from Iguana seems to be reasonable. We did this for the port of OKLinux to Genode. With the port, we followed the approach to implement a library that emulates the parts of the Iguana API that are relevant for OKLinux. You can find this emulation code at 'oklinux/src/oklinux_support'.
Regarding the use of memsections in the 'weaver.xml' file, this is simply the only way to include plain binary data into the boot image. So we "misuse" elfweaver's memsection mechanism to supply modules to core's ROM service. The PD "modules" is actually not a protection domain but only used as a container for holding memsections with predefined content. For the full story, you might read up my article about porting Genode to OKL4:
http://genode.org/documentation/articles/genode-on-okl4
BTW, do you have Iguana servers in mind that might be useful to run on Genode?
Norman
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Norman Feske <norman.feske@...52...> writes:
Hi Peter,
I have question about Genode.
I downloaded the source code of Genode-12.02 and also toolchain kit genodetoolchain-11.11. and we installed it on my Ubantu-11.10. when i was installing it the error came like this......
make[1]: Leaving directory `/usr/local/genode-12.02/build.lx' genode build completed spawn ./core int main(): --- create local services --- int main(): --- start init --- int main(): transferred 79 MB to init int main(): --- init created, waiting for exit condition --- [init] Could not open file "ld.lib.so" [init] unsupported program segment type 0x7 [init -> launchpad] Could not open file "ld.lib.so" [init -> launchpad] Could not open file "config" [init -> launchpad] Could not obtain config file No protocol specified No protocol specified init kbd. [init -> fb_sdl] creating virtual framebuffer for mode 1024x768@...64... [init -> nitpicker] framebuffer is 1024x768@...23... [init -> nitpicker] create session with args: fb_format=1, label="launchpad", ram_quota=1646592 [init -> nitpicker] Could not open file "config" [init -> nitpicker] Could not obtain config file [init -> nitpicker] create session with args: fb_width=400, fb_height=1504, fb_format=1, label="launchpad", ram_quota=1211392 [init -> launchpad] --- entering main loop ---
And after this we are not getting touchpad screen. what should we do for this error. Can you please help me....
thanks to you in Advance vishal linux
Hello,
make[1]: Leaving directory `/usr/local/genode-12.02/build.lx' genode build completed spawn ./core int main(): --- create local services --- int main(): --- start init --- int main(): transferred 79 MB to init int main(): --- init created, waiting for exit condition --- [init] Could not open file "ld.lib.so" [init] unsupported program segment type 0x7 [init -> launchpad] Could not open file "ld.lib.so" [init -> launchpad] Could not open file "config" [init -> launchpad] Could not obtain config file
so far everything looks ok. The messages are not errors but mere information that launchpad falls back to its the built-in configuration. Also the message by init is as expected (the demo setup does not use dynamically-linked executables so we have not included the dynamic linker).
No protocol specified No protocol specified init kbd. [init -> fb_sdl] creating virtual framebuffer for mode 1024x768@...64...
These lines are suspect. It seems that libSDL is not able to initialize properly. Can you successfully run any normal libSDL-based program on your setup? Are you using X11 or are you trying to start Genode from a framebuffer console?
Cheers Norman