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 # create_boot_directory set use_usb 1 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" } import_from_depot [depot_user]/src/fs_rom \ [depot_user]/src/vfs \ [depot_user]/src/vfs_import \ [depot_user]/src/report_rom set build_components { core lib/ld init timer driver/acpi driver/platform app/pci_decode driver/framebuffer/intel/pc test/framebuffer } append_if $use_usb build_components { driver/usb_host } append_if $use_gpu build_components { driver/gpu/intel } append_if $use_top build_components { app/top } build $build_components # # Generate config # append config { } append_if $use_top config { } append config { } append config { } append_if $use_gpu config { } append config { } append_if $use_gpu config { } append config { } append_if $use_usb 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\] HDMI-A-3: enable.*} 30 run_genode_until {\} 20 [output_spawn_id] run_genode_until {green} 30 [output_spawn_id] } else { run_genode_until forever }