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 init timer drivers/acpi drivers/platform app/pci_decode drivers/framebuffer/intel/pc test/framebuffer server/report_rom server/vfs server/fs_rom lib/vfs_import } 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 { } append config { } install_config $config # # Boot modules # # generic modules set boot_modules { core ld.lib.so init timer pc_intel_fb_drv intel_fb_controller test-framebuffer report_rom fs_rom vfs vfs.lib.so vfs_import.lib.so platform_drv acpi_drv pci_decode } append_if $use_gpu boot_modules { intel_gpu_drv } append_if $use_top boot_modules { top } build_boot_image $boot_modules if { [get_cmd_switch --autopilot] } { run_genode_until {\[init -\> init_dynamic -\> intel_fb_drv\] HDMI-A-2: enable.*} 30 } else { run_genode_until forever }