if {[have_spec imx6q_sabrelite] || [have_spec imx7d_sabre] || ([get_cmd_switch --autopilot] && [have_spec linux]) || ([get_cmd_switch --autopilot] && [have_include "power_on/qemu"])} { puts "Run script does not support this platform." exit 0 } create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/pkg/[drivers_interactive_pkg] \ [depot_user]/src/rom_filter \ [depot_user]/src/report_rom \ [depot_user]/src/global_keys_handler \ [depot_user]/src/nitpicker \ [depot_user]/src/nit_focus \ [depot_user]/src/demo \ [depot_user]/src/init build { app/status_bar test/nitpicker } install_config { } # # Create launchpad configuration # set launchpad_config_fd [open "bin/launchpad.config" w] puts $launchpad_config_fd { } close $launchpad_config_fd build_boot_image { status_bar testnit launchpad.config } if {[get_cmd_switch --autopilot]} { run_genode_until {\[init -> scout\] png is.*\n} 40 grep_output {(requests resources: ram_quota)|(Error)} # remove Error messages which are not fatal, mostly unify_output {(?n)^.*platform_drv] Error:.*ACPI table information is wrong.*$} "" unify_output {(?n)^.*platform_drv] Error: adjust size from.*$} "" unify_output {(?n)^.*acpi_drv] Error:.*platform_info.*$} "" unify_output {(?n)^.*ps2_drv] Error: no data available.*$} "" unify_output {(?n)^.*ps2_drv] Error: failed to read from port.*$} "" compare_output_to {} } else { run_genode_until forever }