xref: /freebsd/tools/boot/boot-test.json (revision a7ebe2d436e5d2fabf223796f992683c17acf50f)
1*a7ebe2d4SWarner Losh{
2*a7ebe2d4SWarner Losh  "defaults": {
3*a7ebe2d4SWarner Losh    "byte_order": "little",
4*a7ebe2d4SWarner Losh    "kernconf": "GENERIC",
5*a7ebe2d4SWarner Losh    "timeout": 90,
6*a7ebe2d4SWarner Losh    "caps": [],
7*a7ebe2d4SWarner Losh    "freebsd_version": "15.1",
8*a7ebe2d4SWarner Losh    "netboot_nic": "e1000",
9*a7ebe2d4SWarner Losh    "netboot_subnet_base": "198.18.0.0",
10*a7ebe2d4SWarner Losh    "efi_loaders": ["loader_lua", "loader_4th", "loader_simp", "boot1"]
11*a7ebe2d4SWarner Losh  },
12*a7ebe2d4SWarner Losh  "arch": {
13*a7ebe2d4SWarner Losh    "amd64": {
14*a7ebe2d4SWarner Losh      "qemu_bin": "qemu-system-x86_64",
15*a7ebe2d4SWarner Losh      "efi_firmware": "/usr/local/share/qemu/edk2-x86_64-code.fd",
16*a7ebe2d4SWarner Losh      "efi_bootname": "bootx64",
17*a7ebe2d4SWarner Losh      "caps": ["bios", "efi", "linuxboot", "zfs", "mbr", "cd", "netboot"],
18*a7ebe2d4SWarner Losh      "bios_loaders": ["lua", "4th", "simp"],
19*a7ebe2d4SWarner Losh      "linux_console": "console=ttyS0,115200",
20*a7ebe2d4SWarner Losh      "target": "amd64",
21*a7ebe2d4SWarner Losh      "target_arch": "amd64",
22*a7ebe2d4SWarner Losh      "netboot_ipxe": "/usr/local/share/ipxe/ipxe.efi-x86_64.usb",
23*a7ebe2d4SWarner Losh      "netboot_efi_vars": "/usr/local/share/qemu/edk2-i386-vars.fd",
24*a7ebe2d4SWarner Losh      "netboot_memdisk": "/usr/local/share/syslinux/bios/memdisk/memdisk",
25*a7ebe2d4SWarner Losh      "hints": "sys/amd64/conf/GENERIC.hints"
26*a7ebe2d4SWarner Losh    },
27*a7ebe2d4SWarner Losh    "aarch64": {
28*a7ebe2d4SWarner Losh      "qemu_bin": "qemu-system-aarch64",
29*a7ebe2d4SWarner Losh      "qemu_machine": "-machine virt,gic-version=3",
30*a7ebe2d4SWarner Losh      "qemu_extra": "-cpu cortex-a57 -smp 4",
31*a7ebe2d4SWarner Losh      "efi_firmware": "/usr/local/share/qemu/edk2-aarch64-code.fd",
32*a7ebe2d4SWarner Losh      "efi_bootname": "bootaa64",
33*a7ebe2d4SWarner Losh      "caps": ["efi", "linuxboot", "zfs", "netboot"],
34*a7ebe2d4SWarner Losh      "netboot_nic": "virtio-net-device",
35*a7ebe2d4SWarner Losh      "target": "arm64",
36*a7ebe2d4SWarner Losh      "target_arch": "aarch64"
37*a7ebe2d4SWarner Losh    },
38*a7ebe2d4SWarner Losh    "armv7": {
39*a7ebe2d4SWarner Losh      "qemu_bin": "qemu-system-arm",
40*a7ebe2d4SWarner Losh      "qemu_machine": "-machine virt",
41*a7ebe2d4SWarner Losh      "qemu_extra": "-cpu cortex-a15",
42*a7ebe2d4SWarner Losh      "efi_firmware": "/usr/local/share/qemu/edk2-arm-code.fd",
43*a7ebe2d4SWarner Losh      "efi_bootname": "bootarm",
44*a7ebe2d4SWarner Losh      "caps": ["efi", "netboot"],
45*a7ebe2d4SWarner Losh      "netboot_nic": "virtio-net-device",
46*a7ebe2d4SWarner Losh      "target": "arm",
47*a7ebe2d4SWarner Losh      "target_arch": "armv7"
48*a7ebe2d4SWarner Losh    },
49*a7ebe2d4SWarner Losh    "riscv64": {
50*a7ebe2d4SWarner Losh      "qemu_bin": "qemu-system-riscv64",
51*a7ebe2d4SWarner Losh      "qemu_machine": "-machine virt",
52*a7ebe2d4SWarner Losh      "qemu_extra": "-bios /usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf -kernel /usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin",
53*a7ebe2d4SWarner Losh      "efi_bootname": "bootriscv64",
54*a7ebe2d4SWarner Losh      "caps": ["efi", "zfs", "netboot"],
55*a7ebe2d4SWarner Losh      "netboot_nic": "virtio-net-device",
56*a7ebe2d4SWarner Losh      "target": "riscv",
57*a7ebe2d4SWarner Losh      "target_arch": "riscv64"
58*a7ebe2d4SWarner Losh    },
59*a7ebe2d4SWarner Losh    "powerpc": {
60*a7ebe2d4SWarner Losh      "qemu_bin": "qemu-system-ppc",
61*a7ebe2d4SWarner Losh      "qemu_machine": "-machine mac99,via=pmu",
62*a7ebe2d4SWarner Losh      "qemu_extra": "-vga none -smp 1 -no-reboot",
63*a7ebe2d4SWarner Losh      "byte_order": "big",
64*a7ebe2d4SWarner Losh      "caps": ["ofw", "cd"],
65*a7ebe2d4SWarner Losh      "efi_loaders": [],
66*a7ebe2d4SWarner Losh      "target": "powerpc",
67*a7ebe2d4SWarner Losh      "target_arch": "powerpc",
68*a7ebe2d4SWarner Losh      "freebsd_version": "14.4",
69*a7ebe2d4SWarner Losh      "timeout": 180,
70*a7ebe2d4SWarner Losh      "disabled": true
71*a7ebe2d4SWarner Losh    },
72*a7ebe2d4SWarner Losh    "powerpc64": {
73*a7ebe2d4SWarner Losh      "qemu_bin": "qemu-system-ppc64",
74*a7ebe2d4SWarner Losh      "qemu_machine": "-machine pseries,cap-hpt-max-page-size=16M",
75*a7ebe2d4SWarner Losh      "qemu_extra": "-vga none -smp 1 -no-reboot",
76*a7ebe2d4SWarner Losh      "byte_order": "big",
77*a7ebe2d4SWarner Losh      "caps": ["prep", "cd"],
78*a7ebe2d4SWarner Losh      "efi_loaders": [],
79*a7ebe2d4SWarner Losh      "target": "powerpc",
80*a7ebe2d4SWarner Losh      "target_arch": "powerpc64",
81*a7ebe2d4SWarner Losh      "kernconf": "GENERIC64",
82*a7ebe2d4SWarner Losh      "timeout": 180
83*a7ebe2d4SWarner Losh    },
84*a7ebe2d4SWarner Losh    "powerpc64le": {
85*a7ebe2d4SWarner Losh      "qemu_bin": "qemu-system-ppc64",
86*a7ebe2d4SWarner Losh      "qemu_machine": "-machine pseries,cap-hpt-max-page-size=16M",
87*a7ebe2d4SWarner Losh      "qemu_extra": "-vga none -smp 1 -no-reboot",
88*a7ebe2d4SWarner Losh      "caps": ["prep", "cd", "linuxboot"],
89*a7ebe2d4SWarner Losh      "efi_loaders": [],
90*a7ebe2d4SWarner Losh      "linux_console": "console=hvc0",
91*a7ebe2d4SWarner Losh      "target": "powerpc",
92*a7ebe2d4SWarner Losh      "target_arch": "powerpc64le",
93*a7ebe2d4SWarner Losh      "kernconf": "GENERIC64LE",
94*a7ebe2d4SWarner Losh      "timeout": 180
95*a7ebe2d4SWarner Losh    }
96*a7ebe2d4SWarner Losh  }
97*a7ebe2d4SWarner Losh}
98