if {![have_spec x86_64]} { puts "\nSolo5 requires a 64bit architecture\n" exit 0 } if {[have_spec linux]} { puts "\nRun script is not supported on this platform\n" exit 0 } create_boot_directory import_from_depot \ genodelabs/src/[base_src] \ genodelabs/src/init \ genodelabs/src/rtc_drv \ source ${genode_dir}/repos/base/run/platform_drv.inc append config { } append_platform_drv_config append config { } [nic_drv_config] { } install_config $config append build_components { app/ping drivers/nic server/nic_bridge test/solo5/ping_serve } append_platform_drv_build_components build $build_components append boot_modules { nic_bridge ping } [nic_drv_binary] { solo5-test_ping_serve solo5.lib.so } append_platform_drv_boot_modules build_boot_image $boot_modules append qemu_args " -nographic " run_genode_until {child "ping" exited with exit value 0} 60