From d7f85ef81fd76bd64f6db3ca52fa54c5aa88a834 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Thu, 21 Mar 2013 11:40:55 +0100 Subject: [PATCH] Add cli_monitor to terminal_mux.run --- gems/run/terminal_mux.run | 103 +++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 58 deletions(-) diff --git a/gems/run/terminal_mux.run b/gems/run/terminal_mux.run index da60073098..810438cd0c 100644 --- a/gems/run/terminal_mux.run +++ b/gems/run/terminal_mux.run @@ -1,6 +1,17 @@ +# +# \brief Example for using the terminal_mux server over UART +# \author Norman Feske +# \date 2013-02-20 +# + +# +# On Linux, we don't have a UART driver, on which this run script depends. +# +if {[have_spec linux]} { puts "Run script does not support Linux"; exit 0 } + set build_components { - core init drivers/timer noux/minimal lib/libc_noux test/bomb - drivers/uart server/terminal_mux server/terminal_log + core init noux/minimal lib/libc_noux app/cli_monitor test/bomb test/signal + drivers/timer drivers/uart server/terminal_mux server/terminal_log noux-pkg/vim } @@ -63,68 +74,43 @@ append config { - - + + - - - + + + + + + - - + + - - + + - - + + - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + @@ -143,6 +129,7 @@ install_config $config # generic modules set boot_modules { core init timer ld.lib.so noux terminal_mux terminal_log uart_drv + test-signal cli_monitor libc.lib.so libm.lib.so libc_noux.lib.so libc_terminal.lib.so ncurses.lib.so vim.tar } @@ -151,7 +138,7 @@ build_boot_image $boot_modules append qemu_args " -m 256 " #append qemu_args " -nographic -serial mon:stdio -serial file:/tmp/foo" -append qemu_args " -nographic -serial file:/tmp/foo -serial mon:stdio" +append qemu_args " -nographic -serial file:kdb.log -serial mon:stdio" run_genode_until forever