assert_spec x86 create_boot_directory build { core init timer lib/ld drivers/platform drivers/acpi drivers/ahci app/pci_decode server/report_rom app/block_tester } # # Build EXT2-file-system image # set mke2fs [installed_command mke2fs] set dd [installed_command dd] catch { exec $dd if=/dev/zero of=bin/ext2.raw bs=1M count=16 } catch { exec $mke2fs -F bin/ext2.raw } install_config { } # # Boot modules # build_boot_image [build_artifacts] append qemu_args " -nographic -device ahci,id=ahci -boot d " append qemu_args " -drive id=disk,file=bin/ext2.raw,format=raw,if=none -device ide-hd,drive=disk,bus=ahci.0 " append qemu_args " -drive id=cd,file=[run_dir]/../ahci_block.iso,if=none,media=cdrom -device ide-cd,drive=cd,bus=ahci.1 " run_genode_until "--- all tests finished ---" 100 run_genode_until "--- all tests finished ---" 100 [output_spawn_id] exec rm -f bin/ext2.raw