Creating your first Genode application - Build succesful, butexecution fails
w_schmidt at ...181...
w_schmidt at ...181...
Sun Apr 13 11:39:42 CEST 2014
Hello Christian,
>> But the self created hello doesn't.
>>
>> I have found only an empty /tmp/genode-1000 directory (therefore the grep
>> command you provided shows nothing).
>>
>> The demo which is provided in genode nor works after update (git pull) of
>> genode, but notif i try to run it with the nova kernel (the lower part of
>> my
>> last mail, it still says "no route to service "IO_PORT")
>Just to get it right: 'make run/demo' now works on Linux and NOVA as
expected, right?
I tried now
with Linux: make run/demo works as expected.
with Nova: make run/demo does not work., the output is as below
Program app/launchpad/launchpad
COMPILE launcher.o
COMPILE launchpad_window.o
COMPILE main.o
LINK launchpad
make[1]: Verlasse Verzeichnis '/home/wolfgang/genode/build.1'
genode build completed
cp: der Aufruf von stat für »bin/fb_drv“ ist nicht möglich: Datei oder
Verzeichnis nicht gefunden
while executing
"exec cp bin/$binary [run_dir]/genode"
(procedure "copy_and_strip_genode_binaries_to_run_dir" line 4)
invoked from within
"copy_and_strip_genode_binaries_to_run_dir $binaries"
(procedure "build_boot_image" line 6)
invoked from within
"build_boot_image $boot_modules"
(file "/home/wolfgang/genode/os/run/demo.run" line 182)
invoked from within
"source $include_name"
("foreach" body line 3)
invoked from within
"foreach include_name [get_cmd_arg --include ""] {
puts "using run script $include_name"
source $include_name
}"
>I've to admit that it's expected that the hello tutorial works on
>Linux but not on NOVA. The first-application tutorial on Genode leaves
>aside several aspects, which are important for other kernel, for
>simplicity reasons. In this case the service for accessing x86 I/O
>ports (needed by the timer) is not configured properly. You may add
><service name="IO_PORT"> <parent/> </service>
With
<parent-provides>
...
<service name="IRQ"/>
<service name="IO_PORT"/>
...
</parent-provides>
in the hello.run file the hello demo in nova directory works. (for what is
the config/config file used - it seems to be ignored?)
I still have the problem that the make run/demo works, but if i create an
own directory according to "make your first application" section - it
doesn't. there still the lxmap error appears and the tmp/genode-1000
directory keeps empty.
So make run/demo works, but an own project with the hello files doesn't and
only brings lxmap error.
Best regards
--
Christian Helmuth
Genode Labs
http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Genode-main mailing list
Genode-main at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main
More information about the users
mailing list