<start name="ram_fs"> <resource name="RAM" quantum="32M"/> <provides> <service name="File_system"/> </provides> <config verbose="yes"> <content> <dir name="dev"> </dir> <dir name="tmp"> </dir> </content> <policy label="root" root="/" writable="yes"/> <policy label="own_server -> dev" root="/dev" writable="yes"/> <policy label="own_server -> tmp" root="/tmp" writable="yes"/> <policy label="own_client -> dev" root="/dev" writable="yes"/> <policy label="own_client -> tmp" root="/tmp" writable="yes"/> </config> </start> <start name="own_server"> <resource name="RAM" quantum="32M"/> <provides> <service name="First_Service"/> <service name="Second_Service"/> </provides> <config verbose="yes"> <libc stdout="/dev/log" stderr="/dev/log"> <vfs> <dir name="dev"> <fs label="dev"/> <jitterentropy name="random"/> <log/> </dir> <dir name="tmp"> <fs label="tmp"/> </dir> </vfs> </libc> </config> </start> <start name="own_client"> <resource name="RAM" quantum="16M"/> <config verbose="yes"> <libc stdout="/dev/log" stderr="/dev/log"> <vfs> <dir name="dev"> <fs label="dev"/> <jitterentropy name="random"/> <log/> </dir> <dir name="tmp"> <fs label="tmp"/> </dir> </vfs> </libc> </config> </start>
On 22 October 2015 12:59:16 +02:00, Josef Söntgen <josef.soentgen@...1...> wrote:
Hello Jack,I am facing a problem with the Server/Client Application.But first a short summary, what happend:With the help from Johannes I am able to use Genode on the ZedBoard.So the hello_tutorial is working fine and after that I am now trying to build my own Server/Client Application.[…]init -> own_server -> own_server: undefined instruction at ip=3983ccinit -> own_client -> own_client: undefined instruction at ip=3743ccMy assumption on what is going wrong is the following:The server and the client needs to access the jitterentropy node at /dev/random and needs to write in the /tmp folder.[…]Our jitterentropy port on ARM depends on the performance counters. Touse them on base-hw/ARM you have to explicitly enable user space accessto the performance counters by setting 'SPECS += perf_counter' in your<build>/etc/specs.conf file.I have no initramfs and linux kernel included which could provide the path to the folders.So how do I provide the server and client to access the file/folder?Can I use the server/ram_fs or should I use the Noux Runtime Environment?Or is it something else?The easiest way would be to use the ram_fs component indeed.RegardsJosef------------------------------------------------------------------------------_______________________________________________genode-main mailing list