assert_spec x86_64 if {[get_cmd_switch --autopilot] && [have_include "power_on/qemu"]} { puts "Run script does not support autopilot mode on Qemu" exit 0 } if {[get_cmd_switch --autopilot] && [have_board linux]} { puts "Autopilot mode is not supported on this platform." exit 0 } # # Build # set use_gpu 1 set use_top 0 set use_fb_controller 0 if {$use_fb_controller} { set apply_on_hotplug "no" } else { set apply_on_hotplug "yes" } set build_components { core lib/ld init timer drivers/acpi drivers/platform app/pci_decode drivers/framebuffer/intel/pc test/framebuffer server/report_rom server/vfs lib/vfs lib/vfs_import server/fs_rom } append_if $use_gpu build_components { drivers/gpu/intel } append_if $use_top build_components { app/top } build $build_components create_boot_directory # # Generate config # append config { } append_if $use_top config { } append config { } append_if $use_gpu config { } append config { } append_if $use_gpu config { } append config { } append_if $use_fb_controller config { } append config { } install_config $config build_boot_image [build_artifacts] if { [get_cmd_switch --autopilot] } { run_genode_until {\[init -\> init_dynamic -\> intel_fb_drv\] HDMI-A-2: enable.*} 30 } else { run_genode_until forever }