# # \brief Example for using the terminal_mux server over UART # \author Norman Feske # \date 2013-02-20 # assert_spec x86 # # 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 noux lib/libc_noux app/cli_monitor test/bomb test/signal test/resource_yield timer drivers/uart server/terminal_mux server/terminal_log noux-pkg/vim } build $build_components create_boot_directory append config { } install_config $config # # Boot modules # # generic modules set boot_modules { core init timer ld.lib.so noux terminal_mux terminal_log test-signal cli_monitor test-resource_yield posix.lib.so libc.lib.so vfs.lib.so libm.lib.so libc_noux.lib.so libc_terminal.lib.so ncurses.lib.so vim.tar pc_uart_drv } set fiasco_serial_esc_arg "" build_boot_image $boot_modules append qemu_args " -nographic " # # On all kernels, we write the core debug output to the kdb.log file, # and use qemu's stdio as the UART used by terminal_mux. # append qemu_args " -serial file:kdb.log " append qemu_args " -serial mon:stdio" run_genode_until forever