mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
ee352abc56
When building Genode on a Linux system running in a Xen Dom0, the 'xen' run target can run a Genode scenario in a Xen DomU. Usage: in build/x86_*/etc/build.conf, define: RUN_OPT = --include boot_dir/$(KERNEL) --include image/iso --include power_on/xen --include log/xen --include power_off/xen The Xen DomU runs in HVM mode and loads Genode from an ISO image. Serial log output is printed to the console and graphical output is shown in an SDL window. The Xen DomU ist managed using the 'xl' command line tool and it is possible to add configuration options in the 'xen_args' variable in a run script. Common options are: - disabling the graphical output: append xen_args { sdl="0" } - configuring a network device: append xen_args { vif=\["model=e1000,mac=02:00:00:00:01:01,bridge=xenbr0"\] } - configuring USB input devices: append xen_args { usbdevice=\["mouse","keyboard"\] } Note: the 'xl' tool requires super-user permissions and interactive password input can be troublesome in combination with 'expect' and is not practical for automatic tests. For this reason, the current implementation assumes that no password input is needed when running 'sudo xl', which can be achieved by creating a file '/etc/sudoers.d/xl' with the content 'user ALL=(root) NOPASSWD: /usr/sbin/xl' (where 'user' is the Linux user name). Fixes #2504 |
||
---|---|---|
.. | ||
boot | ||
builddir | ||
depot | ||
ports | ||
run | ||
abi_symbols | ||
autopilot | ||
autopilot.list | ||
beautify | ||
create_builddir | ||
create_grub2 | ||
create_iso | ||
create_uboot | ||
cxx_to_html | ||
download_hashver | ||
download_sigver | ||
fix_include_ifndef | ||
grub2-head.img | ||
link.h | ||
parse_cxx | ||
README | ||
rump | ||
rump_cgdconf | ||
tool_chain | ||
tool_chain_rump |
This directory contains tools for managing and using the source code of Genode. :'create_builddir' The 'create_builddir' tool provides a convenient way to create build directories for different platforms. Its usage information is printed when starting the tool without arguments. :'builddir/': This directory contains a Makefile template and configuration snippets used by the 'create_builddir' tool. :'tool_chain': This tool downloads, builds, and installs the tool chain needed to build the Genode OS Framework. For getting usage information, start the tool without arguments. :'create_iso': This simple tool helps to build bootable ISO images from your build of Genode. For getting usage information, start the tool without arguments. :'create_grub2': This tool prepares a partitioned disk image with GRUB2 as boot loader. :'grub2-head.img': This file is the head part of a partioned disk image including an installation of GRUB2 as boot loader. GRUB2 is available from http://www.gnu.org/software/grub/ and in major Linux distributions. Steps to reproduce the image creation can be found in 'create_grub2'. :'beautify': Beautify is a coding-style checking tool that analyzes source code for its adherence to Genode's coding style as described in 'doc/coding_style.txt'. Whenever possible, the tool tries to fix the issues and outputs a corrected file. Some corrections, however, require human interaction. In this case, the tool stops the analysis with an error. :'parse_cxx': This tool is a C++ parser used as front-end for Beautify. :'cxx_to_html': This tool converts a C++ source file to a HTML view to be used for the API documentation at the genode.org website. It relies on 'parse_cxx' to do the actual C++ parsing. :'fix_include_ifndef': This tool helps with assigning consistent include guards to header files. :'boot': This directory contains boot-loader files needed to create boot images. :'autopilot': Autopilot is a tool for the automatic execution of run scripts among multiple base platforms.