diff --git a/gems/run/terminal_mux.run b/gems/run/terminal_mux.run index da6007309..810438cd0 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