assert_spec x86_64
if {![have_board pc] || [expr ![have_spec nova] && ![have_spec hw]] } {
puts "Run script is only supported on hw/pc and nova/pc"
exit 0
}
set build_components { app/smbios_decoder core init timer server/report_rom }
source ${genode_dir}/repos/base/run/platform_drv.inc
append_platform_drv_build_components
build $build_components
create_boot_directory
append config {
}
append_platform_drv_config
append config {
}
install_config $config
set boot_modules {
report_rom
core init ld.lib.so
smbios_decoder
}
append_platform_drv_boot_modules
build_boot_image $boot_modules
append qemu_args " -nographic"
run_genode_until "report_rom] .*?report_rom] .*?\n" 20