Hi,
Complete building and installation for Genode source code is not available. So can i follow below steps. will it work ?
1.Extracting available genode.iso 2.compile only particular code (ex:lwip,nic and netperf for improving tcp/ip performance). 3.replace with existing files (lwip,nic and netperf) with extracted directory (at step 1). 4.again make iso for that directory 5.run with qemu.
is it correct or not? or any other procedure for building source and creating iso for genode source.
With Reg, VENKADA RAMANUJAM.S 9578520238
On Tue, Aug 20, 2013 at 3:15 PM, Venkada Ramanujam < venkadaramanujam@...9...> wrote:
Hi,
Complete building and installation for Genode source code is not
available. So can i follow below steps. will it work ?
1.Extracting available genode.iso 2.compile only particular code (ex:lwip,nic and netperf for improving tcp/ip performance). 3.replace with existing files (lwip,nic and netperf) with extracted directory (at step 1). 4.again make iso for that directory 5.run with qemu.
is it correct or not? or any other procedure for building source and creating iso for genode source.
You're definitely missing something. Genode creates the iso when you compile it. You may need to install mkisofs (or genisoimage and make a "mkisofs" symlink to it in /usr/bin/). When you execute the "make run/hello", the iso is placed at var/run/hello.iso
And no, the way you suggested will probably not work because the XML configuration is built into the init program, I think.
With Reg, VENKADA RAMANUJAM.S 9578520238
Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello,
for documentation to build and run Genode please read the documentation in the source tree or refer to our website
http://genode.org/documentation/developer-resources/getting_started http://genode.org/documentation/developer-resources/build_system
There are also several platform-specific documentation files in base-*/doc and online
http://genode.org/documentation/platforms/index
If these leave some questions open please don't hesitate to ask them here.
Regards
hi alexander,
I tried to compile genode source code by using below link http://genode.org/documentation/developer-resources/build_system
here i did't understand how to get iso image after compilation. I got only following directories
build.lx> app/ bin/ core/ drivers/ etc/ hello/ init/ lib/ server/ test/ var/ Makefile progress.log
could you please tell me clear steps to compile genode source code for applying directly on hardware and linux platform . also how to generate iso to boot genode in x86 hardware. is any boot file required for those ?
thanks in advance
With Reg, VENKADA RAMANUJAM.S 9578520238
On Tue, Aug 20, 2013 at 4:53 PM, Alexander Tarasikov < alexander.tarasikov@...9...> wrote:
On Tue, Aug 20, 2013 at 3:15 PM, Venkada Ramanujam < venkadaramanujam@...9...> wrote:
Hi,
Complete building and installation for Genode source code is not
available. So can i follow below steps. will it work ?
1.Extracting available genode.iso 2.compile only particular code (ex:lwip,nic and netperf for improving tcp/ip performance). 3.replace with existing files (lwip,nic and netperf) with extracted directory (at step 1). 4.again make iso for that directory 5.run with qemu.
is it correct or not? or any other procedure for building source and creating iso for genode source.
You're definitely missing something. Genode creates the iso when you compile it. You may need to install mkisofs (or genisoimage and make a "mkisofs" symlink to it in /usr/bin/). When you execute the "make run/hello", the iso is placed at var/run/hello.iso
And no, the way you suggested will probably not work because the XML configuration is built into the init program, I think.
With Reg, VENKADA RAMANUJAM.S 9578520238
Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
-- Regards, Alexander
Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello Venkada,
build.lx>
because you are using Genode on Linux, no ISO is created. On Linux, Genode's core is just started as ordinary Linux process. To see what is going on under the hood, please take a look at the respective 'base-<platform>/run/env' file, which contains the platform-specific rules for integrating a Genode scenario into a bootable form.
If you execute a run script within a build directory configured for one of the non-Linux kernels on x86, the build system creates an ISO file at location '<build-dir>/var/run/<run-script-name>.iso'. Such an ISO file can be burned onto a CDROM, written to an USB stick (via 'dd'), or booted via Qemu. The latter is what happens automatically.
could you please tell me clear steps to compile genode source code for applying directly on hardware and linux platform . also how to generate iso to boot genode in x86 hardware. is any boot file required for those ?
With the exception of Linux, the boot files are created at '<build-dir>/var/run/<run-script-name>/'. Those files comprise the boot loader, boot-loader configuation, the kernel, and the binaries.
Regards Norman
hi,
I trying to test lwip in genode with sample client and server program and testing with netperf tool in ubuntu os. so as the first step, I put command *$ make run/lwip.lx *
i got following,
checking library dependencies... Skip target drivers/nic/lan9118 because it requires lan9118 Library platform Library syscall Library base-common Library lx_hybrid Program drivers/nic/linux/nic_drv Library startup Library cxx Library base Library alarm Library timer Program drivers/timer/timer Library init_pd_args Program init/init Library libc-string Library libc-locale Library libc-stdlib Library libc-stdio Library libc-gen make[3]: *** No rule to make target `flt_rounds.o', needed by `libc-gen.lib.a'. Stop. make[2]: *** [libc-gen.lib] Error 2 make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory `/home/administrator/genode1/build.lx' Error: Genode build failed make: *** [run/lwip_lx] Error 252
how can i solve this problem.
With Reg, VENKADA RAMANUJAM.S 9578520238
On Tue, Aug 20, 2013 at 6:50 PM, Norman Feske <norman.feske@...1...>wrote:
Hello Venkada,
build.lx>
because you are using Genode on Linux, no ISO is created. On Linux, Genode's core is just started as ordinary Linux process. To see what is going on under the hood, please take a look at the respective 'base-<platform>/run/env' file, which contains the platform-specific rules for integrating a Genode scenario into a bootable form.
If you execute a run script within a build directory configured for one of the non-Linux kernels on x86, the build system creates an ISO file at location '<build-dir>/var/run/<run-script-name>.iso'. Such an ISO file can be burned onto a CDROM, written to an USB stick (via 'dd'), or booted via Qemu. The latter is what happens automatically.
could you please tell me clear steps to compile genode source code for applying directly on hardware and linux platform . also how to generate iso to boot genode in x86 hardware. is any boot file required for those ?
With the exception of Linux, the boot files are created at '<build-dir>/var/run/<run-script-name>/'. Those files comprise the boot loader, boot-loader configuation, the kernel, and the binaries.
Regards Norman
-- Dr.-Ing. Norman Feske Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello Venkada,
Library libc-gen make[3]: *** No rule to make target `flt_rounds.o', needed by `libc-gen.lib.a'. Stop. make[2]: *** [libc-gen.lib] Error 2 make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory `/home/administrator/genode1/build.lx' Error: Genode build failed make: *** [run/lwip_lx] Error 252
how can i solve this problem.
you have missed to download the 3rd-party source code for the C runtime. Please change to the 'libports/' directory and issue 'make prepare PKG=libc'. Btw, you will need to do the same procedure for lwip ('make prepare PKG=lwip') as well. To see a list of the available libraries, just type 'make' without any arguments.
As an alternative to downloading library packages individually, you may prepare all available 3rd-party libraries at once by typing 'make prepare' without the 'PKG' argument.
Cheers Norman
hi,
when i put $ make prepare PKG=libc i got following error.
checking out 'lib/libutil' to 'contrib/libc-8.2.0/libutil' svn: OPTIONS of 'http://svn.freebsd.org/base/release/8.2.0/lib/libutil': Could not resolve hostname `svn.freebsd.org': No address associated with hostname (http://svn.freebsd.org) make: *** [contrib/libc-8.2.0/libutil] Error 1
With Reg, VENKADA RAMANUJAM.S 9578520238
On Fri, Aug 23, 2013 at 2:32 PM, Norman Feske <norman.feske@...1...>wrote:
Hello Venkada,
Library libc-gen make[3]: *** No rule to make target `flt_rounds.o', needed by `libc-gen.lib.a'. Stop. make[2]: *** [libc-gen.lib] Error 2 make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory `/home/administrator/genode1/build.lx' Error: Genode build failed make: *** [run/lwip_lx] Error 252
how can i solve this problem.
you have missed to download the 3rd-party source code for the C runtime. Please change to the 'libports/' directory and issue 'make prepare PKG=libc'. Btw, you will need to do the same procedure for lwip ('make prepare PKG=lwip') as well. To see a list of the available libraries, just type 'make' without any arguments.
As an alternative to downloading library packages individually, you may prepare all available 3rd-party libraries at once by typing 'make prepare' without the 'PKG' argument.
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clk... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello,
On 08/23/2013 11:54 AM, Venkada Ramanujam wrote:
hi,
when i put $ make prepare PKG=libc i got following error.
checking out 'lib/libutil' to 'contrib/libc-8.2.0/libutil' svn: OPTIONS of 'http://svn.freebsd.org/base/release/8.2.0/lib/libutil': Could not resolve hostname `svn.freebsd.org': No address associated with hostname (http://svn.freebsd.org) make: *** [contrib/libc-8.2.0/libutil] Error 1
this looks like a problem with your network connection. Can you view http://svn.freebsd.org/ in a web browser?
Christian
Hello,
On Fri, Aug 23, 2013 at 03:24:28PM +0530, Venkada Ramanujam wrote:
when i put $ make prepare PKG=libc i got following error.
checking out 'lib/libutil' to 'contrib/libc-8.2.0/libutil' svn: OPTIONS of 'http://svn.freebsd.org/base/release/8.2.0/lib/libutil': Could not resolve hostname `svn.freebsd.org': No address associated with hostname (http://svn.freebsd.org) make: *** [contrib/libc-8.2.0/libutil] Error 1
This is a network error: your host was not able to resolve the IP address for svn.freebsd.org. Is your build host connected to the internet? If yes, this issue may be temporary. Please try to resolve manually on the build host with, e.g.,
host svn.freebsd.org ping svn.freebsd.org
The prepare mimic downloads third-party sources from the internet and prepares them for the Genode build system.
Regards