ec7d990bda3959bc4581a882e99cc1794f1c3995
[barrelfish] / platforms / Hakefile
1 --------------------------------------------------------------------------
2 -- Copyright (c) 2015-2016 ETH Zurich.
3 -- All rights reserved.
4 --
5 -- This file is distributed under the terms in the attached LICENSE file.
6 -- If you do not find this file, copies can be found by writing to:
7 -- ETH Zurich D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group.
8 --
9 -- Hakefile for /platforms/
10 --
11 --------------------------------------------------------------------------
12
13 let bin_rcce_lu = [ "/sbin/" ++ f | f <- [
14                         "rcce_lu_A1",
15                         "rcce_lu_A2",
16                         "rcce_lu_A4",
17                         "rcce_lu_A8",
18                         "rcce_lu_A16",
19                         "rcce_lu_A32",
20                         "rcce_lu_A64" ]]
21
22     bin_rcce_bt = [ "/sbin/" ++ f | f <- [
23                         "rcce_bt_A1",
24                         "rcce_bt_A4",
25                         "rcce_bt_A9",
26                         "rcce_bt_A16",
27                         "rcce_bt_A25",
28                         "rcce_bt_A36" ]]
29
30     tests_common = [ "/sbin/" ++ f | f <- [
31                         "fputest",
32                         "hellotest",
33                         "idctest",
34                         "memtest",
35                         "nkmtest_all",
36                         "nkmtest_map_unmap",
37                         "nkmtest_modify_flags",
38                         "nkmtest_map_offset",
39                         "schedtest",
40                         "test_retype",
41                         "test_rootcn_resize",
42                         "test_create_l1l2_cnodes",
43                         "test_remote_retype",
44                         "test_remote_delete",
45                         "test_remote_revoke",
46                         "testerror",
47                         "yield_test",
48                         "skb_cap_storage"
49                     ] ]
50
51     tests_x86 = [ "/sbin/" ++ f | f <- [
52                         "tests/luatest",
53                         "tests/numatest" ] ] ++ tests_common
54
55     tests_x86_64 = [ "/sbin/" ++ f | f <- [
56                         "arrakis_hellotest",
57                         "ata_rw28_test",
58                         "bomp_cpu_bound",
59                         "bomp_cpu_bound_progress",
60                         "bomp_sync",
61                         "bomp_sync_progress",
62                         "bomp_test",
63                         "bulk_shm",
64                         "cryptotest",
65                         "fread_test",
66                         "fscanf_test",
67                         "mdbtest_addr_zero",
68                         "mdbtest_range_query",
69                         "mem_affinity",
70                         "multihoptest",
71                         "net-test",
72                         "net_openport_test",
73                         "nkmtest_invalid_mappings",
74                         "perfmontest",
75                         "phoenix_kmeans",
76                         "socketpipetest",
77                         "spantest",
78                         "spin",
79                         "testconcurrent",
80                         "testdesc",
81                         "testdesc-child",
82                         "tests/cxxtest",
83                         "tests/dma_test",
84                         "tests/tftpclient",
85                         "tests/xphi_nameservice_test",
86                         "thcidctest",
87                         "thcminitest",
88                         "thctest",
89                         "timer_test",
90                         "tlstest",
91                         "tweedtest",
92                         "xcorecap",
93                         "xcorecapserv" ] ] ++ tests_x86
94
95
96     tests_k1om = [ "/sbin/" ++ f | f <- [
97                         "tests/dma_test",
98                         "tests/xeon_phi_inter",
99                         "tests/xeon_phi_test",
100                         "tests/xphi_nameservice_test" ] ] ++ tests_x86
101
102     bench_common = [ "/sbin/" ++ f | f <- [
103                         "channel_cost_bench",
104                         "flounder_stubs_buffer_bench",
105                         "flounder_stubs_empty_bench",
106                         "flounder_stubs_payload_bench",
107                         "xcorecapbench" ]]
108
109     bench_x86 =  [ "/sbin/" ++ f | f <- [
110                       "multihop_latency_bench",
111                       "net_openport_test",
112                       "perfmontest",
113                       "thc_v_flounder_empty",
114                       "timer_test",
115                       "udp_throughput",
116                       "ump_exchange",
117                       "ump_latency",
118                       "ump_latency_cache",
119                       "ump_receive",
120                       "ump_send",
121                       "ump_throughput" ]]
122
123     bench_x86_64 = bench_x86 ++ bin_rcce_bt ++ bin_rcce_lu ++
124                    [ "/sbin/" ++ f | f <- [
125                         "ahci_bench",
126                         "apicdrift_bench",
127                         "benchmarks/bomp_mm",
128                         "benchmarks/dma_bench",
129                         "benchmarks/xomp_share",
130                         "benchmarks/xomp_spawn",
131                         "benchmarks/xomp_work",
132                         "benchmarks/xphi_ump_bench",
133                         "bomp_benchmark_cg",
134                         "bomp_benchmark_ft",
135                         "bomp_benchmark_is",
136                         "bulk_transfer_passthrough",
137                         "bulkbench",
138                         "bulkbench_micro_echo",
139                         "bulkbench_micro_rtt",
140                         "bulkbench_micro_throughput",
141                         "elb_app",
142                         "elb_app_tcp",
143                         "lrpc_bench",
144                         "mdb_bench",
145                         "mdb_bench_old",
146                         "netthroughput",
147                         "phases_bench",
148                         "phases_scale_bench",
149                         "placement_bench",
150                         "rcce_pingpong",
151                         "shared_mem_clock_bench",
152                         "tsc_bench" ]]
153
154
155     bench_k1om = [ "/sbin/" ++ f | f <- [
156                         "benchmarks/bomp_mm",
157                         "benchmarks/dma_bench",
158                         "benchmarks/xomp_share",
159                         "benchmarks/xomp_spawn",
160                         "benchmarks/xomp_work",
161                         "benchmarks/xphi_ump_bench",
162                         "benchmarks/xphi_xump_bench" ] ] ++ bench_x86
163
164     -- Default list of modules to build/install for all enabled architectures
165     modules_common = [ "/sbin/" ++ f | f <- [
166                           "init",
167                           "skb",
168                           "spawnd",
169                           "startd",
170                           "mem_serv",
171                           "monitor",
172                           "ramfsd" ]]
173
174     -- List of modules that are arch-independent and always built
175     modules_generic = [
176         "/eclipseclp_ramfs.cpio.gz",
177         "/skb_ramfs.cpio.gz" ]
178
179     -- x86_64-specific modules to build by default
180     -- this should shrink as targets are ported and move into the generic list above
181     modules_x86_64  = [ "/sbin/" ++ f | f <- [
182                            "elver",
183                            "cpu",
184                            "acpi",
185                            "ahcid",
186                            "angler",
187                            "arrakismon",
188                            "bcached",
189                            "bench",
190                            "bfscope",
191                            "block_server",
192                            "block_server_client",
193                            "boot_perfmon",
194                            "bs_user",
195                            "bulk_shm",
196                            "corectrl",
197                            "datagatherer",
198                            "dma_mgr",
199                            "e1000n",
200                            "e10k",
201                            "e10k_queue",
202                            "echoserver",
203                            "fbdemo",
204                            "fish",
205                            "hpet",
206                            "ioat_dma",
207                            "kaluga",
208                            "lo_queue",
209                            "lpc_kbd",
210                            "lpc_timer",
211                            "lshw",
212                            "mem_serv_dist",
213                            "netd",
214                            "NGD_mng",
215                            "pci",
216                            "routing_setup",
217                            "rtl8029",
218                            "serial_pc16550d",
219                            "sfxge",
220                            "sfn5122f",
221                            "slideshow",
222                            "vbe",
223                            "virtio_blk",
224                            "virtio_blk_host",
225                            "vmkitmon",
226                            "vnode_map_test",
227                            "webserver",
228                            "xeon_phi",
229                            "xeon_phi_mgr",
230                            "driverdomain"
231                            ]] ++ modules_common
232
233     -- the following are broken in the newidc system
234     modules_x86_64_broken  = [ "/sbin/" ++ f | f <- [
235                                   "barriers",
236                                   "ipi_bench",
237                                   "ring_barriers",
238                                   "ssf_bcast",
239                                   "lamport_bcast" ]]
240
241
242     modules_k1om = [ "/sbin/" ++ f | f <- [
243                         "weever",
244                         "cpu",
245                         "xeon_phi",
246                         "corectrl" ] ]
247
248     -- ARMv7-a Pandaboard modules
249     pandaModules = [ "/sbin/" ++ f | f <- [
250                         "cpu_omap44xx",
251                         "init",
252                         "mem_serv",
253                         "monitor",
254                         "ramfsd",
255                         "spawnd",
256                         "startd",
257                         "skb",
258                         "memtest",
259                         "kaluga",
260                         "fish",
261                         "sdma",
262                         "sdmatest",
263                         "sdma_bench",
264                         "bulk_sdma",
265                         "usb_manager",
266                         "usb_keyboard",
267                         "serial_omap44xx",
268                         "serial_kernel",
269                         "angler",
270                         "corectrl",
271                         "fdif",
272                         "mmchs"
273                         ] ]
274
275     -- ARMv7-A modules for Versatile Express EMM board (GEM5, qemu)
276     vExpressEMMModules_A15 = [ "/sbin/" ++ f | f <- [
277                                "cpu_a15ve",
278                                "init",
279                                "kaluga",
280                                "mem_serv",
281                                "monitor",
282                                "ramfsd",
283                                "serial_pl011",
284                                "serial_kernel",
285                                "spawnd",
286                                "startd",
287                                "corectrl",
288                                "skb",
289                                "angler",
290                                "fish",
291                                "memtest"
292                                ] ]
293
294     -- ARMv7-A modules for Versatile Express EMM board (FVP)
295     vExpressEMMModules_A9 = [ "/sbin/" ++ f | f <- [
296                               "cpu_a9ve",
297                               "init",
298                               "kaluga",
299                               "mem_serv",
300                               "monitor",
301                               "ramfsd",
302                               "serial_pl011",
303                               "serial_kernel",
304                               "spawnd",
305                               "startd",
306                               "corectrl",
307                               "skb",
308                               "angler",
309                               "fish",
310                               "memtest"
311                               ] ]
312
313     -- ARMv7-A modules for the Xilinx Zynq7000
314     zynq7Modules = [ "/sbin/" ++ f | f <- [
315                      "cpu_zynq7",
316                      "init",
317                      "kaluga",
318                      "mem_serv",
319                      "monitor",
320                      "ramfsd",
321                      "serial_kernel",
322                      "spawnd",
323                      "startd",
324                      "corectrl",
325                      "skb",
326                      "angler",
327                      "fish",
328                      "memtest"
329                      ] ]
330
331
332     -- ARMv8 modules for running under QEMU
333     armv8_modules= [ "/sbin/" ++ f | f <- [
334                        "init",
335                        "mem_serv",
336                        "monitor",
337                        "ramfsd",
338                        "spawnd",
339                        "startd",
340                        "corectrl",
341                        "skb",
342                        "pci",
343                        "memtest",
344                        "serial_kernel",
345                        "fish",
346                        "angler",
347                        "kaluga",
348                        "acpi"
349                        ] ]
350
351     armv7Image target bootTarget cpuTarget physBase modules =
352         let bootDriver = "/sbin/boot_" ++ bootTarget
353             cpuDriver  = "/sbin/cpu_"  ++ cpuTarget
354             image      = "/" ++ target ++ "_image"
355         in Rules [
356             Rule ([ In BuildTree "tools" "/bin/arm_bootimage",
357                     In BuildTree "root" ("/platforms/arm/menu.lst."++target),
358                     In BuildTree "armv7" bootDriver,
359                     Out "root" image,
360                     NoDep BuildTree "root" "/",
361                     Str physBase ] ++
362                     [ (Dep BuildTree "armv7" m) | m <- modules ] ++
363                     [ (Dep BuildTree "" m) | m <- modules_generic ] ),
364
365             Rule ([ Str Config.arm_objcopy,
366                     Str "-O binary",
367                     In BuildTree "root" image,
368                     Out "root" (image ++ ".bin") ]),
369             Rule ([ In SrcTree "tools" "/tools/arm_boot/gdb_script.sh",
370                     Str Config.arm_objdump,
371                     In BuildTree "root" image,
372                     In BuildTree "armv7" bootDriver,
373                     In BuildTree "armv7" cpuDriver,
374                     Out "root" (image ++ "-gdb.gdb") ])
375             ]
376   in
377  [
378    --
379    -- Rules to build assorted platforms
380    --
381
382     platform "X86_64_Basic" [ "x86_64" ]
383       ([ ("x86_64", f) | f <- modules_x86_64 ]
384        ++
385        [ ("",       f) | f <- modules_generic])
386       "Basic 64-bit x86 PC build",
387
388     platform "X86_64_Benchmarks" [ "x86_64" ]
389       ([ ("x86_64", f) | f <- modules_x86_64 ++ bench_x86_64]
390        ++
391        [ ("",       f) | f <- modules_generic])
392       "64-bit x86 PC build with benchmarks",
393
394     platform "X86_64_Full" [ "x86_64" ]
395       ([ ("x86_64", f) | f <- modules_x86_64 ++ bench_x86_64 ++ tests_x86_64 ]
396        ++
397        [ ("",       f) | f <- modules_generic])
398       "64-bit x86 PC build with benchmarks and test suites",
399
400     platform "K1OM_Basic" [ "k1om" ]
401       ([ ("k1om", f) | f <- modules_k1om ]
402        ++
403        [ ("",       f) | f <- modules_generic])
404       "Basic Xeon Phi build",
405
406     platform "K1OM_Benchmarks" [ "k1om" ]
407       ([ ("k1om", f) | f <- modules_k1om ++ bench_k1om]
408        ++
409        [ ("",       f) | f <- modules_generic])
410       "Xeon Phi build with benchmarks",
411
412     platform "K1OM_Full" [ "k1om" ]
413       ([ ("k1om", f) | f <- modules_k1om ++ bench_k1om ++ tests_k1om ]
414        ++
415        [ ("",       f) | f <- modules_generic])
416       "Xeon Phi build with benchmarks and test suites",
417
418     platform "QEMU" [ "armv8" ]
419       ([ ("armv8", "/sbin/cpu_a57v") ]
420        ++
421        [ ("armv8", f) | f <- armv8_modules ]
422        ++
423        [ ("",       f) | f <- modules_generic])
424     "ARM Virtual Machine Board with ARM Cortex A57 processors in Qemu.",
425
426     platform "APM88xxxx" [ "armv8" ]
427     ([ ("armv8", "/sbin/cpu_apm88xxxx"), ("armv8", "/sbin/boot_armv8_generic")]
428        ++
429        [ ("armv8", f) | f <- armv8_modules ]
430        ++
431        [ ("",       f) | f <- modules_generic]
432     )
433     "The APM XGene development board (Mustang)",
434
435     platform "ThunderX" [ "armv8" ]
436     ([ ("armv8", "/sbin/cpu_cn88xx"), ("armv8", "/sbin/boot_armv8_generic") ]
437        ++
438        [ ("armv8", f) | f <- armv8_modules ]
439        ++
440        [ ("",       f) | f <- modules_generic]
441     )
442     "Cavium ThunderX-1 (CN88xx) boards",
443
444     platform "PandaboardES" [ "armv7" ]
445     ([ ("armv7", f) | f <- pandaModules ] ++
446      [ ("root", "/armv7_omap44xx_image"),
447        ("root", "/armv7_omap44xx_image-gdb.gdb") ])
448     "Standard Pandaboard ES build image and modules",
449
450     platform "VExpressEMM-A15" [ "armv7" ]
451     ([ ("armv7", f) | f <- vExpressEMMModules_A15 ] ++
452      [ ("root", "/armv7_a15ve_1_image"),
453        ("root", "/armv7_a15ve_1_image-gdb.gdb"),
454        ("root", "/armv7_a15ve_fvp_1_image"),
455        ("root", "/armv7_a15ve_fvp_1_image-gdb.gdb"),
456        ("root", "/armv7_a15ve_4_image"),
457        ("root", "/armv7_a15ve_4_image-gdb.gdb"),
458        ("root", "/armv7_a15ve_fvp_4_image"),
459        ("root", "/armv7_a15ve_fvp_4_image-gdb.gdb"),
460        ("root", "/armv7_a15ve_gem5_image"),
461        ("root", "/armv7_a15ve_gem5_image-gdb.gdb") ])
462     "VersatileExpress EMM board with ARM Cortex-A15s",
463
464     platform "VExpressEMM-A15-A7" [ "armv7" ]
465     ([ ("armv7", f) | f <- vExpressEMMModules_A15 ] ++
466      [ ("root", "/armv7_a15a7ve_image"),
467        ("root", "/armv7_a15a7ve_image-gdb.gdb") ])
468     "VersatileExpress EMM board with ARM Cortex-A15s and A7s",
469
470     platform "VExpressEMM-A9" [ "armv7" ]
471     ([ ("armv7", f) | f <- vExpressEMMModules_A9 ] ++
472      [ ("root", "/armv7_a9ve_1_image"),
473        ("root", "/armv7_a9ve_1_image-gdb.gdb"),
474        ("root", "/armv7_a9ve_4_image"),
475        ("root", "/armv7_a9ve_4_image-gdb.gdb") ])
476     "VersatileExpress EMM board for ARMv7-A Fixed Virtual Platforms",
477
478     platform "Zynq7000" [ "armv7" ]
479     ([ ("armv7", f) | f <- zynq7Modules ] ++
480      [ ("root", "/armv7_zynq7_image"),
481        ("root", "/armv7_zynq7_image-gdb.gdb") ])
482     "Xilinx Zynq7000",
483
484     --
485     -- Rules to build assorted boot images
486     --
487
488     -- Build the default PandaBoard boot image
489     armv7Image "armv7_omap44xx" "omap44xx" "omap44xx" "0x80000000" pandaModules,
490
491     -- Build the A15 simulation image (VersatileExpress EMM board, 1 core)
492     armv7Image "armv7_a15ve_1" "ve" "a15ve" "0x80000000" vExpressEMMModules_A15,
493
494     -- Build the A15 simulation image (VersatileExpress EMM board, 1 core, FVP
495     -- quirks)
496     armv7Image "armv7_a15ve_fvp_1" "ve" "a15ve" "0x80000000" vExpressEMMModules_A15,
497
498     -- Build the A15 simulation image (VersatileExpress EMM board, 4 cores)
499     armv7Image "armv7_a15ve_4" "ve" "a15ve" "0x80000000" vExpressEMMModules_A15,
500
501     -- Build the A15 simulation image (VersatileExpress EMM board, 4 cores,
502     -- FVP quirks)
503     armv7Image "armv7_a15ve_fvp_4" "ve" "a15ve" "0x80000000" vExpressEMMModules_A15,
504
505     -- Build the A15 simulation image (VersatileExpress EMM board, with GEM5
506     -- quirks)
507     armv7Image "armv7_a15ve_gem5" "ve" "a15ve" "0x80000000" vExpressEMMModules_A15,
508
509     -- Build the big.LITTLE A15/A7 simulation image (VersatileExpress EMM
510     -- board, 4+4 cores)
511     armv7Image "armv7_a15a7ve" "ve" "a15ve" "0x80000000" vExpressEMMModules_A15,
512
513     -- Build the A9 simulation image (VersatileExpress EMM board, 1 core)
514     armv7Image "armv7_a9ve_1" "ve" "a9ve" "0x80000000" vExpressEMMModules_A9,
515
516     -- Build the A9 simulation image (VersatileExpress EMM board, 4 cores)
517     armv7Image "armv7_a9ve_4" "ve" "a9ve" "0x80000000" vExpressEMMModules_A9,
518
519     -- Build the Zynq7000 image
520     armv7Image "armv7_zynq7" "zynq7" "zynq7" "0x00000000" zynq7Modules,
521
522     --
523     -- Booting: various targets for booting Barrelfish under different circumstances
524     --
525
526     -- Copy menu.list files across
527     Rules [ copyFile SrcTree "root" ("/hake/menu.lst." ++ p)
528                      "root" ("/platforms/arm/menu.lst." ++ p)
529             | p <- [ "armv8_a57v",
530                      "armv8_a57v_1",
531                      "armv8_apm88xxxx",
532                      "armv8_cn88xx",
533                      "armv7_a9ve_1",
534                      "armv7_a9ve_4",
535                      "armv7_a15ve_1",
536                      "armv7_a15ve_4",
537                      "armv7_a15ve_fvp_1",
538                      "armv7_a15ve_fvp_4",
539                      "armv7_a15ve_gem5",
540                      "armv7_a15a7ve",
541                      "armv7_omap44xx",
542                      "armv7_zynq7" ]],
543     Rules [ copyFile SrcTree "root" ("/hake/menu.lst." ++ p)
544                      "root" ("/platforms/x86/menu.lst." ++ p)
545             | p <- [ "x86_64", "k1om" ] ],
546
547
548     boot "gem5_armv7_vexpressemm" [ "armv7" ] [
549       In SrcTree "tools" "/tools/arm_gem5/boot_gem5.sh",
550       Str "VExpress_EMM",
551       In BuildTree "root" "/armv7_a15ve_gem5_image" ]
552     "Boot an ARMv7a multicore image on a VersatileExpress EMM board in GEM5",
553
554     boot "FVP_VE_A5x1" [ "armv7" ] [
555       Str "FVP_VE_Cortex-A5x1",
556       In BuildTree "root" "/armv7_a9ve_1_image" ]
557     "Boot on a single-core Cortex-A5 FVP model",
558
559     boot "FVP_VE_A7x1" [ "armv7" ] [
560       Str "FVP_VE_Cortex-A7x1",
561       In BuildTree "root" "/armv7_a15ve_fvp_1_image" ]
562     "Boot on a single-core Cortex-A7 FVP model",
563
564     boot "FVP_VE_A9x1" [ "armv7" ] [
565       Str "FVP_VE_Cortex-A9x1",
566       In BuildTree "root" "/armv7_a9ve_1_image" ]
567     "Boot on a single-core Cortex-A9 FVP model",
568
569     boot "FVP_VE_A9x4" [ "armv7" ] [
570       Str "FVP_VE_Cortex-A9x4",
571       In BuildTree "root" "/armv7_a9ve_4_image" ]
572     "Boot on a four-core Cortex-A9 FVP model",
573
574     boot "FVP_VE_A15x1" [ "armv7" ] [
575       Str "FVP_VE_Cortex-A15x1",
576       In BuildTree "root" "/armv7_a15ve_fvp_1_image" ]
577     "Boot on a single-core Cortex-A15 FVP model",
578
579     boot "FVP_VE_A15x4" [ "armv7" ] [
580       Str "FVP_VE_Cortex-A15x4-A7x4",
581       In BuildTree "root" "/armv7_a15ve_fvp_4_image" ]
582     "Boot on a four-core Cortex-A15 FVP model",
583
584     boot "FVP_VE_A15x4_A7x4" [ "armv7" ] [
585       Str "FVP_VE_Cortex-A15x4-A7x4",
586       NStr "-a coretile.cluster0.*=",
587       In BuildTree "root" "/armv7_a15a7ve_image",
588       NStr "-a coretile.cluster1.*=",
589       In BuildTree "root" "/armv7_a15a7ve_image",
590       Str "-C",
591       Str "coretile.dualclustersystemconfigurationblock.CFG_ACTIVECLUSTER=0x3"
592     ]
593     "Boot on a 4+4-core Cortex-A15/A7 FVP model",
594
595     boot "FVP_VE_A17x1" [ "armv7" ] [
596       Str "FVP_VE_Cortex-A17x1",
597       In BuildTree "root" "/armv7_a15ve_fvp_1_image" ]
598     "Boot on a single-core Cortex-A17 FVP model",
599
600     boot "qemu_a15ve_1" [ "armv7" ] [
601       In SrcTree "tools" "/tools/qemu-wrapper.sh",
602       Str "--image", In BuildTree "root" "/armv7_a15ve_1_image",
603       Str "--arch", Str "a15ve",
604       Str "--smp", Str "1" ]
605     "Boot QEMU in 32-bit ARM mode emulating a Versatile Express board (1 core)",
606
607     boot "qemu_a15ve_4" [ "armv7" ] [
608       In SrcTree "tools" "/tools/qemu-wrapper.sh",
609       Str "--image", In BuildTree "root" "/armv7_a15ve_4_image",
610       Str "--arch", Str "a15ve",
611       Str "--smp", Str "4" ]
612     "Boot QEMU in 32-bit ARM mode emulating a Versatile Express board (4 cores)",
613
614     boot "qemu_zynq7" [ "armv7" ] [
615       In SrcTree "tools" "/tools/qemu-wrapper.sh",
616       Str "--image", In BuildTree "root" "/armv7_zynq7_image",
617       Str "--arch", Str "zynq7" ]
618     "Boot QEMU in 32-bit ARM mode emulating a Zynq 7000",
619
620     boot "qemu_a57v" [ "armv8" ] ([
621       In SrcTree "tools" "/tools/qemu-wrapper.sh",
622       Str "--menu", In BuildTree "root" "/platforms/arm/menu.lst.armv8_a57v",
623       Str "--arch", Str "armv8",
624       Str "--hagfish", Str Config.hagfish_location ]
625       ++ [(Dep BuildTree "armv8" f) | f <- armv8_modules ]
626       ++ [(Dep BuildTree "armv8" "/sbin/cpu_a57v")]
627       ++ [(Dep BuildTree "" f) | f <- modules_generic ])
628     "Boot QEMU in 64-bit ARM mode emulating a ARM Virtual Machine",
629
630     boot "qemu_a57v_debug" [ "armv8" ] ([
631       In SrcTree "tools" "/tools/qemu-wrapper.sh",
632       Str "--menu", In BuildTree "root" "/platforms/arm/menu.lst.armv8_a57v",
633       Str "--arch", Str "armv8",
634       Str "--hagfish", Str Config.hagfish_location,
635       Str "--debug", In SrcTree "tools" "/tools/debug.armv8.gdb" ]
636       ++ [(Dep BuildTree "armv8" f) | f <- armv8_modules ]
637       ++ [(Dep BuildTree "armv8" "/sbin/cpu_a57v")]
638       ++ [(Dep BuildTree "" f) | f <- modules_generic ])
639     "Boot QEMU in 64-bit ARM mode emulating a ARM Virtual Machine",
640
641     boot "qemu_x86_64" [ "x86_64" ] ([
642       In SrcTree "tools" "/tools/qemu-wrapper.sh",
643       Str "--menu", In BuildTree "root" "/platforms/x86/menu.lst.x86_64",
644       Str "--arch", Str "x86_64" ] ++ [
645       (Dep BuildTree "x86_64" f) | f <- modules_x86_64 ] ++ [
646       (Dep BuildTree "" f) | f <- modules_generic ])
647     "Boot QEMU in 64-bit x86 mode emulating a PC",
648
649     boot "qemu_x86_64_debug" [ "x86_64" ] ([
650       In SrcTree "tools" "/tools/qemu-wrapper.sh",
651       Str "--menu", In BuildTree "root" "/platforms/x86/menu.lst.x86_64",
652       Str "--arch", Str "x86_64",
653       Str "--debug", In SrcTree "tools" "/tools/debug.gdb" ] ++ [
654       (Dep BuildTree "x86_64" f) | f <- modules_x86_64 ] ++ [
655       (Dep BuildTree "" f) | f <- modules_generic ])
656     "Boot QEMU under GDB in 64-bit x86 mode emulating a PC",
657
658     boot "usbboot_panda" [ "armv7" ] [
659       In BuildTree "tools" "/bin/usbboot",
660       In BuildTree "root" "/armv7_omap44xx_image"
661     ]
662     "Boot Barrelfish on a Pandaboard, over a local USB cable"
663
664  ]