if {![have_include power_on/qemu]} { puts "\n Run script is not supported on this platform. \n" exit 0 } # # Build # set build_components { core init timer drivers/nic lib/vfs/lwip app/umurmur } source ${genode_dir}/repos/base/run/platform_drv.inc append_platform_drv_build_components build $build_components create_boot_directory # # Generate config # set config { } append_platform_drv_config append config { 2018-09-24 00:00 012345678 max_bandwidth = 48000; welcometext = "Welcome to uMurmur!"; # certificate = "/etc/umurmur/cert.crt"; # private_key = "/etc/umurmur/key.key"; password = ""; max_users = 10; channels = ( { name = "Root"; parent = ""; description = "Root channel. No entry."; noenter = true; }, { name = "Lobby"; parent = "Root"; description = "Lobby channel"; } ); default_channel = "Lobby"; } append config { } install_config $config # # Boot modules # # generic modules set boot_modules { core init timer nic_drv ld.lib.so libc.lib.so vfs.lib.so vfs_lwip.lib.so libcrypto.lib.so libssl.lib.so libm.lib.so posix.lib.so libconfig.lib.so protobuf-c.lib.so umurmur } # platform-specific modules append_platform_drv_boot_modules build_boot_image $boot_modules # # Execute test case # # qemu config append qemu_args " -nographic -net nic,model=e1000 " append qemu_args " -net user -redir tcp:64738::64738 " run_genode_until forever # vi: set ft=tcl :