Skip to content

Commit 96363a1

Browse files
committed
Merge remote-tracking branch 'origin/rel-v2023.1'
Resolved conflicts Preserved 2022* versions Signed-off-by: Mark Hatle <mark.hatle@amd.com>
2 parents fe4b15d + d4732aa commit 96363a1

File tree

266 files changed

+3671
-775
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+3671
-775
lines changed

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "gen-machine-conf"]
2+
path = meta-xilinx-core/gen-machine-conf
3+
url = https://github.com/Xilinx/gen-machine-conf.git
4+
branch = xlnx_rel_v2023.1

docs/README.fpgamanager.custom.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ IMAGE_INSTALL:append = " \
179179

180180
* ZynqMP
181181
```
182-
yocto-zynqmp-generic-20222:~$ sudo su
183-
yocto-zynqmp-generic-20222:/home/petalinux# cat /proc/interrupts
182+
yocto-zynqmp-generic-20231:~$ sudo su
183+
yocto-zynqmp-generic-20231:/home/petalinux# cat /proc/interrupts
184184
CPU0 CPU1 CPU2 CPU3
185185
11: 13309 13021 13673 14170 GICv2 30 Level arch_timer
186186
14: 0 0 0 0 GICv2 67 Level zynqmp_ipi
@@ -230,15 +230,15 @@ IPI4: 0 0 0 0 Timer broadcast interrupt
230230
IPI5: 0 0 0 0 IRQ work interrupts
231231
IPI6: 0 0 0 0 CPU wake-up interrupts
232232
Err: 0
233-
yocto-zynqmp-generic-20222:/home/petalinux# tree /lib/firmware/
233+
yocto-zynqmp-generic-20231:/home/petalinux# tree /lib/firmware/
234234
/lib/firmware/
235235
`-- xilinx
236236
`-- zcu111-pl-demo
237237
|-- zcu111-pl-demo.bit.bin
238238
`-- zcu111-pl-demo.dtbo
239239
240240
2 directories, 2 files
241-
yocto-zynqmp-generic-20222:/home/petalinux# fpgautil -b /lib/firmware/xilinx/zcu111-pl-demo/zcu111-pl-demo.bit -o /lib/firmware/xilinx/zcu111-pl-demo/zcu111-pl-demo.dtbo
241+
yocto-zynqmp-generic-20231:/home/petalinux# fpgautil -b /lib/firmware/xilinx/zcu111-pl-demo/zcu111-pl-demo.bit -o /lib/firmware/xilinx/zcu111-pl-demo/zcu111-pl-demo.dtbo
242242
[ 91.039773] fpga_manager fpga0: writing zcu111-pl-demo.bit to Xilinx ZynqMP FPGA Manager
243243
[ 91.528214] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-full/firmware-name
244244
[ 91.538354] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-full/pid
@@ -259,13 +259,13 @@ yocto-zynqmp-generic-20222:/home/petalinux# fpgautil -b /lib/firmware/xilinx/zcu
259259
[ 91.906539] input: pl-gpio-keys as /devices/platform/pl-gpio-keys/input/input1
260260
Time taken to load BIN is 901.000000 Milli Seconds
261261
BIN FILE loaded through FPGA manager successfully
262-
yocto-zynqmp-generic-20222:/home/petalinux#
262+
yocto-zynqmp-generic-20231:/home/petalinux#
263263
```
264264
* Versal (DFx Static)
265265
```
266-
yocto-vck190-dfx-2022:~$ sudo su
267-
root@yocto-vck190-dfx-2022:~#
268-
root@yocto-vck190-dfx-2022:~# fpgautil -o /lib/firmware/xilinx/vck190-dfx-static/vck190-dfx-static.dtbo
266+
yocto-vck190-dfx-2023:~$ sudo su
267+
root@yocto-vck190-dfx-2023:~#
268+
root@yocto-vck190-dfx-2023:~# fpgautil -o /lib/firmware/xilinx/vck190-dfx-static/vck190-dfx-static.dtbo
269269
[ 257.555571] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga/external-fpga-config
270270
[ 257.565879] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga/pid
271271
[ 257.574670] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga/uid
@@ -279,11 +279,11 @@ root@yocto-vck190-dfx-2022:~# fpgautil -o /lib/firmware/xilinx/vck190-dfx-static
279279
[ 257.663234] of-fpga-region fpga:fpga-PR0: FPGA Region probed
280280
[ 257.669135] of-fpga-region fpga:fpga-PR1: FPGA Region probed
281281
[ 257.675022] of-fpga-region fpga:fpga-PR2: FPGA Region probed
282-
root@yocto-vck190-dfx-2022:~#
282+
root@yocto-vck190-dfx-2023:~#
283283
```
284284
* Versal (DFx RP)
285285
```
286-
root@yocto-vck190-dfx-2022:~# fpgautil -b /lib/firmware/xilinx/vck190-dfx-static/rp1/vck190-dfx-rp1rm1-dipsw/vck190-dfx-rp1rm1-dipsw.pdi -o /lib/firmware/xilinx/vck190-dfx-static/rp1/vck190-dfx-rp1rm1-dipsw/vck190-dfx-rp1rm1-dipsw.dtbo -f Partial -n PR0
286+
root@yocto-vck190-dfx-2023:~# fpgautil -b /lib/firmware/xilinx/vck190-dfx-static/rp1/vck190-dfx-rp1rm1-dipsw/vck190-dfx-rp1rm1-dipsw.pdi -o /lib/firmware/xilinx/vck190-dfx-static/rp1/vck190-dfx-rp1rm1-dipsw/vck190-dfx-rp1rm1-dipsw.dtbo -f Partial -n PR0
287287
[ 273.511455] fpga_manager fpga0: writing vck190-dfx-rp1rm1-dipsw.pdi to Xilinx Versal FPGA Manager
288288
[284052.461]Loading PDI from DDR
289289
[284052.566]Monolithic/Master Device
@@ -314,7 +314,7 @@ root@yocto-vck190-dfx-2022:~# fpgautil -b /lib/firmware/xilinx/vck190-dfx-static
314314
[ 273.670490] input: pl-gpio-keys as /devices/platform/pl-gpio-keys/input/input0
315315
Time taken to load BIN is 171.000000 Milli Seconds
316316
BIN FILE loaded through FPGA manager successfully
317-
root@yocto-vck190-dfx-2022:~#
317+
root@yocto-vck190-dfx-2023:~#
318318
```
319319
---
320320

@@ -324,7 +324,7 @@ root@yocto-vck190-dfx-2022:~#
324324
* Verify PL GPIO DIP switches and Push buttons are registered.
325325
* Move the DIP Switches ON/OFF and verify the interrupt counts.
326326
```
327-
yocto-zynqmp-generic-20222:/home/petalinux# cat /proc/interrupts
327+
yocto-zynqmp-generic-20231:/home/petalinux# cat /proc/interrupts
328328
CPU0 CPU1 CPU2 CPU3
329329
11: 23303 22971 24203 24990 GICv2 30 Level arch_timer
330330
14: 0 0 0 0 GICv2 67 Level zynqmp_ipi
@@ -387,7 +387,7 @@ IPI4: 0 0 0 0 Timer broadcast interrupt
387387
IPI5: 0 0 0 0 IRQ work interrupts
388388
IPI6: 0 0 0 0 CPU wake-up interrupts
389389
Err: 0
390-
yocto-zynqmp-generic-20222:/home/petalinux# cat /proc/interrupts
390+
yocto-zynqmp-generic-20231:/home/petalinux# cat /proc/interrupts
391391
CPU0 CPU1 CPU2 CPU3
392392
11: 28169 27725 29250 30190 GICv2 30 Level arch_timer
393393
14: 0 0 0 0 GICv2 67 Level zynqmp_ipi
@@ -450,22 +450,22 @@ IPI4: 0 0 0 0 Timer broadcast interrupt
450450
IPI5: 0 0 0 0 IRQ work interrupts
451451
IPI6: 0 0 0 0 CPU wake-up interrupts
452452
Err: 0
453-
yocto-zynqmp-generic-20222:/home/petalinux#
453+
yocto-zynqmp-generic-20231:/home/petalinux#
454454
```
455455
---
456456

457457
### Unloading PL bitstream or pdi and dt overlay
458458
* Zynq or ZynqMP
459459
```
460-
yocto-zynqmp-generic-20222:/home/petalinux# fpgautil -R
460+
yocto-zynqmp-generic-20231:/home/petalinux# fpgautil -R
461461
```
462462
* Versal (DFx RP)
463463
```
464-
root@yocto-vck190-dfx-2022:~# fpgautil -R -n PR0
464+
root@yocto-vck190-dfx-2023:~# fpgautil -R -n PR0
465465
```
466466
* Versal (DFx Static)
467467
```
468-
root@yocto-vck190-dfx-2022:~# fpgautil -R -n Full
468+
root@yocto-vck190-dfx-2023:~# fpgautil -R -n Full
469469
```
470470
---
471471

gen-machine-conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
meta-xilinx-core/gen-machine-conf

meta-microblaze/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ This layer depends on:
1818
https://git.yoctoproject.org/meta-xilinx (official version)
1919
https://github.com/Xilinx/meta-xilinx (development and amd xilinx release)
2020
layers: meta-xilinx-core
21-
branch: langdale or amd xilinx release version (e.g. rel-v2022.2)
21+
branch: langdale or amd xilinx release version (e.g. rel-v2023.1)

meta-xilinx-bsp/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ The following boards are supported by the meta-xilinx-bsp layer:
2424
| Devices | Evaluation Board | Machine Configuration file | Reference XSA | HW Board Device tree | QEMU tested | HW tested |
2525
|------------|-------------------------------------------------------------------------------|--------------------------------------------------------------|-----------------------|-------------------------------------|-------------|-----------|
2626
| MicroBlaze | [KC705](https://www.xilinx.com/products/boards-and-kits/ek-k7-kc705-g.html) | [kc705-microblazeel](conf/machine/kc705-microblazeel.conf) | `kc705-microblazeel` | `kc705-full` | Yes | Yes |
27+
| | [AC701](https://www.xilinx.com/products/boards-and-kits/ek-a7-ac701-g.html) | [ac701-microblazeel](conf/machine/ac701-microblazeel.conf) | `ac701-microblazeel` | `ac701-full` | Yes | Yes |
28+
| | [KCU105](https://www.xilinx.com/products/boards-and-kits/kcu105.html) | [kcu105-microblazeel](conf/machine/kcu105-microblazeel.conf) | `kcu105-microblazeel` | `kcu105` | Yes | Yes |
29+
| | [VCU118](https://www.xilinx.com/products/boards-and-kits/vcu118.html) | [vcu118-microblazeel](conf/machine/vcu118-microblazeel.conf) | `vcu118-microblazeel` | `vcu118-rev2.0` | Yes | Yes |
2730
| Zynq-7000 | [ZC702](https://www.xilinx.com/products/boards-and-kits/ek-z7-zc702-g.html) | [zc702-zynq7](conf/machine/zc702-zynq7.conf) | `zc702-zynq7` | `zc702` | Yes | Yes |
2831
| | [ZC706](https://www.xilinx.com/products/boards-and-kits/ek-z7-zc706-g.html) | [zc706-zynq7](conf/machine/zc706-zynq7.conf) | `zc706-zynq7` | `zc706` | Yes | Yes |
2932
| ZynqMP | [ZCU102](https://www.xilinx.com/products/boards-and-kits/ek-u1-zcu102-g.html) | [zcu102-zynqmp](conf/machine/zcu102-zynqmp.conf) | `zcu102-zynqmp` | `zcu102-rev1.0` | Yes | Yes |
@@ -32,11 +35,16 @@ The following boards are supported by the meta-xilinx-bsp layer:
3235
| | [ZCU111](https://www.xilinx.com/products/boards-and-kits/zcu111.html) | [zcu111-zynqmp](conf/machine/zcu111-zynqmp.conf) | `zcu111-zynqmp` | `zcu111-reva` | Yes | Yes |
3336
| | [ZCU1275](https://www.xilinx.com/products/boards-and-kits/zcu1275.html) | [zcu1275-zynqmp](conf/machine/zcu1275-zynqmp.conf) | `zcu1275-zynqmp` | `zcu1275-revb` | Yes | Yes |
3437
| | [ZCU1285](https://www.xilinx.com/products/boards-and-kits/zcu1285.html) | [zcu1285-zynqmp](conf/machine/zcu1285-zynqmp.conf) | `zcu1285-zynqmp` | `zcu1285-reva` | Yes | Yes |
38+
| | [ZCU208](https://www.xilinx.com/products/boards-and-kits/zcu208.html) | [zcu208-zynqmp](conf/machine/zcu208-zynqmp.conf) | `zcu208-zynqmp` | `zcu208-reva` | Yes | Yes |
3539
| | [ZCU216](https://www.xilinx.com/products/boards-and-kits/zcu216.html) | [zcu216-zynqmp](conf/machine/zcu216-zynqmp.conf) | `zcu216-zynqmp` | `zcu216-reva` | Yes | Yes |
40+
| | [ZCU670](https://www.xilinx.com/products/boards-and-kits/zcu670.html) | [zcu670-zynqmp](conf/machine/zcu670-zynqmp.conf) | `zcu670-zynqmp` | `zcu670-revb` | Yes | Yes |
3641
| Versal | [VCK190](https://www.xilinx.com/products/boards-and-kits/vck190.html) | [vck190-versal](conf/machine/vck190-versal.conf) | `vck190-versal` | `versal-vck190-reva-x-ebm-01-reva` | Yes | Yes |
3742
| | [VMK180](https://www.xilinx.com/products/boards-and-kits/vmk180.html) | [vmk180-versal](conf/machine/vmk180-versal.conf) | `vmk180-versal` | `versal-vmk180-reva-x-ebm-01-reva` | Yes | Yes |
3843
| | [VCK5000](https://www.xilinx.com/products/boards-and-kits/vck5000.html) | [vck5000-versal](conf/machine/vck5000-versal.conf) | `vck5000-versal` | `versal-vck5000-reva-x-ebm-01-reva` | No | No |
3944
| | [VPK120](https://www.xilinx.com/products/boards-and-kits/vpk120.html) | [vpk120-versal](conf/machine/vpk120-versal.conf) | `vpk120-versal` | `versal-vpk120-reva` | Yes | Yes |
45+
| | [VPK180](https://www.xilinx.com/products/boards-and-kits/vpk180.html) | [vpk180-versal](conf/machine/vpk180-versal.conf) | `vpk180-versal` | `versal-vpk180-reva` | Yes | Yes |
46+
| | [VEK280](https://www.xilinx.com/products/boards-and-kits/vek280.html) | [vek280-versal](conf/machine/vek280-versal.conf) | `vek280-versal` | `versal-vek280-reva` | Yes | Yes |
47+
| | [VHK158](https://www.xilinx.com/products/boards-and-kits/vhk158.html) | [vhk158-versal](conf/machine/vhk158-versal.conf) | `vhk158-versal` | `versal-vhk158-reva` | Yes | Yes |
4048

4149
> **Note:** Additional information on Xilinx architectures can be found at:
4250
https://www.xilinx.com/products/silicon-devices.html
@@ -57,4 +65,4 @@ This layer depends on:
5765
https://git.yoctoproject.org/meta-xilinx (official version)
5866
https://github.com/Xilinx/meta-xilinx (development and amd xilinx release)
5967
layers: meta-xilinx-microblaze, meta-xilinx-core
60-
branch: langdale or amd xilinx release version (e.g. rel-v2022.2)
68+
branch: langdale or amd xilinx release version (e.g. rel-v2023.1)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#@TYPE: Machine
2+
#@NAME: ac701-microblazeel
3+
#@DESCRIPTION: Machine configuration for the AC701 evaluation board.
4+
5+
#### Preamble
6+
MACHINEOVERRIDES =. "${@['', 'ac701-microblazeel:']['ac701-microblazeel' !='${MACHINE}']}"
7+
#### Regular settings follow
8+
9+
# Variables that changes based on hw design or board specific requirement must be
10+
# defined before calling the required inclusion file else pre-expansion value
11+
# defined in microblazeel-generic.conf will be set.
12+
13+
# Yocto AC701 FS-Boot variables
14+
YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0"
15+
YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0"
16+
YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "MIG_7SERIES_0"
17+
YAML_FLASH_MEMORY_CONFIG:pn-fs-boot ?= "axi_quad_spi_0"
18+
XSCTH_PROC:pn-fs-boot ?= "microblaze_0"
19+
20+
# Yocto AC701 device-tree variables
21+
YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0"
22+
YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "MIG_7SERIES_0"
23+
DT_PADDING_SIZE:pn-device-tree ?= "0x1000"
24+
DTC_FLAGS:pn-device-tree ?= ""
25+
XSCTH_PROC:pn-device-tree ?= "microblaze_0"
26+
YAML_DT_BOARD_FLAGS ?= "{BOARD ac701-full}"
27+
28+
# Set DDR Base address for u-boot-xlnx-scr variables
29+
DDR_BASEADDR ?= "0x80000000"
30+
SKIP_APPEND_BASEADDR ?= "0"
31+
32+
# Required generic machine inclusion
33+
require conf/machine/microblaze-generic.conf
34+
35+
# This machine conf file uses ac701-microblazeel xsa as reference input.
36+
# User can override with ac701 custom xsa using HDF_BASE and HDF_PATH variables
37+
# from local.conf.
38+
HDF_MACHINE = "ac701-microblazeel"
39+
40+
#### No additional settings should be after the Postamble
41+
#### Postamble
42+
PACKAGE_EXTRA_ARCHS:append = "${@['', 'ac701_microblazeel']['ac701-microblazeel' != '${MACHINE}']}"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#@TYPE: Machine
2+
#@NAME: kcu105-microblazeel
3+
#@DESCRIPTION: Machine configuration for the KCU105 evaluation board.
4+
5+
#### Preamble
6+
MACHINEOVERRIDES =. "${@['', 'kcu105-microblazeel:']['kcu105-microblazeel' !='${MACHINE}']}"
7+
#### Regular settings follow
8+
9+
# Variables that changes based on hw design or board specific requirement must be
10+
# defined before calling the required inclusion file else pre-expansion value
11+
# defined in microblazeel-generic.conf will be set.
12+
13+
# Yocto KCU105 FS-Boot variables
14+
YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0"
15+
YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0"
16+
YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "DDR4_0"
17+
YAML_FLASH_MEMORY_CONFIG:pn-fs-boot ?= "axi_quad_spi_0"
18+
XSCTH_PROC:pn-fs-boot ?= "microblaze_0"
19+
20+
# Yocto KCU105 device-tree variables
21+
YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0"
22+
YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "DDR4_0"
23+
DT_PADDING_SIZE:pn-device-tree ?= "0x1000"
24+
DTC_FLAGS:pn-device-tree ?= ""
25+
XSCTH_PROC:pn-device-tree ?= "microblaze_0"
26+
YAML_DT_BOARD_FLAGS ?= "{BOARD kcu105}"
27+
28+
# Set DDR Base address for u-boot-xlnx-scr variables
29+
DDR_BASEADDR ?= "0x80000000"
30+
SKIP_APPEND_BASEADDR ?= "0"
31+
32+
# Required generic machine inclusion
33+
require conf/machine/microblaze-generic.conf
34+
35+
# This machine conf file uses kcu105-microblazeel xsa as reference input.
36+
# User can override with kcu105 custom xsa using HDF_BASE and HDF_PATH variables
37+
# from local.conf.
38+
HDF_MACHINE = "kcu105-microblazeel"
39+
40+
#### No additional settings should be after the Postamble
41+
#### Postamble
42+
PACKAGE_EXTRA_ARCHS:append = "${@['', 'kcu105_microblazeel']['kcu105-microblazeel' != '${MACHINE}']}"
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#@TYPE: Machine
2+
#@NAME: vcu118-microblazeel
3+
#@DESCRIPTION: Machine configuration for the VCU118 evaluation board.
4+
5+
#### Preamble
6+
MACHINEOVERRIDES =. "${@['', 'vcu118-microblazeel:']['vcu118-microblazeel' !='${MACHINE}']}"
7+
#### Regular settings follow
8+
9+
# Variables that changes based on hw design or board specific requirement must be
10+
# defined before calling the required inclusion file else pre-expansion value
11+
# defined in microblazeel-generic.conf will be set.
12+
13+
# Yocto VCU118 FS-Boot variables
14+
YAML_SERIAL_CONSOLE_STDIN:pn-fs-boot ?= "axi_uartlite_0"
15+
YAML_SERIAL_CONSOLE_STDOUT:pn-fs-boot ?= "axi_uartlite_0"
16+
YAML_MAIN_MEMORY_CONFIG:pn-fs-boot ?= "DDR4_0"
17+
YAML_FLASH_MEMORY_CONFIG:pn-fs-boot ?= "axi_quad_spi_0"
18+
XSCTH_PROC:pn-fs-boot ?= "microblaze_0"
19+
20+
# Yocto VCU118 device-tree variables
21+
YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "axi_uartlite_0"
22+
YAML_MAIN_MEMORY_CONFIG:pn-device-tree ?= "DDR4_0"
23+
DT_PADDING_SIZE:pn-device-tree ?= "0x1000"
24+
DTC_FLAGS:pn-device-tree ?= ""
25+
XSCTH_PROC:pn-device-tree ?= "microblaze_0"
26+
YAML_DT_BOARD_FLAGS ?= "{BOARD vcu118-rev2.0}"
27+
28+
# Yocto KERNEL Variables
29+
UBOOT_ENTRYPOINT ?= "0x80000000"
30+
UBOOT_LOADADDRESS ?= "0x80000000"
31+
32+
# Set DDR Base address for u-boot-xlnx-scr variables
33+
DDR_BASEADDR ?= "0x80000000"
34+
SKIP_APPEND_BASEADDR ?= "0"
35+
36+
# Required generic machine inclusion
37+
require conf/machine/microblaze-generic.conf
38+
39+
# This machine conf file uses vcu118-microblazeel xsa as reference input.
40+
# User can override with vcu118 custom xsa using HDF_BASE and HDF_PATH variables
41+
# from local.conf.
42+
HDF_MACHINE = "vcu118-microblazeel"
43+
44+
#### No additional settings should be after the Postamble
45+
#### Postamble
46+
PACKAGE_EXTRA_ARCHS:append = "${@['', 'vcu118_microblazeel']['vcu118-microblazeel' != '${MACHINE}']}"
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#@TYPE: Machine
2+
#@NAME: vek280-versal
3+
#@DESCRIPTION: Machine configuration for the VEK280 evaluation boards.
4+
5+
#### Preamble
6+
MACHINEOVERRIDES =. "${@['', 'vek280-versal:']['vek280-versal' !='${MACHINE}']}"
7+
#### Regular settings follow
8+
9+
# Variables that changes based on hw design or board specific requirement must be
10+
# defined before calling the required inclusion file else pre-expansion value
11+
# defined in versal-generic.conf will be set.
12+
13+
# Yocto device-tree variables
14+
YAML_CONSOLE_DEVICE_CONFIG:pn-device-tree ?= "CIPS_0_pspmc_0_psv_sbsauart_0"
15+
YAML_DT_BOARD_FLAGS ?= "{BOARD versal-vek280-reva}"
16+
17+
# Yocto PLM variables
18+
YAML_SERIAL_CONSOLE_STDIN:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0"
19+
YAML_SERIAL_CONSOLE_STDOUT:pn-plm-firmware ?= "CIPS_0_pspmc_0_psv_sbsauart_0"
20+
21+
# vek280-versal Serial Console
22+
SERIAL_CONSOLES ?= "115200;ttyAMA0"
23+
YAML_SERIAL_CONSOLE_BAUDRATE ?= "115200"
24+
25+
# Required generic machine inclusion
26+
require conf/machine/versal-ai-edge-generic.conf
27+
28+
# This machine conf file uses vek280-versal xsa as reference input.
29+
# User can override with vek280 custom xsa using HDF_BASE and HDF_PATH variables
30+
# from local.conf.
31+
HDF_MACHINE = "vek280-versal"
32+
33+
#### No additional settings should be after the Postamble
34+
#### Postamble
35+
PACKAGE_EXTRA_ARCHS:append = "${@['', 'vek280_versal']['vek280-versal' != '${MACHINE}']}"

0 commit comments

Comments
 (0)