]> rtime.felk.cvut.cz Git - jailhouse-test.git/commitdiff
build: l4: Add new target "make bench-bare" for launching fiasco without hypervisor...
authorMaxim Baryshnikov <barysmax@fel.cvut.cz>
Sun, 15 May 2016 10:31:18 +0000 (12:31 +0200)
committerMaxim Baryshnikov <barysmax@fel.cvut.cz>
Sun, 15 May 2016 10:31:18 +0000 (12:31 +0200)
build/boot-l4
build/l4/Makefile
build/l4/ferret-modules.list
l4

index 643bec8dae5b76545c65d9da02759f41e26839c1..5746be93bbac633773034a09d1d22bb22fd1d284 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env novaboot
 
-load benchmarks-stuff/bootstrap_bench.elf -maxmem=51M
+load l4/l4re/bin/x86_pentium/bootstrap_bench-bare.elf -maxmem=51M
 
 
index 318eaf1e03217aecd97e3880766f388c067aae9e..ca3244e7b3fb25cbbad45fee234f8c8311ec64d6 100644 (file)
@@ -7,8 +7,10 @@ help:
        @echo "  fiasco-config - Reconfigure Fiasco kernel"
        @echo "  l4re          - Build L4 runtime environment"
        @echo "  l4re-config   - Reconfigure L4 runtime environment"
-       @echo "  hello         - Build image with hello entry"
-       @echo "  benchmarks    - (Re)Build ferret directory & prepare image with benchmarks"
+       @echo "  hello         - Build image with hello entry for jailhouse"
+       @echo "  benchmarks    - (Re)Build ferret directory & prepare image with ferret scalar demo"
+       @echo "  bench         - (Re)Build benchmark directory & prepare image with benchmark for jailhouse"
+       @echo "  bench-bare    - (Re)Build benchmark directory & prepare image with benchmark for bare hardware launch"
 
 .NOTPARALLEL:
 
@@ -72,15 +74,19 @@ l4re/.stamp-jh:
 
 .PHONY: hello
 hello:
-       $(MAKE) -C l4re MODULE_SEARCH_PATH=$(CURDIR)/fiasco E=hello elfimage
+       $(MAKE) -C l4re MODULE_SEARCH_PATH=$(CURDIR)/fiasco E=hello BOOTSTRAP_PKG=bootstrap_custom elfimage
 
 .PHONY: benchmarks
 benchmarks:
        $(MAKE) -C l4re MODULE_SEARCH_PATH=$(CURDIR)/fiasco S=pkg/ferret:pkg/ferret/examples/monitors/simple_mon_re
-       $(MAKE) -C l4re MODULES_LIST=$(CURDIR)/ferret-modules.list MODULE_SEARCH_PATH=$(CURDIR)/fiasco:$(CURDIR)/ned-confs/ E=ferret-bench elfimage
+       $(MAKE) -C l4re MODULES_LIST=$(CURDIR)/ferret-modules.list MODULE_SEARCH_PATH=$(CURDIR)/fiasco:$(CURDIR)/ned-confs/ E=ferret-bench BOOTSTRAP_PKG=bootstrap_custom elfimage
 
 .PHONY: bench
 bench:
        $(MAKE) -C l4re MODULE_SEARCH_PATH=$(CURDIR)/fiasco S=pkg/benchmark
-       $(MAKE) -C l4re MODULES_LIST=$(CURDIR)/ferret-modules.list MODULE_SEARCH_PATH=$(CURDIR)/fiasco:$(CURDIR)/ned-confs/ E=bench elfimage
+       $(MAKE) -C l4re MODULES_LIST=$(CURDIR)/ferret-modules.list MODULE_SEARCH_PATH=$(CURDIR)/fiasco:$(CURDIR)/ned-confs/ E=bench BOOTSTRAP_PKG=bootstrap_custom elfimage
 
+.PHONY: bench-bare
+bench-bare:
+       $(MAKE) -C l4re MODULE_SEARCH_PATH=$(CURDIR)/fiasco S=pkg/benchmark
+       $(MAKE) -C l4re MODULES_LIST=$(CURDIR)/ferret-modules.list MODULE_SEARCH_PATH=$(CURDIR)/fiasco:$(CURDIR)/ned-confs/ E=bench-bare BOOTSTRAP_PKG=bootstrap elfimage
index b11db2052ea9c43d1f584a79c2b93cfc7c4ec553..64e11b43ca848ea61cdf85a2ec88f2afa28b54c7 100644 (file)
@@ -31,3 +31,9 @@ kernel fiasco -serial_esc
 roottask moe --init=rom/benchmark
 module l4re
 module benchmark
+
+entry bench-bare
+kernel fiasco -serial_esc
+roottask moe --init=rom/benchmark
+module l4re
+module benchmark
diff --git a/l4 b/l4
index 90396b8a810cec43686e3355b43bf290248beb4c..fb3ab8c986aa897e3f3d1e5e5f191af3978a921c 160000 (submodule)
--- a/l4
+++ b/l4
@@ -1 +1 @@
-Subproject commit 90396b8a810cec43686e3355b43bf290248beb4c
+Subproject commit fb3ab8c986aa897e3f3d1e5e5f191af3978a921c