if {![have_board pbxa9]} { puts "Test requires board pbxa9" exit } create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/init \ [depot_user]/src/platform_drv build { drivers/sd_card app/block_tester } install_config { } build_boot_image { pl180_sd_card_drv block_tester } set disk_image "bin/sd_card.img" if { [file exists $disk_image] == 0 } then { # create empty block device file catch { exec dd if=/dev/zero of=$disk_image bs=1M count=512 } } append qemu_args "-drive file=$disk_image,format=raw,if=sd,cache=writeback -nographic " run_genode_until forever exec rm $disk_image # vi: set ft=tcl :