-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathrpi5.yaml
379 lines (356 loc) · 16.1 KB
/
rpi5.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
desc: "Raspberry 5 with xen dom0less"
min_ver: "0.24"
variables:
# Common build configuration
YOCTOS_WORK_DIR: "yocto"
DOM0_OS: "zephyr"
# Raspberry 5 build configuration
ZEPHYR_DOM0_DIR: "zephyr"
ZEPHYR_DOM0_MACHINE: "rpi_5"
ZEPHYR_DOM0_TARGET: "zephyr-dom0-xt"
ZEPHYR_DOM0_BUILD_DIR: "build-dom0"
ZEPHYR_DOMU1_DIR: "zephyr_sync"
ZEPHYR_DOMU1_BUILD_DIR: "build-sync"
ZEPHYR_DOMU2_DIR: "zephyr_blinky"
ZEPHYR_DOMU2_BUILD_DIR: "build-blinky"
DOMD_BUILD_DIR: "build-domd"
DOMU_BUILD_DIR: "build-domu"
XT_XEN_DTBO_NAME: "%{SOC_FAMILY}-%{MACHINE}-xen.dtbo"
XT_DOMD_DTB_NAME: "%{SOC_FAMILY}-%{MACHINE}-domd.dtb"
XEN_DT_SCMI_NAME: "%{SOC_FAMILY}-%{MACHINE}-xen-scmi"
XT_DOMD_IMAGE: "rpi5-image-xt-domd"
XT_DOMU_IMAGE: "core-image-thin-initramfs"
DOMU_MACHINE: "generic-armv8-xt"
common_data:
common_yocto_sources: &COMMON_YOCTO_SOURCES
- type: git
url: "https://git.yoctoproject.org/poky"
rev: "scarthgap"
- type: git
url: "https://git.openembedded.org/meta-openembedded"
rev: "scarthgap"
- type: git
url: "https://github.com/xen-troops/meta-xt-common.git"
rev: "master"
- type: git
url: "https://git.yoctoproject.org/meta-virtualization"
rev: "scarthgap"
- type: git
url: "https://git.yoctoproject.org/meta-selinux"
rev: "scarthgap"
common_yocto_layers: &COMMON_YOCTO_LAYERS
- "../meta-openembedded/meta-oe"
- "../meta-openembedded/meta-python"
- "../meta-openembedded/meta-networking"
- "../meta-openembedded/meta-filesystems"
- "../meta-xt-common/meta-xt-domx"
- "../meta-selinux"
- "../meta-virtualization"
# Conf options for domain that use linux
linux_domain_conf: &LINUX_DOMAIN_CONF
- [SSTATE_DIR, "${TOPDIR}/../common_data/sstate"]
- [DL_DIR, "${TOPDIR}/../common_data/downloads"]
# Skip warning about missing "virtualization" distro feature
- [SKIP_META_VIRT_SANITY_CHECK, "1"]
# Init manager
- [INIT_MANAGER, "systemd"]
# Do not install kernel image to rootfs to decrease initrd size
- ["RDEPENDS_${KERNEL_PACKAGE_NAME}-base", ""]
# Remove features that we are not used
- [DISTRO_FEATURES:remove,
"x11 gtk gobject-introspection-data nfc irda zeroconf 3g sysvinit
acl alsa argp pcmcia usbgadget opengl ptest multiarch wayland
vulkan sysvinit"]
components:
dom0:
default: true
build-dir: "%{ZEPHYR_DOM0_DIR}"
sources:
- type: west
url: "https://github.com/xen-troops/zephyr-dom0-xt.git"
rev: "rpi5_dom0_dev"
builder:
type: zephyr
board: "%{ZEPHYR_DOM0_MACHINE}"
target: "%{ZEPHYR_DOM0_TARGET}"
work_dir: "%{ZEPHYR_DOM0_BUILD_DIR}"
vars:
- "CONFIG_DOM_STORAGE_FATFS_LOGICAL_DRIVE_NAME=\"1\""
target_images:
- "%{ZEPHYR_DOM0_BUILD_DIR}/zephyr/zephyr.bin"
additional_deps:
- "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/Image.gz"
- "%{YOCTOS_WORK_DIR}/%{DOMU_BUILD_DIR}/tmp/deploy/images/%{DOMU_MACHINE}/Image-initramfs-%{DOMU_MACHINE}.bin"
domu_sync:
default: true
build-dir: "%{ZEPHYR_DOMU1_DIR}"
sources:
- type: west
url: "https://github.com/xen-troops/zephyr.git"
rev: "zephyr-v3.6.0-xt"
builder:
type: zephyr
board: xenvm
target: zephyr/samples/synchronization
work_dir: "%{ZEPHYR_DOMU1_BUILD_DIR}"
target_images:
- "%{ZEPHYR_DOMU1_BUILD_DIR}/zephyr/zephyr.bin"
domu_blinky:
default: true
build-dir: "%{ZEPHYR_DOMU2_DIR}"
sources:
- type: west
url: "https://github.com/xen-troops/zephyr.git"
rev: "zephyr-v3.6.0-xt"
builder:
type: zephyr
board: xenvm
target: zephyr/samples/basic/blinky
work_dir: "%{ZEPHYR_DOMU2_BUILD_DIR}"
snippets:
- "rpi_5_xen_domd"
target_images:
- "%{ZEPHYR_DOMU2_BUILD_DIR}/zephyr/zephyr.bin"
domu_unikraft:
default: true
build-dir: domu_unikraft
sources:
- type: http
url: https://github.com/aoscloud/demo-services/raw/main/monkey_zephyr/src/helloworld_xen-arm64
file: helloworld_xen-arm64
dir: "."
builder:
type: "null"
domd:
build-dir: "%{YOCTOS_WORK_DIR}"
sources:
- *COMMON_YOCTO_SOURCES
- type: git
url: "https://git.yoctoproject.org/meta-raspberrypi"
rev: "scarthgap"
- type: git
url: "https://github.com/xen-troops/meta-xt-rpi5.git"
rev: "main"
builder:
type: yocto
work_dir: "%{DOMD_BUILD_DIR}"
conf:
- *LINUX_DOMAIN_CONF
- [MACHINE, "%{MACHINE}"]
- [RPI_SOC_FAMILY, "%{SOC_FAMILY}"]
- [XT_DOM_NAME, "domd"]
- [XT_DEVICE_TREES, "%{XT_XEN_DTBO_NAME}"]
- [DOM0_OS, "%{DOM0_OS}"]
- [PREFERRED_VERSION_xen,"4.19.0+git"]
- [PREFERRED_VERSION_xen-tools, "4.19.0+git"]
- [PREFERRED_VERSION_u-boot, "2024.04"]
- [XEN_DT_SCMI, "%{XEN_DT_SCMI_NAME}"]
# RPI specific
- [ENABLE_UART, "1"]
- [RPI_USE_U_BOOT, "1"]
- [PREFERRED_PROVIDER_u-boot-default-script, "xt-rpi-u-boot-scr"]
- [UART_BOORLOADER, "1"]
- [KERNEL_IMAGETYPE_UBOOT, "Image"]
- [DISTRO_FEATURES:append, " xen"]
- [DOMD_BOOTARGS, "console=ttyAMA0 earlycon=xen earlyprintk=xen clk_ignore_unused root=%{DOMD_ROOTFS_DEV} rootfstype=ext4 rootwait quiet"]
build_target: "%{XT_DOMD_IMAGE}"
layers:
- *COMMON_YOCTO_LAYERS
- "../meta-raspberrypi"
- "../meta-openembedded/meta-perl"
- "../meta-xt-common/meta-xt-driver-domain"
- "../meta-xt-common/meta-xt-security"
- "../meta-xt-rpi5"
- "../../layers/xt-prod-devel-rpi5-domd"
target_images:
- "tmp/deploy/images/%{MACHINE}/xen-%{MACHINE}"
- "tmp/deploy/images/%{MACHINE}/xenpolicy-%{MACHINE}"
- "tmp/deploy/images/%{MACHINE}/%{XT_XEN_DTBO_NAME}"
- "tmp/deploy/images/%{MACHINE}/%{XT_DOMD_DTB_NAME}"
- "tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-mmc.dtbo"
- "tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-usb.dtbo"
- "tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-pcie1.dtbo"
- "tmp/deploy/images/%{MACHINE}/u-boot-%{MACHINE}.bin"
- "tmp/deploy/images/%{MACHINE}/boot.scr"
- "tmp/deploy/images/%{MACHINE}/%{XEN_DT_SCMI_NAME}.dtbo"
- "tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-domd-scmi.dtbo"
- "tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-pcie1-scmi.dtbo"
- "tmp/deploy/images/%{MACHINE}/mmc-passthrough.dtbo"
- "tmp/deploy/images/%{MACHINE}/usb-passthrough.dtbo"
- "tmp/deploy/images/%{MACHINE}/pcie1-passthrough.dtbo"
- "tmp/deploy/images/%{MACHINE}/bcm2712-rpi-5-b.dtb"
- "tmp/deploy/images/%{MACHINE}/%{XT_DOMD_IMAGE}-%{MACHINE}.rootfs.ext4"
- "tmp/deploy/images/%{MACHINE}/Image.gz"
- "tmp/deploy/images/%{MACHINE}/armstub8-2712.bin"
- "tmp/deploy/images/%{MACHINE}/bootfiles/bootcode.bin"
- "tmp/deploy/images/%{MACHINE}/bootfiles/config.txt"
- "tmp/deploy/images/%{MACHINE}/bootfiles/cmdline.txt"
- "tmp/deploy/images/%{MACHINE}/bootfiles/fixup.dat"
- "tmp/deploy/images/%{MACHINE}/bootfiles/fixup_cd.dat"
- "tmp/deploy/images/%{MACHINE}/bootfiles/fixup_db.dat"
- "tmp/deploy/images/%{MACHINE}/bootfiles/fixup_x.dat"
- "tmp/deploy/images/%{MACHINE}/bootfiles/fixup4.dat"
- "tmp/deploy/images/%{MACHINE}/bootfiles/fixup4cd.dat"
- "tmp/deploy/images/%{MACHINE}/bootfiles/fixup4db.dat"
- "tmp/deploy/images/%{MACHINE}/bootfiles/fixup4x.dat"
- "tmp/deploy/images/%{MACHINE}/bootfiles/start.elf"
- "tmp/deploy/images/%{MACHINE}/bootfiles/start_cd.elf"
- "tmp/deploy/images/%{MACHINE}/bootfiles/start_db.elf"
- "tmp/deploy/images/%{MACHINE}/bootfiles/start_x.elf"
- "tmp/deploy/images/%{MACHINE}/bootfiles/start4.elf"
- "tmp/deploy/images/%{MACHINE}/bootfiles/start4db.elf"
- "tmp/deploy/images/%{MACHINE}/bootfiles/start4cd.elf"
- "tmp/deploy/images/%{MACHINE}/bootfiles/start4x.elf"
domu:
build-dir: "%{YOCTOS_WORK_DIR}"
sources:
- *COMMON_YOCTO_SOURCES
builder:
type: yocto
work_dir: "%{DOMU_BUILD_DIR}"
conf:
- *LINUX_DOMAIN_CONF
- [MACHINE, "%{DOMU_MACHINE}"]
- [XT_DOM_NAME, "domu"]
# Bundle initramfs into kernel image
- [INITRAMFS_IMAGE, "%{XT_DOMU_IMAGE}"]
- [INITRAMFS_IMAGE_NAME, "${INITRAMFS_IMAGE}${IMAGE_MACHINE_SUFFIX}.rootfs"]
- [INITRAMFS_IMAGE_BUNDLE, "1"]
build_target: "%{XT_DOMU_IMAGE}"
layers:
- *COMMON_YOCTO_LAYERS
- "../meta-xt-common/meta-xt-domu"
- "../../layers/xt-prod-devel-rpi5-domu"
target_images:
- "tmp/deploy/images/%{DOMU_MACHINE}/Image-initramfs-%{DOMU_MACHINE}.bin"
images:
full:
type: gpt
desc: "Full RPI image"
sector_size: 512
partitions:
boot:
gpt_type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
type: vfat
size: 512 MiB
items:
"armstub8-2712.bin": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/armstub8-2712.bin"
"bootcode.bin": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/bootcode.bin"
"config.txt": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/config.txt"
"cmdline.txt": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/cmdline.txt"
"fixup.dat": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/fixup.dat"
"fixup_cd.dat": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/fixup_cd.dat"
"fixup_db.dat": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/fixup_db.dat"
"fixup_x.dat": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/fixup_x.dat"
"fixup4.dat": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/fixup4.dat"
"fixup4cd.dat": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/fixup4cd.dat"
"fixup4db.dat": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/fixup4db.dat"
"fixup4x.dat": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/fixup4x.dat"
"start.elf": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/start.elf"
"start_cd.elf": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/start_cd.elf"
"start_db.elf": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/start_db.elf"
"start_x.elf": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/start_x.elf"
"start4.elf": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/start4.elf"
"start4db.elf": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/start4db.elf"
"start4cd.elf": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/start4cd.elf"
"start4x.elf": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bootfiles/start4x.elf"
"Image.gz": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/Image.gz"
"xen": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/xen-%{MACHINE}"
"xenpolicy": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/xenpolicy-%{MACHINE}"
"u-boot": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/u-boot-%{MACHINE}.bin"
"boot.scr": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/boot.scr"
"%{XT_XEN_DTBO_NAME}": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{XT_XEN_DTBO_NAME}"
"%{XT_DOMD_DTB_NAME}": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{XT_DOMD_DTB_NAME}"
"bcm2712-rpi-5-b.dtb": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/bcm2712-rpi-5-b.dtb"
"mmc-passthrough.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/mmc-passthrough.dtbo"
"usb-passthrough.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/usb-passthrough.dtbo"
"pcie1-passthrough.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/pcie1-passthrough.dtbo"
"%{SOC_FAMILY}-%{MACHINE}-usb.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-usb.dtbo"
"%{SOC_FAMILY}-%{MACHINE}-mmc.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-mmc.dtbo"
"%{SOC_FAMILY}-%{MACHINE}-pcie1.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-pcie1.dtbo"
"zephyr.bin": "%{ZEPHYR_DOM0_DIR}/%{ZEPHYR_DOM0_BUILD_DIR}/zephyr/zephyr.bin"
"%{XEN_DT_SCMI_NAME}.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{XEN_DT_SCMI_NAME}.dtbo"
"%{SOC_FAMILY}-%{MACHINE}-domd-scmi.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-domd-scmi.dtbo"
"%{SOC_FAMILY}-%{MACHINE}-pcie1-scmi.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-pcie1-scmi.dtbo"
dom0:
gpt_type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
type: vfat
size: 512 MiB
items:
"dom0/z_sync.bin": "%{ZEPHYR_DOMU1_DIR}/%{ZEPHYR_DOMU1_BUILD_DIR}/zephyr/zephyr.bin"
"dom0/z_blinky.bin": "%{ZEPHYR_DOMU2_DIR}/%{ZEPHYR_DOMU2_BUILD_DIR}/zephyr/zephyr.bin"
"dom0/helloworld_xen-arm64": "domu_unikraft/helloworld_xen-arm64"
"dom0/linux-pv-image": "%{YOCTOS_WORK_DIR}/%{DOMU_BUILD_DIR}/tmp/deploy/images/%{DOMU_MACHINE}/Image-initramfs-%{DOMU_MACHINE}.bin"
rootfs:
type: gpt
desc: "Full RPI image"
sector_size: 512
partitions:
rootfs:
gpt_type: B921B045-1DF0-41C3-AF44-4C6F280D3FAE # Linux aarch64 root
type: raw_image
image_path: "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{XT_DOMD_IMAGE}-%{MACHINE}.rootfs.ext4"
parameters:
# Machines
MACHINE:
desc: "Raspberry Pi machines"
rpi5:
default: true
overrides:
variables:
MACHINE: "raspberrypi5"
SOC_FAMILY: "bcm2712"
DOMD_ROOT:
desc: "Domd root device"
usb:
default: true
overrides:
variables:
DOMD_ROOTFS_DEV: "\\\\/dev\\\\/sda1"
components:
domd:
builder:
conf:
- [DOMD_OVERLAYS, "%{SOC_FAMILY}-%{MACHINE}-usb.dtbo"]
- [MACHINE_FEATURES:append, " domd_usb"]
nvme:
overrides:
variables:
DOMD_ROOTFS_DEV: "\\\\/dev\\\\/nvme0n1p1"
components:
domd:
builder:
conf:
- [DOMD_OVERLAYS, "%{SOC_FAMILY}-%{MACHINE}-pcie1.dtbo"]
- [MACHINE_FEATURES:append, " domd_nvme"]
ENABLE_SCMI:
desc: "Enable ARM SCMI support"
yes:
default: false
overrides:
components:
domd:
builder:
conf:
- [MACHINE_FEATURES:append, " scmi"]
no:
default: true
ENABLE_WIFI:
desc: "Allow wifi in domd"
yes:
overrides:
components:
domd:
builder:
conf:
- [MACHINE_FEATURES:append, " domd_wifi"]
- [LICENSE_FLAGS_ACCEPTED, "synaptics-killswitch"]
images:
full:
partitions:
boot:
items:
"%{SOC_FAMILY}-%{MACHINE}-wifi.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/%{SOC_FAMILY}-%{MACHINE}-wifi.dtbo"
"wifi-passthrough.dtbo": "%{YOCTOS_WORK_DIR}/%{DOMD_BUILD_DIR}/tmp/deploy/images/%{MACHINE}/wifi-passthrough.dtbo"
no:
default: true