From 0ad284febe6d719b9df6ec396bc4cae9947cbe62 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Tue, 18 Jun 2013 14:07:41 +0200 Subject: [PATCH] ahci & exynos5: AHCI (+ part_blk) bench in l4linux --- ports-foc/run/l4linux_ahci_bench.run | 136 +++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 ports-foc/run/l4linux_ahci_bench.run diff --git a/ports-foc/run/l4linux_ahci_bench.run b/ports-foc/run/l4linux_ahci_bench.run new file mode 100644 index 000000000..71bf8b36c --- /dev/null +++ b/ports-foc/run/l4linux_ahci_bench.run @@ -0,0 +1,136 @@ + +# +# settings +# +set interpose_part_blk 0 + +assert_spec foc +assert_spec exynos5 + +# +# build +# +set build_components { + core + init + drivers/timer + drivers/uart + drivers/ahci + drivers/platform + l4linux +} + +lappend_if $interpose_part_blk build_components server/part_blk + +build $build_components +create_boot_directory + +# +# genode config +# +set config { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + } + +append_if $interpose_part_blk config { + + + + + + + + + + + } + +append config { + + + + + } + +append_if $interpose_part_blk config { + + + + } + +append config { + + } + +install_config $config + +# +# boot modules +# +set boot_modules { + core + init + timer + kdb_uart_drv + l4linux + initrd.gz + ahci + platform_drv } + +lappend_if $interpose_part_blk boot_modules part_blk + +set uri "https://github.com/m-stein/genode_related/raw/master/arndale/ahci_bench/l4lx/initrd.gz" +if {![file exists bin/initrd.gz]} { + puts "Download initramfs ..." + exec >& /dev/null wget -c -O bin/initrd.gz $uri +} + +set fiasco_serial_esc_arg "" + +build_boot_image [join $boot_modules " "] + +# +# qemu +# +append qemu_args " -m 512 -nographic " + +# +# execute test +# +run_genode_until forever +