# # Build # if {[have_spec hw_odroid_xu]} { puts "Run script not supported on this platform."; exit 0 } set build_components { core init drivers/timer server/nitpicker server/dynamic_rom drivers/framebuffer drivers/input app/trace_subject_reporter app/cpu_load_display app/cpu_burner } lappend_if [have_spec usb] build_components drivers/usb lappend_if [have_spec gpio] build_components drivers/gpio source ${genode_dir}/repos/base/run/platform_drv.inc append_platform_drv_build_components build $build_components create_boot_directory # # Generate config # append config { } append_if [have_spec sdl] config { } append_platform_drv_config append_if [have_spec framebuffer] config { } append_if [have_spec gpio] config { } append_if [have_spec imx53] config { } append_if [have_spec ps2] config { } append_if [expr ![have_spec ps2] && [have_spec usb]] config { } append config { } install_config $config # copy backdrop PNG images to bin directory foreach file { genode_logo.png grid.png } { file copy -force [genode_dir]/repos/gems/src/app/backdrop/$file bin/ } # # Boot modules # # generic modules set boot_modules { core init timer nitpicker report_rom dynamic_rom cpu_load_display cpu_burner trace_subject_reporter } # platform-specific modules append_platform_drv_boot_modules lappend_if [have_spec linux] boot_modules fb_sdl lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [have_spec usb] boot_modules usb_drv lappend_if [have_spec gpio] boot_modules gpio_drv lappend_if [have_spec imx53] boot_modules input_drv build_boot_image $boot_modules append qemu_args " -m 256 " append qemu_args " -smp 4,cores=4 " run_genode_until forever