Hello World config

Rudolf Weber rwib at ...5...
Fri Sep 27 23:30:17 CEST 2013


Hello,

I'm using the public git version, the last commit is  3d5f77599fbdca8ae089f36e93b5ecd778ab5b3b .

I forged the hello tutorial, but my version didn't run, nor the hello_tutorial itself.
There was two errors:
1) the Service "CAP" was not found , first the service "LOG" was  not found.
  
2) The server was not found.
     In the default route must be 
         <any-service> <parent/> <any-child/> </any-service>
     or an specific route
   
After some research in the run scripts, I found this following config:
<config verbose="yes">
   <parent-provides>
      <service name="ROM"/>
      <service name="RAM"/>
      <service name="IRQ"/>
      <service name="IO_MEM"/>
      <service name="IO_PORT"/>
      <service name="CAP"/>
      <service name="PD"/>
      <service name="RM"/>
      <service name="CPU"/>
      <service name="LOG"/>
      <service name="SIGNAL"/>
   </parent-provides>
   <default-route>
         <any-service> <parent/> <any-child/> </any-service>
   </default-route>
   <start name="timer">
     <resource name="RAM" quantum="1M"/>
     <provides><service name="Timer"/></provides>
     <route><any-service><parent/></any-service></route>
   </start>
   <start name="hallo_server">
     <resource name="RAM" quantum="1M"/>
      <provides><service name="Hallo"/></provides>
   </start>
   <start name="hallo_client">
     <resource name="RAM" quantum="1M"/>
   </start>
</config>
It was successfully tested on Linux and foc (with qemu)

Does the <parent-provides>-Section need to be compelete ?

Does a Child can read out all services provided by its parent and all brothers wfrom which it is allowed to access services ?

Rudolf
Informatik- und Netzwerkverein Ravensburg e.V
http://www.infnet.verein.de/home/rw/index.html




More information about the users mailing list