#
# Build
#
set build_components {
core init timer
app/rom_logger
app/rom_to_file
lib/vfs/fatfs
lib/vfs/import
server/dynamic_rom
server/fs_rom
server/vfs_block
server/vfs
}
build $build_components
create_boot_directory
set mkfs_cmd [installed_command mkfs.vfat]
catch { exec $mkfs_cmd -C bin/fat.img -n "ROM_UPDATE" 64 }
#
# Generate config
#
append config {
}
install_config $config
#
# Boot modules
#
# generic modules
set boot_modules {
core ld.lib.so init
dynamic_rom
fat.img
fs_rom
vfs_block
rom_logger
rom_to_file
timer
vfs
vfs.lib.so
vfs_fatfs.lib.so
vfs_import.lib.so
}
build_boot_image $boot_modules
append qemu_args " -nographic"
run_genode_until {.*.*} 60
file delete bin/fat.img