From 20f7d0aed02cd52dab6a25194f87aecf1ee21160 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Thu, 12 Apr 2018 13:41:47 +0200 Subject: [PATCH] Simplify noux_tool_chain_auto.run This patch make the scenario independent from device drivers, which were solely needed to display a graphical terminal. The output of the scenario is now printed via the log_terminal component, which makes the logging output of nightly tests more useful. --- repos/ports/run/noux_tool_chain_auto.run | 90 +++++++----------------- 1 file changed, 26 insertions(+), 64 deletions(-) diff --git a/repos/ports/run/noux_tool_chain_auto.run b/repos/ports/run/noux_tool_chain_auto.run index 0bc9de425..b77a008a3 100644 --- a/repos/ports/run/noux_tool_chain_auto.run +++ b/repos/ports/run/noux_tool_chain_auto.run @@ -27,10 +27,11 @@ if {[have_spec pistachio] || [have_spec sel4]} { set use_usb_input [expr ![have_spec ps2] && ![have_spec sdl] && [have_spec usb]] +create_boot_directory + set build_components { core init drivers/timer noux/minimal lib/libc_noux - drivers/framebuffer drivers/input - server/terminal server/ram_fs + server/log_terminal server/ram_fs test/libports/ncurses } @@ -128,67 +129,36 @@ exec tar cvf bin/genode.tar -C $genode_dir tool repos/base \ exec tar rvf bin/genode.tar -C [depot_dir]/.. depot/test exec rm -rf [depot_dir]/test -create_boot_directory - append config { - - - - - - - - - - - - - - - - - - - } + + + + + + + + + + + -append_if [have_spec sdl] config { - - - - - - - } + + + -append_platform_drv_config + -append_if [have_spec framebuffer] config { - - - - } - -append_if [have_spec ps2] config { - + - - } + + -append_if $use_usb_input config { - - - - - } - -append config { - + - - - + + @@ -280,7 +250,7 @@ install_config $config # generic modules set boot_modules { - core init timer ld.lib.so noux terminal ram_fs + core init timer ld.lib.so noux log_terminal ram_fs libc.lib.so libm.lib.so libc_noux.lib.so ncurses.lib.so stdcxx.lib.so pcre.lib.so posix.lib.so vimrc bash_profile } @@ -292,18 +262,10 @@ foreach pkg $noux_pkgs { append boot_modules { genode.tar } -# platform-specific modules -lappend_if [have_spec linux] boot_modules fb_sdl -lappend_if [have_spec framebuffer] boot_modules fb_drv -lappend_if [have_spec ps2] boot_modules ps2_drv -lappend_if $use_usb_input boot_modules usb_drv - -append_platform_drv_boot_modules - build_boot_image $boot_modules -append qemu_args " -m 768 " +append qemu_args " -nographic -m 768 " # wait until Noux started run_genode_until {\[init -\> noux\].*--- noux started ---} $noux_boot_timeout