summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-core')
-rw-r--r--meta-xilinx-core/README.qemu.md2
-rw-r--r--meta-xilinx-core/classes/fpgamanager_custom.bbclass3
-rw-r--r--meta-xilinx-core/conf/layer.conf4
-rw-r--r--meta-xilinx-core/conf/local.conf.sample4
-rw-r--r--meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc7
-rw-r--r--meta-xilinx-core/conf/machine/include/soc-versal.inc1
-rw-r--r--meta-xilinx-core/conf/machine/microblaze-generic.conf3
-rw-r--r--meta-xilinx-core/conf/machine/versal-generic.conf1
-rw-r--r--meta-xilinx-core/conf/machine/versal-net-generic.conf30
-rw-r--r--meta-xilinx-core/conf/machine/zynq-generic.conf1
-rw-r--r--meta-xilinx-core/conf/machine/zynqmp-generic.conf1
-rw-r--r--meta-xilinx-core/dynamic-layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree.bbappend18
-rw-r--r--meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.2.bb8
-rw-r--r--meta-xilinx-core/recipes-bsp/bootgen/bootgen_1.0.bb2
-rw-r--r--meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr/dfx-mgr.service15
-rw-r--r--meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb16
-rw-r--r--meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb4
-rw-r--r--meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native_2022.2.bb27
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.2.bb19
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr.bb16
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.generic.root98
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc3
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees/0001-Makefile-Use-python3-instead-of-python.patch37
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2022.2.bb6
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.2.bb7
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2022.2.bb20
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc4
-rw-r--r--meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2022.2.bb17
-rw-r--r--meta-xilinx-core/recipes-graphics/wayland/files/weston.service4
-rwxr-xr-xmeta-xilinx-core/recipes-kernel/dp/kernel-module-dp_git.bb6
-rw-r--r--meta-xilinx-core/recipes-kernel/linux/linux-microblaze.inc5
-rw-r--r--meta-xilinx-core/recipes-kernel/linux/linux-xlnx/microblaze_generic.cfg18
-rw-r--r--meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.2.bb9
-rw-r--r--meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb2
-rw-r--r--meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx.bb4
-rw-r--r--meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx.bb4
-rw-r--r--meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware.bb2
-rw-r--r--meta-xilinx-core/recipes-xrt/xrt/xrt.inc9
-rw-r--r--meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb8
39 files changed, 349 insertions, 96 deletions
diff --git a/meta-xilinx-core/README.qemu.md b/meta-xilinx-core/README.qemu.md
index d0040b09..d3a02a90 100644
--- a/meta-xilinx-core/README.qemu.md
+++ b/meta-xilinx-core/README.qemu.md
@@ -12,7 +12,7 @@ to make this available: pmu-rom-native.
12The license on the software is Xilinx proprietary, so you may be required to 12The license on the software is Xilinx proprietary, so you may be required to
13enable the approprate LICENSE_FLAGS_WHITELIST to trigger the download. 13enable the approprate LICENSE_FLAGS_WHITELIST to trigger the download.
14The license itself is available within the download at the URL referred to in 14The license itself is available within the download at the URL referred to in
15meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native_2022.1.bb. 15meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native_2022.2.bb.
16 16
17Add the following to your local.conf to acknowledge you accept the proprietary 17Add the following to your local.conf to acknowledge you accept the proprietary
18xilinx license. 18xilinx license.
diff --git a/meta-xilinx-core/classes/fpgamanager_custom.bbclass b/meta-xilinx-core/classes/fpgamanager_custom.bbclass
index 848727fb..555e2a66 100644
--- a/meta-xilinx-core/classes/fpgamanager_custom.bbclass
+++ b/meta-xilinx-core/classes/fpgamanager_custom.bbclass
@@ -1,6 +1,3 @@
1LICENSE = "MIT"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
3
4inherit devicetree 1inherit devicetree
5 2
6DEPENDS = "dtc-native bootgen-native" 3DEPENDS = "dtc-native bootgen-native"
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf
index 457853f7..bdf14ee9 100644
--- a/meta-xilinx-core/conf/layer.conf
+++ b/meta-xilinx-core/conf/layer.conf
@@ -18,6 +18,8 @@ meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
18meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ 18meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \
19virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bb \ 19virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bb \
20virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bbappend \ 20virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bbappend \
21xilinx-tools:${LAYERDIR}/dynamic-layers/meta-xilinx-tools/recipes-*/*/*.bb \
22xilinx-tools:${LAYERDIR}/dynamic-layers/meta-xilinx-tools/recipes-*/*/*.bbappend \
21" 23"
22 24
23LAYERDEPENDS_xilinx = "core" 25LAYERDEPENDS_xilinx = "core"
@@ -42,4 +44,4 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
42 *->xserver-xorg \ 44 *->xserver-xorg \
43" 45"
44 46
45XILINX_RELEASE_VERSION = "v2022.1" 47XILINX_RELEASE_VERSION = "v2022.2"
diff --git a/meta-xilinx-core/conf/local.conf.sample b/meta-xilinx-core/conf/local.conf.sample
index a7173fb8..b907b072 100644
--- a/meta-xilinx-core/conf/local.conf.sample
+++ b/meta-xilinx-core/conf/local.conf.sample
@@ -206,11 +206,11 @@ BB_DISKMON_DIRS ??= "\
206#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ 206#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
207#file://.* file:///some/local/dir/sstate/PATH" 207#file://.* file:///some/local/dir/sstate/PATH"
208 208
209XILINX_VER_MAIN = "2022.1" 209XILINX_VER_MAIN = "2022.2"
210 210
211# Uncomment below lines to provide path for custom xsct trim 211# Uncomment below lines to provide path for custom xsct trim
212# 212#
213#EXTERNAL_XSCT_TARBALL = "/proj/yocto/xsct-trim/2022.1_xsct_daily_latest" 213#EXTERNAL_XSCT_TARBALL = "/proj/yocto/xsct-trim/2022.2_xsct_daily_latest"
214#VALIDATE_XSCT_CHECKSUM = '0' 214#VALIDATE_XSCT_CHECKSUM = '0'
215 215
216# 216#
diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
index a4b0c59a..aa91f771 100644
--- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
+++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
@@ -38,6 +38,13 @@ XSERVER ?= " \
38 ${XSERVER_EXT} \ 38 ${XSERVER_EXT} \
39 " 39 "
40 40
41# Automatically add WKS_FILE_DEPENDS based on the configuration
42WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.bin', ' xilinx-bootbin', '', d)}"
43WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'system.dtb', ' virtual/dtb', '', d)}"
44WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.scr', ' u-boot-zynq-scr', '', d)}"
45WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'uEnv.txt', ' u-boot-zynq-uenv', '', d)}"
46WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'atf-uboot.ub', ' arm-trusted-firmware', '', d)}"
47
41IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}" 48IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}"
42 49
43def get_default_image_boot_files(d): 50def get_default_image_boot_files(d):
diff --git a/meta-xilinx-core/conf/machine/include/soc-versal.inc b/meta-xilinx-core/conf/machine/include/soc-versal.inc
index 40145963..dcf3796e 100644
--- a/meta-xilinx-core/conf/machine/include/soc-versal.inc
+++ b/meta-xilinx-core/conf/machine/include/soc-versal.inc
@@ -7,6 +7,7 @@ SOC_FAMILY ?= "versal"
7# "hbm" - Versal HMB Devices 7# "hbm" - Versal HMB Devices
8# "ai-core" - Versal AI-core Devices 8# "ai-core" - Versal AI-core Devices
9# "ai-edge" - Versal AI-Edge Devices 9# "ai-edge" - Versal AI-Edge Devices
10# "net" - Versal Net Devices
10 11
11SOC_VARIANT ?= "prime" 12SOC_VARIANT ?= "prime"
12 13
diff --git a/meta-xilinx-core/conf/machine/microblaze-generic.conf b/meta-xilinx-core/conf/machine/microblaze-generic.conf
index c0e41948..92412681 100644
--- a/meta-xilinx-core/conf/machine/microblaze-generic.conf
+++ b/meta-xilinx-core/conf/machine/microblaze-generic.conf
@@ -32,7 +32,7 @@ MACHINE_FEATURES = ""
32KERNEL_IMAGETYPE ?= "linux.bin.ub" 32KERNEL_IMAGETYPE ?= "linux.bin.ub"
33KERNEL_IMAGETYPES = "" 33KERNEL_IMAGETYPES = ""
34 34
35SERIAL_CONSOLES ?= "115200;ttyS0" 35SERIAL_CONSOLES ?= "115200;ttyUL0"
36 36
37MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" 37MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
38 38
@@ -44,6 +44,7 @@ EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-nativ
44 44
45UBOOT_MACHINE ?= "microblaze-generic_defconfig" 45UBOOT_MACHINE ?= "microblaze-generic_defconfig"
46UBOOT_INITIAL_ENV = "" 46UBOOT_INITIAL_ENV = ""
47BOOTMODE ?= "generic.root"
47 48
48HDF_MACHINE = "kc705-microblazeel" 49HDF_MACHINE = "kc705-microblazeel"
49IMAGE_FSTYPES += "cpio.gz" 50IMAGE_FSTYPES += "cpio.gz"
diff --git a/meta-xilinx-core/conf/machine/versal-generic.conf b/meta-xilinx-core/conf/machine/versal-generic.conf
index b737f1d1..9b9ebf31 100644
--- a/meta-xilinx-core/conf/machine/versal-generic.conf
+++ b/meta-xilinx-core/conf/machine/versal-generic.conf
@@ -20,6 +20,7 @@ MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost"
20EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" 20EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native"
21 21
22UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" 22UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig"
23BOOTMODE ?= "generic.root"
23 24
24SERIAL_CONSOLES ?= "115200;ttyAMA0" 25SERIAL_CONSOLES ?= "115200;ttyAMA0"
25 26
diff --git a/meta-xilinx-core/conf/machine/versal-net-generic.conf b/meta-xilinx-core/conf/machine/versal-net-generic.conf
new file mode 100644
index 00000000..1941235a
--- /dev/null
+++ b/meta-xilinx-core/conf/machine/versal-net-generic.conf
@@ -0,0 +1,30 @@
1#@TYPE: Machine
2#@NAME: Versal Net Generic
3##@DESCRIPTION: Versal Net
4
5#### Preamble
6MACHINEOVERRIDES =. "${@['', 'versal-net-generic:']['versal-net-generic' != '${MACHINE}']}"
7#### Regular settings follow
8
9SOC_VARIANT = "net"
10
11# Must be set first, or versal-generic will set it
12UBOOT_MACHINE ?= "xilinx_versal_net_virt_defconfig"
13
14require conf/machine/versal-generic.conf
15
16#### REMOVE THE FOLLOWING WHEN BOOTGEN IS SYNCED
17# required for bootgen native/nativesdk
18MACHINEOVERRIDES:class-native = "versal-net"
19MACHINEOVERRIDES:class-nativesdk = "versal-net"
20#### REMOVE THE ABOVE
21
22HDF_MACHINE = "versal-net-generic"
23
24QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-net-psx-spp-1.4.dtb"
25QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmx-virt.dtb"
26
27#### No additional settings should be after the Postamble
28#### Postamble
29PACKAGE_EXTRA_ARCHS:append = "${@['', ' versal_net_generic']['versal-net-generic' != "${MACHINE}"]}"
30
diff --git a/meta-xilinx-core/conf/machine/zynq-generic.conf b/meta-xilinx-core/conf/machine/zynq-generic.conf
index 3c30c362..6ad00d72 100644
--- a/meta-xilinx-core/conf/machine/zynq-generic.conf
+++ b/meta-xilinx-core/conf/machine/zynq-generic.conf
@@ -20,6 +20,7 @@ MACHINE_FEATURES += "rtc ext2 ext3 vfat usbhost usbgadget"
20EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" 20EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native"
21 21
22UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" 22UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig"
23BOOTMODE ?= "generic.root"
23 24
24SERIAL_CONSOLES ?= "115200;ttyPS0" 25SERIAL_CONSOLES ?= "115200;ttyPS0"
25 26
diff --git a/meta-xilinx-core/conf/machine/zynqmp-generic.conf b/meta-xilinx-core/conf/machine/zynqmp-generic.conf
index 15fe9d11..32de4d50 100644
--- a/meta-xilinx-core/conf/machine/zynqmp-generic.conf
+++ b/meta-xilinx-core/conf/machine/zynqmp-generic.conf
@@ -31,6 +31,7 @@ EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-nativ
31 31
32UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" 32UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig"
33SPL_BINARY ?= "spl/boot.bin" 33SPL_BINARY ?= "spl/boot.bin"
34BOOTMODE ?= "generic.root"
34 35
35# Default SD image build onfiguration, use qemu-sd to pad 36# Default SD image build onfiguration, use qemu-sd to pad
36IMAGE_CLASSES += "image-types-xilinx-qemu" 37IMAGE_CLASSES += "image-types-xilinx-qemu"
diff --git a/meta-xilinx-core/dynamic-layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-core/dynamic-layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree.bbappend
new file mode 100644
index 00000000..a3dedd85
--- /dev/null
+++ b/meta-xilinx-core/dynamic-layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree.bbappend
@@ -0,0 +1,18 @@
1# Set Board DTSI files for generic manchine configuration files based on HDF_MACHINE.
2
3# microblaze-generic.conf uses HDF_MACHINE = "kc705-microblazeel", Hence set kc705-full dtsi file.
4YAML_MAIN_MEMORY_CONFIG:microblaze-generic ?= "mig_7series_0"
5YAML_CONSOLE_DEVICE_CONFIG:microblaze-generic ?= "axi_uartlite_0"
6YAML_DT_BOARD_FLAGS:microblaze-generic ?= "{BOARD kc705-full}"
7
8# zynq-generic.conf uses HDF_MACHINE = "zc702-zynq7", Hence set zc702 dtsi file.
9YAML_DT_BOARD_FLAGS:zynq-generic ?= "{BOARD zc702}"
10
11# zynqmp-generic.conf uses HDF_MACHINE = "zcu102-zynqmp", Hence set zcu102-rev1.0 dtsi file.
12YAML_DT_BOARD_FLAGS:zynqmp-generic ?= "{BOARD zcu102-rev1.0}"
13
14# versal-generic.conf file uses HDF_MACHINE = "vck190-versal", Hence set versal-vck190-reva-x-ebm-01-reva dtsi file.
15YAML_DT_BOARD_FLAGS:versal-generic ?= "{BOARD versal-vck190-reva-x-ebm-01-reva}"
16
17# versal-net-generic.conf uses HDF_MACHINE = "versal-net-generic", Hence set versal-net-ipp-rev1.5 dtsi file.
18YAML_DT_BOARD_FLAGS:versal-net-generic ?= "{BOARD versal-net-ipp-rev1.5}"
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.2.bb b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.2.bb
new file mode 100644
index 00000000..6e4b7d0f
--- /dev/null
+++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.2.bb
@@ -0,0 +1,8 @@
1ATF_VERSION = "2.6"
2SRCREV = "7c85661015b70f6b9aa821e6ebeea0dd96a59287"
3BRANCH = "xlnx_rebase_v2.6"
4LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
5
6
7include arm-trusted-firmware.inc
8
diff --git a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_1.0.bb b/meta-xilinx-core/recipes-bsp/bootgen/bootgen_1.0.bb
index 101d4ca2..85880158 100644
--- a/meta-xilinx-core/recipes-bsp/bootgen/bootgen_1.0.bb
+++ b/meta-xilinx-core/recipes-bsp/bootgen/bootgen_1.0.bb
@@ -10,7 +10,7 @@ DEPENDS += "openssl"
10RDEPENDS:${PN} += "openssl" 10RDEPENDS:${PN} += "openssl"
11 11
12REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" 12REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https"
13BRANCH ?= "xlnx_rel_v2022.1" 13BRANCH ?= "master"
14SRCREV = "4eac958eb6c831ffa5768a0e2cd4be23c5efe2e0" 14SRCREV = "4eac958eb6c831ffa5768a0e2cd4be23c5efe2e0"
15 15
16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr/dfx-mgr.service b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr/dfx-mgr.service
deleted file mode 100644
index 12239266..00000000
--- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr/dfx-mgr.service
+++ /dev/null
@@ -1,15 +0,0 @@
1# SPDX-License-Identifier: MIT
2#
3# DFX manager daemon is used to demonstrate Dynamic Function eXchange (DFX)
4# or partial reconfiguration feature on Xilinx Zynq UltraScale+ and newer.
5# See: UG909 "Vivado Design Suite User Guide Dynamic Function eXchange"
6
7[Unit]
8Description=dfx-mgrd Dynamic Function eXchange
9Documentation=https://github.com/Xilinx/dfx-mgr
10
11[Service]
12ExecStart=/usr/bin/dfx-mgrd
13
14[Install]
15WantedBy=multi-user.target
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb
index 4bd234ba..6bd24fdf 100644
--- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb
+++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb
@@ -8,8 +8,8 @@ REPO ?= "git://github.com/Xilinx/dfx-mgr.git;protocol=https"
8BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 8BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
9SRC_URI = "${REPO};${BRANCHARG}" 9SRC_URI = "${REPO};${BRANCHARG}"
10 10
11BRANCH = "xlnx_rel_v2022.1" 11BRANCH = "master"
12SRCREV = "b1a4a2bd4fa72b3fb8e9e8f9c97ef5444bd9fb2a" 12SRCREV = "b7fe333513edda99cd84f3a2d26e01aaf4bd5e02"
13SOMAJOR = "1" 13SOMAJOR = "1"
14SOMINOR = "0" 14SOMINOR = "0"
15SOVERSION = "${SOMAJOR}.${SOMINOR}" 15SOVERSION = "${SOMAJOR}.${SOMINOR}"
@@ -23,13 +23,13 @@ S = "${WORKDIR}/git"
23inherit cmake update-rc.d systemd 23inherit cmake update-rc.d systemd
24 24
25DEPENDS += " libwebsockets inotify-tools libdfx zocl libdrm" 25DEPENDS += " libwebsockets inotify-tools libdfx zocl libdrm"
26RDEPENDS:${PN} += " fru-print"
26EXTRA_OECMAKE += " \ 27EXTRA_OECMAKE += " \
27 -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ 28 -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \
28 " 29 "
29INITSCRIPT_NAME = "dfx-mgr.sh" 30INITSCRIPT_NAME = "dfx-mgr.sh"
30INITSCRIPT_PARAMS = "start 99 S ." 31INITSCRIPT_PARAMS = "start 99 S ."
31 32
32SRC_URI:append = " file://dfx-mgr.service"
33SYSTEMD_PACKAGES="${PN}" 33SYSTEMD_PACKAGES="${PN}"
34SYSTEMD_SERVICE:${PN}="dfx-mgr.service" 34SYSTEMD_SERVICE:${PN}="dfx-mgr.service"
35SYSTEMD_AUTO_ENABLE:${PN}="enable" 35SYSTEMD_AUTO_ENABLE:${PN}="enable"
@@ -47,7 +47,7 @@ do_install(){
47 chrpath -d ${D}${bindir}/dfx-mgrd 47 chrpath -d ${D}${bindir}/dfx-mgrd
48 chrpath -d ${D}${bindir}/dfx-mgr-client 48 chrpath -d ${D}${bindir}/dfx-mgr-client
49 install -m 0644 ${S}/src/dfxmgr_client.h ${D}${includedir} 49 install -m 0644 ${S}/src/dfxmgr_client.h ${D}${includedir}
50 50
51 oe_soinstall ${B}/src/libdfx-mgr.so.${SOVERSION} ${D}${libdir} 51 oe_soinstall ${B}/src/libdfx-mgr.so.${SOVERSION} ${D}${libdir}
52 52
53 install -m 0755 ${S}/src/daemon.conf ${D}${sysconfdir}/dfx-mgrd/ 53 install -m 0755 ${S}/src/daemon.conf ${D}${sysconfdir}/dfx-mgrd/
@@ -57,9 +57,11 @@ do_install(){
57 install -m 0755 ${S}/src/dfx-mgr.sh ${D}${sysconfdir}/init.d/ 57 install -m 0755 ${S}/src/dfx-mgr.sh ${D}${sysconfdir}/init.d/
58 fi 58 fi
59 59
60 install -m 0755 ${S}/src/dfx-mgr.sh ${D}${bindir}/ 60 install -m 0755 ${S}/src/dfx-mgr.sh ${D}${bindir}
61 install -d ${D}${systemd_system_unitdir} 61 install -m 0755 ${S}/src/scripts/xlnx-firmware-detect ${D}${bindir}
62 install -m 0644 ${WORKDIR}/dfx-mgr.service ${D}${systemd_system_unitdir} 62
63 install -d ${D}${systemd_system_unitdir}
64 install -m 0644 ${S}/src/dfx-mgr.service ${D}${systemd_system_unitdir}
63} 65}
64 66
65PACKAGES =+ "libdfx-mgr" 67PACKAGES =+ "libdfx-mgr"
diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb
index 1c43f49d..c0f2fb97 100644
--- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb
+++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb
@@ -4,11 +4,11 @@ DESCRIPTION = "Xilinx libdfx Library and headers"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=94aba86aec117f003b958a52f019f1a7" 5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=94aba86aec117f003b958a52f019f1a7"
6 6
7BRANCH ?= "xlnx_rel_v2022.1" 7BRANCH ?= "master"
8REPO ?= "git://github.com/Xilinx/libdfx.git;protocol=https" 8REPO ?= "git://github.com/Xilinx/libdfx.git;protocol=https"
9BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 9BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
10SRC_URI = "${REPO};${BRANCHARG}" 10SRC_URI = "${REPO};${BRANCHARG}"
11SRCREV = "96d8462a72b9b64e1057f8864795b5f60a2fc884" 11SRCREV = "cb36032844b3845ad28007404d0566184504c03f"
12 12
13COMPATIBLE_MACHINE = "^$" 13COMPATIBLE_MACHINE = "^$"
14COMPATIBLE_MACHINE:zynqmp = "zynqmp" 14COMPATIBLE_MACHINE:zynqmp = "zynqmp"
diff --git a/meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native_2022.2.bb b/meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native_2022.2.bb
new file mode 100644
index 00000000..44ad9368
--- /dev/null
+++ b/meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native_2022.2.bb
@@ -0,0 +1,27 @@
1SUMMARY = "PMU ROM for QEMU"
2DESCRIPTION = "The ZynqMP PMU ROM for QEMU emulation"
3HOMEPAGE = "http://www.xilinx.com"
4SECTION = "bsp"
5
6LICENSE = "Proprietary"
7LICENSE_FLAGS = "xilinx"
8LIC_FILES_CHKSUM = "file://PMU_ROM-LICENSE.txt;md5=d43d49bc1eb1c907fc6f4ea75abafdfc"
9
10SRC_URI = "https://www.xilinx.com/bin/public/openDownload?filename=PMU_ROM.tar.gz"
11SRC_URI[sha256sum] = "f9a450ef960979463ea0a87a35fafb4a5b62d3a741de30cbcef04c8edc22a7cf"
12
13S = "${WORKDIR}/PMU_ROM"
14
15inherit deploy native
16
17INHIBIT_DEFAULT_DEPS = "1"
18
19do_configure[noexec] = "1"
20do_compile[noexec] = "1"
21do_install[noexec] = "1"
22
23do_deploy () {
24 install -D ${S}/pmu-rom.elf ${DEPLOYDIR}/pmu-rom.elf
25}
26
27addtask deploy before do_build after do_install
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.2.bb
new file mode 100644
index 00000000..9d1ff13a
--- /dev/null
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.2.bb
@@ -0,0 +1,19 @@
1UBOOT_VERSION = "v2021.01"
2
3UBRANCH ?= "master"
4
5SRCREV = "f7c1e7084dcb5ed9653e2fa89081f266ba02dfb8"
6
7include u-boot-xlnx.inc
8include u-boot-spl-zynq-init.inc
9
10LICENSE = "GPLv2+"
11LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897"
12
13# u-boot-xlnx has support for these
14HAS_PLATFORM_INIT ?= " \
15 xilinx_zynqmp_virt_config \
16 xilinx_zynq_virt_defconfig \
17 xilinx_versal_vc_p_a2197_revA_x_prc_01_revA \
18 "
19
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr.bb
index cf1ba209..8a3a5db6 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr.bb
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr.bb
@@ -27,7 +27,7 @@ KERNEL_BOOTCMD:zynq ?= "bootm"
27KERNEL_BOOTCMD:versal ?= "booti" 27KERNEL_BOOTCMD:versal ?= "booti"
28KERNEL_BOOTCMD:microblaze ?= "bootm" 28KERNEL_BOOTCMD:microblaze ?= "bootm"
29 29
30BOOTMODE ?= "generic" 30BOOTMODE ??= "generic"
31BOOTFILE_EXT ?= "" 31BOOTFILE_EXT ?= ""
32 32
33#Make this value to "1" to skip appending base address to ddr offsets. 33#Make this value to "1" to skip appending base address to ddr offsets.
@@ -43,6 +43,7 @@ SRC_URI = " \
43 file://boot.cmd.sd.versal \ 43 file://boot.cmd.sd.versal \
44 file://boot.cmd.qspi.versal \ 44 file://boot.cmd.qspi.versal \
45 file://boot.cmd.generic \ 45 file://boot.cmd.generic \
46 file://boot.cmd.generic.root \
46 file://boot.cmd.ubifs \ 47 file://boot.cmd.ubifs \
47 file://pxeboot.pxe \ 48 file://pxeboot.pxe \
48 " 49 "
@@ -159,7 +160,15 @@ NAND_FIT_IMAGE_OFFSET ?= "0x4180000"
159NAND_FIT_IMAGE_OFFSET:zynq ?= "0x1080000" 160NAND_FIT_IMAGE_OFFSET:zynq ?= "0x1080000"
160NAND_FIT_IMAGE_SIZE ?= "0x6400000" 161NAND_FIT_IMAGE_SIZE ?= "0x6400000"
161 162
162SDBOOTDEV ?= "0" 163# Default to booting with the rootfs device being partition 2 for SD/eMMC
164PARTNUM ?= "2"
165
166# Set Kernel root filesystem parameter for SD/eMMC boot
167# Bootdev will automatically be set to 'sda' or 'mmcblkXp'
168KERNEL_ROOT_SD ?= "root=/dev/\${bootdev}${PARTNUM} ro rootwait"
169
170# Set Kernel root filesystem parameter for JTAG/QSPI/OSPI/NAND(using RAMDISK) boot
171KERNEL_ROOT_RAMDISK ?= "root=/dev/ram0 rw"
163 172
164BITSTREAM_LOAD_ADDRESS ?= "0x100000" 173BITSTREAM_LOAD_ADDRESS ?= "0x100000"
165 174
@@ -217,6 +226,9 @@ do_compile() {
217 -e 's/@@UENV_MMC_LOAD_ADDRESS@@/${UENV_MMC_LOAD_ADDRESS}/' \ 226 -e 's/@@UENV_MMC_LOAD_ADDRESS@@/${UENV_MMC_LOAD_ADDRESS}/' \
218 -e 's/@@UENV_TEXTFILE@@/${UENV_TEXTFILE}/' \ 227 -e 's/@@UENV_TEXTFILE@@/${UENV_TEXTFILE}/' \
219 -e 's/@@RAMDISK_IMAGE1@@/${RAMDISK_IMAGE1}/' \ 228 -e 's/@@RAMDISK_IMAGE1@@/${RAMDISK_IMAGE1}/' \
229 -e 's/@@PARTNUM@@/${PARTNUM}/' \
230 -e 's:@@KERNEL_ROOT_SD@@:${KERNEL_ROOT_SD}:' \
231 -e 's:@@KERNEL_ROOT_RAMDISK@@:${KERNEL_ROOT_RAMDISK}:' \
220 "${WORKDIR}/boot.cmd.${BOOTMODE}${BOOTFILE_EXT}" > "${WORKDIR}/boot.cmd" 232 "${WORKDIR}/boot.cmd.${BOOTMODE}${BOOTFILE_EXT}" > "${WORKDIR}/boot.cmd"
221 mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr 233 mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
222 sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ 234 sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.generic.root b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.generic.root
new file mode 100644
index 00000000..ca90cbe1
--- /dev/null
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.generic.root
@@ -0,0 +1,98 @@
1# This is a boot script for U-Boot with generic root parameters used by yocto machine configuration file.
2# Generate boot.scr:
3# mkimage -c none -A arm -T script -d boot.cmd.default boot.scr
4#
5################
6fitimage_name=@@FIT_IMAGE@@
7kernel_name=@@KERNEL_IMAGE@@
8ramdisk_name=@@RAMDISK_IMAGE1@@
9rootfs_name=@@RAMDISK_IMAGE@@
10@@PRE_BOOTENV@@
11
12for boot_target in ${boot_targets};
13do
14 echo "Trying to load boot images from ${boot_target}"
15 if test "${boot_target}" = "jtag" ; then
16 fdt addr @@DEVICETREE_ADDRESS@@
17 fdt get value bootargs /chosen bootargs
18 setenv bootargs $bootargs @@KERNEL_ROOT_RAMDISK@@
19 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@
20 fi
21 if test "${boot_target}" = "mmc0" || test "${boot_target}" = "mmc1" || test "${boot_target}" = "usb0" || test "${boot_target}" = "usb1"; then
22 if test "${boot_target}" = "mmc0" || test "${boot_target}" = "mmc1"; then
23 setenv bootdev mmcblk${devnum}p
24 fi
25 if test "${boot_target}" = "usb0" || test "${boot_target}" = "usb1"; then
26 setenv bootdev sda
27 fi
28
29 if test -e ${devtype} ${devnum}:${distro_bootpart} /@@UENV_TEXTFILE@@; then
30 fatload ${devtype} ${devnum}:${distro_bootpart} @@UENV_MMC_LOAD_ADDRESS@@ @@UENV_TEXTFILE@@;
31 echo "Importing environment(@@UENV_TEXTFILE@@) from ${boot_target}..."
32 env import -t @@UENV_MMC_LOAD_ADDRESS@@ $filesize
33 if test -n $uenvcmd; then
34 echo "Running uenvcmd ...";
35 run uenvcmd;
36 fi
37 fi
38 if test -e ${devtype} ${devnum}:${distro_bootpart} /${fitimage_name}; then
39 fatload ${devtype} ${devnum}:${distro_bootpart} @@FIT_IMAGE_LOAD_ADDRESS@@ ${fitimage_name};
40 echo "Kernel root filesystem parameter needs to be set for FITIMAGE boot if not defined in DTB"
41 bootm @@FIT_IMAGE_LOAD_ADDRESS@@;
42 fi
43 if test -e ${devtype} ${devnum}:${distro_bootpart} /${kernel_name}; then
44 fatload ${devtype} ${devnum}:${distro_bootpart} @@KERNEL_LOAD_ADDRESS@@ ${kernel_name};
45 fi
46 if test -e ${devtype} ${devnum}:${distro_bootpart} /system.dtb; then
47 fatload ${devtype} ${devnum}:${distro_bootpart} @@DEVICETREE_ADDRESS@@ system.dtb;
48 fi
49 if test -e ${devtype} ${devnum}:${distro_bootpart} /${ramdisk_name} && test "${skip_tinyramdisk}" != "yes"; then
50 fatload ${devtype} ${devnum}:${distro_bootpart} @@RAMDISK_IMAGE_ADDRESS@@ ${ramdisk_name};
51 fdt addr @@DEVICETREE_ADDRESS@@
52 fdt get value bootargs /chosen bootargs
53 setenv bootargs $bootargs @@KERNEL_ROOT_RAMDISK@@
54 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@
55 fi
56 if test -e ${devtype} ${devnum}:${distro_bootpart} /${rootfs_name} && test "${skip_ramdisk}" != "yes"; then
57 fatload ${devtype} ${devnum}:${distro_bootpart} @@RAMDISK_IMAGE_ADDRESS@@ ${rootfs_name};
58 fdt addr @@DEVICETREE_ADDRESS@@
59 fdt get value bootargs /chosen bootargs
60 setenv bootargs $bootargs @@KERNEL_ROOT_RAMDISK@@
61 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@
62 fi
63 fdt addr @@DEVICETREE_ADDRESS@@
64 fdt get value bootargs /chosen bootargs
65 setenv bootargs $bootargs @@KERNEL_ROOT_SD@@
66 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ - @@DEVICETREE_ADDRESS@@
67 fi
68 if test "${boot_target}" = "xspi0" || test "${boot_target}" = "qspi" || test "${boot_target}" = "qspi0"; then
69 sf probe 0 0 0;
70 sf read @@FIT_IMAGE_LOAD_ADDRESS@@ @@QSPI_FIT_IMAGE_OFFSET@@ @@QSPI_FIT_IMAGE_SIZE@@
71 echo "Kernel root filesystem parameter needs to be set for FITIMAGE boot if not defined in DTB"
72 bootm @@FIT_IMAGE_LOAD_ADDRESS@@;
73 echo "Booting using Fit image failed"
74
75 sf read @@KERNEL_LOAD_ADDRESS@@ @@QSPI_KERNEL_OFFSET@@ @@QSPI_KERNEL_SIZE@@
76 sf read @@RAMDISK_IMAGE_ADDRESS@@ @@QSPI_RAMDISK_OFFSET@@ @@QSPI_RAMDISK_SIZE@@
77 fdt addr @@DEVICETREE_ADDRESS@@
78 fdt get value bootargs /chosen bootargs
79 setenv bootargs $bootargs @@KERNEL_ROOT_RAMDISK@@
80 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@;
81 echo "Booting using Separate images failed"
82 fi
83 if test "${boot_target}" = "nand" || test "${boot_target}" = "nand0"; then
84 nand info;
85 nand read @@FIT_IMAGE_LOAD_ADDRESS@@ @@NAND_FIT_IMAGE_OFFSET@@ @@NAND_FIT_IMAGE_SIZE@@
86 echo "Kernel root filesystem parameter needs to be set for FITIMAGE boot if not defined in DTB"
87 bootm @@FIT_IMAGE_LOAD_ADDRESS@@;
88 echo "Booting using Fit image failed"
89
90 nand read @@KERNEL_LOAD_ADDRESS@@ @@NAND_KERNEL_OFFSET@@ @@NAND_KERNEL_SIZE@@
91 nand read @@RAMDISK_IMAGE_ADDRESS@@ @@NAND_RAMDISK_OFFSET@@ @@NAND_RAMDISK_SIZE@@
92 fdt addr @@DEVICETREE_ADDRESS@@
93 fdt get value bootargs /chosen bootargs
94 setenv bootargs $bootargs @@KERNEL_ROOT_RAMDISK@@
95 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@;
96 echo "Booting using Separate images failed"
97 fi
98done
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc
index 6d834297..9ee8174a 100644
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees.inc
@@ -9,9 +9,6 @@ LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=27;md5=7348b6cbcae69912c
9 9
10PV = "xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" 10PV = "xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
11 11
12FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
13SRC_URI:append = " file://0001-Makefile-Use-python3-instead-of-python.patch"
14
15REPO ?= "git://github.com/Xilinx/qemu-devicetrees.git;protocol=https" 12REPO ?= "git://github.com/Xilinx/qemu-devicetrees.git;protocol=https"
16 13
17BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 14BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees/0001-Makefile-Use-python3-instead-of-python.patch b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees/0001-Makefile-Use-python3-instead-of-python.patch
deleted file mode 100644
index 425145d0..00000000
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees/0001-Makefile-Use-python3-instead-of-python.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From e80324e3497e5768c9fdbde3c0660a03d0dcc3ee Mon Sep 17 00:00:00 2001
2From: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
3Date: Mon, 8 Feb 2021 16:32:34 -0800
4Subject: [PATCH] Makefile:Use python3 instead of python
5
6Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
7---
8 Makefile | 12 ++++++------
9 1 file changed, 6 insertions(+), 6 deletions(-)
10
11diff --git a/Makefile b/Makefile
12index a110483..fd8868c 100644
13--- a/Makefile
14+++ b/Makefile
15@@ -91,13 +91,13 @@ $(LQSPI_XIP_OUTDIR)/%.dts: %.dts $(DTSI_FILES) $(HEADER_FILES)
16 # TODO: Add support for auto-generated dependency list
17 versal-pmc-npi.dtsi: versal-pmc-npi-nxx.dtsi versal-h10-pmc-npi-nxx.dtsi
18 versal-pmc-npi-nxx.dtsi: Makefile
19- @python -c 'for a in range(0, 54): print("\tGEN_NMU(" + str(a) + ")")' > $@
20- @python -c 'for a in range(0, 50): print("\tGEN_NSU(" + str(a) + ")")' >> $@
21- @python -c 'for a in range(0, 146): print("\tGEN_NPS(" + str(a) + ")")' >> $@
22+ @python3 -c 'for a in range(0, 54): print("\tGEN_NMU(" + str(a) + ")")' > $@
23+ @python3 -c 'for a in range(0, 50): print("\tGEN_NSU(" + str(a) + ")")' >> $@
24+ @python3 -c 'for a in range(0, 146): print("\tGEN_NPS(" + str(a) + ")")' >> $@
25 versal-h10-pmc-npi-nxx.dtsi: Makefile
26- @python -c 'for a in range(0, 37): print("\tGEN_NMU(" + str(a) + ")")' > $@
27- @python -c 'for a in range(0, 33): print("\tGEN_NSU(" + str(a) + ")")' >> $@
28- @python -c 'for a in range(0, 135): print("\tGEN_NPS(" + str(a) + ")")' >> $@
29+ @python3 -c 'for a in range(0, 37): print("\tGEN_NMU(" + str(a) + ")")' > $@
30+ @python3 -c 'for a in range(0, 33): print("\tGEN_NSU(" + str(a) + ")")' >> $@
31+ @python3 -c 'for a in range(0, 135): print("\tGEN_NPS(" + str(a) + ")")' >> $@
32
33 clean:
34 $(RM) versal-pmc-npi-nxx.dtsi
35--
362.7.4
37
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2022.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2022.2.bb
new file mode 100644
index 00000000..43be5437
--- /dev/null
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-devicetrees_2022.2.bb
@@ -0,0 +1,6 @@
1
2require qemu-devicetrees.inc
3
4BRANCH ?= "master"
5SRCREV ?= "aec07daf197f1853ee1a1d905e1eff4fe160f408"
6
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.2.bb
new file mode 100644
index 00000000..5e6c2d28
--- /dev/null
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.2.bb
@@ -0,0 +1,7 @@
1require qemu-xilinx-native.inc
2BPN = "qemu-xilinx"
3
4EXTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-blobs --disable-guest-agent"
5
6PROVIDES = "qemu-native"
7PACKAGECONFIG ??= "pie"
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2022.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2022.2.bb
new file mode 100644
index 00000000..f177872a
--- /dev/null
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2022.2.bb
@@ -0,0 +1,20 @@
1require qemu-xilinx-native.inc
2
3PROVIDES = "qemu-system-native"
4
5EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}"
6
7PACKAGECONFIG ??= "fdt alsa kvm pie"
8
9PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}"
10
11DEPENDS += "pixman-native qemu-xilinx-native bison-native ninja-native meson-native"
12
13do_install:append() {
14 # The following is also installed by qemu-native
15 rm -f ${D}${datadir}/qemu/trace-events-all
16 rm -rf ${D}${datadir}/qemu/keymaps
17 rm -rf ${D}${datadir}/icons
18 rm -rf ${D}${includedir}/qemu-plugin.h
19}
20
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
index c54e0e1a..60bc2ff3 100644
--- a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx.inc
@@ -11,8 +11,8 @@ LIC_FILES_CHKSUM = " \
11DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native" 11DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native"
12 12
13XILINX_QEMU_VERSION ?= "v6.1.0" 13XILINX_QEMU_VERSION ?= "v6.1.0"
14BRANCH ?= "xlnx_rel_v2022.1" 14BRANCH ?= "master"
15SRCREV = "52a9b22faeb149a6b17646b1f912f06ea6c269ca" 15SRCREV = "de92de0a3cef8affbf256d8930817bf8765cce21"
16 16
17FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 17FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
18 18
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2022.2.bb b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2022.2.bb
new file mode 100644
index 00000000..4983b4df
--- /dev/null
+++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx_2022.2.bb
@@ -0,0 +1,17 @@
1require recipes-devtools/qemu/qemu.inc
2require qemu-xilinx.inc
3
4BBCLASSEXTEND = "nativesdk"
5
6RDEPENDS:${PN}:class-target += "bash"
7
8PROVIDES:class-nativesdk = "nativesdk-qemu"
9RPROVIDES:${PN}:class-nativesdk = "nativesdk-qemu"
10
11EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}"
12EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
13EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
14
15do_install:append:class-nativesdk() {
16 ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
17}
diff --git a/meta-xilinx-core/recipes-graphics/wayland/files/weston.service b/meta-xilinx-core/recipes-graphics/wayland/files/weston.service
index c58e0668..c7583e92 100644
--- a/meta-xilinx-core/recipes-graphics/wayland/files/weston.service
+++ b/meta-xilinx-core/recipes-graphics/wayland/files/weston.service
@@ -41,8 +41,8 @@ TimeoutStartSec=60
41WatchdogSec=20 41WatchdogSec=20
42 42
43# The user to run Weston as. 43# The user to run Weston as.
44User=root 44User=weston
45Group=root 45Group=weston
46 46
47# Make sure the working directory is the users home directory 47# Make sure the working directory is the users home directory
48WorkingDirectory=/home/weston 48WorkingDirectory=/home/weston
diff --git a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_git.bb b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_git.bb
index ae11f694..88a2876d 100755
--- a/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_git.bb
+++ b/meta-xilinx-core/recipes-kernel/dp/kernel-module-dp_git.bb
@@ -4,14 +4,14 @@ SECTION = "kernel/modules"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" 5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a"
6 6
7XLNX_DP_VERSION = "5.15.19" 7XLNX_DP_VERSION = "5.10.0"
8PV = "${XLNX_DP_VERSION}" 8PV = "${XLNX_DP_VERSION}"
9 9
10S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
11 11
12BRANCH ?= "xlnx_rel_v2022.1" 12BRANCH ?= "master"
13REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" 13REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https"
14SRCREV ?= "9a025fdb7134a8af12de8d69f5a428c8284ae9b3" 14SRCREV ?= "c57b2ce95ee6c86f35caecbc7007644ff8f6d337"
15 15
16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
17SRC_URI = "${REPO};${BRANCHARG}" 17SRC_URI = "${REPO};${BRANCHARG}"
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-microblaze.inc b/meta-xilinx-core/recipes-kernel/linux/linux-microblaze.inc
index 4555bc28..efd21a18 100644
--- a/meta-xilinx-core/recipes-kernel/linux/linux-microblaze.inc
+++ b/meta-xilinx-core/recipes-kernel/linux/linux-microblaze.inc
@@ -1,4 +1,7 @@
1SRC_URI += "file://mb-no-tree-loop-distribute-patterns.patch" 1SRC_URI += " \
2 file://mb-no-tree-loop-distribute-patterns.patch \
3 file://microblaze_generic.cfg \
4 "
2 5
3# MicroBlaze is a uImage target, but its not called 'uImage' instead it is called 'linux.bin.ub' 6# MicroBlaze is a uImage target, but its not called 'uImage' instead it is called 'linux.bin.ub'
4python () { 7python () {
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx/microblaze_generic.cfg b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx/microblaze_generic.cfg
new file mode 100644
index 00000000..6ec6a997
--- /dev/null
+++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx/microblaze_generic.cfg
@@ -0,0 +1,18 @@
1CONFIG_SERIAL_OF_PLATFORM=y
2CONFIG_DP83867_PHY=y
3CONFIG_EARLY_PRINTK=y
4CONFIG_MTD_PHYSMAP=y
5CONFIG_MTD_PHYSMAP_OF=y
6CONFIG_NET_CORE=y
7CONFIG_XILINX_PHY=y
8CONFIG_XILINX_MICROBLAZE0_FAMILY="kintex7"
9CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1
10CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1
11CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1
12CONFIG_XILINX_MICROBLAZE0_USE_DIV=1
13CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=2
14CONFIG_XILINX_MICROBLAZE0_USE_FPU=1
15CONFIG_XILINX_MICROBLAZE0_HW_VER="11.0"
16CONFIG_KERNEL_BASE_ADDR=0x80000000
17CONFIG_CMDLINE="console=ttyUL0,115200 earlycon root=/dev/ram0 rw"
18CONFIG_BLK_DEV_INITRD=y \ No newline at end of file
diff --git a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.2.bb b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.2.bb
new file mode 100644
index 00000000..c41e5df2
--- /dev/null
+++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2022.2.bb
@@ -0,0 +1,9 @@
1LINUX_VERSION = "5.15.36"
2KBRANCH="xlnx_rebase_v5.15_LTS"
3SRCREV = "0666ebfb0c32e2af2e2e943ca1561a9a0f83ee9f"
4
5KCONF_AUDIT_LEVEL="0"
6
7include linux-xlnx.inc
8
9FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb
index 1114a49d..505b54db 100644
--- a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb
+++ b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb
@@ -11,7 +11,7 @@ S = "${WORKDIR}/git"
11 11
12FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 12FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
13 13
14BRANCH = "xlnx_rel_v2022.1" 14BRANCH = "master"
15REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" 15REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https"
16SRCREV = "9d2657550eccebccce08cacfcdd369367b9f6be4" 16SRCREV = "9d2657550eccebccce08cacfcdd369367b9f6be4"
17 17
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx.bb b/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx.bb
index 958183a0..dbe52de9 100644
--- a/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx.bb
+++ b/meta-xilinx-core/recipes-multimedia/vcu/libomxil-xlnx.bb
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=03a7aef7e6f6a76a59fd9b8ba450b493"
6XILINX_VCU_VERSION = "1.0.0" 6XILINX_VCU_VERSION = "1.0.0"
7PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" 7PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
8 8
9BRANCH ?= "xlnx_rel_v2022.1" 9BRANCH ?= "master"
10REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" 10REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https"
11SRCREV = "b3308c608be7ed9250b9c6732f6e0a02b1a2e985" 11SRCREV = "6752f5da88a8783f689ae762065295b89902d6d4"
12 12
13BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 13BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
14SRC_URI = "${REPO};${BRANCHARG}" 14SRC_URI = "${REPO};${BRANCHARG}"
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx.bb b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx.bb
index 5608e5a8..5f2dea6e 100644
--- a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx.bb
+++ b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx.bb
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=03a7aef7e6f6a76a59fd9b8ba450b493"
6XILINX_VCU_VERSION = "1.0.0" 6XILINX_VCU_VERSION = "1.0.0"
7PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" 7PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
8 8
9BRANCH ?= "xlnx_rel_v2022.1" 9BRANCH ?= "master"
10REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" 10REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https"
11SRCREV = "5bf158af204b181f00ac009c8745557642ecfe5f" 11SRCREV = "9956b4a1229fc667e2a71164fc21e0b2a1aab4de"
12 12
13BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 13BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
14SRC_URI = "${REPO};${BRANCHARG}" 14SRC_URI = "${REPO};${BRANCHARG}"
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware.bb b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware.bb
index 0013134d..930cf0d8 100644
--- a/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware.bb
+++ b/meta-xilinx-core/recipes-multimedia/vcu/vcu-firmware.bb
@@ -10,7 +10,7 @@ S = "${WORKDIR}/git"
10 10
11BRANCH ?= "xlnx_rel_v2022.1" 11BRANCH ?= "xlnx_rel_v2022.1"
12REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" 12REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https"
13SRCREV = "569f980527fd58f43baf16bd0b294bf8c7cdf963" 13SRCREV = "3980c778d71fa51a15e89bf70fd8fb28d5cb12e0"
14 14
15BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 15BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
16SRC_URI = "${REPO};${BRANCHARG}" 16SRC_URI = "${REPO};${BRANCHARG}"
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt.inc b/meta-xilinx-core/recipes-xrt/xrt/xrt.inc
index da09ec0f..51455162 100644
--- a/meta-xilinx-core/recipes-xrt/xrt/xrt.inc
+++ b/meta-xilinx-core/recipes-xrt/xrt/xrt.inc
@@ -2,6 +2,9 @@ REPO ?= "git://github.com/Xilinx/XRT.git;protocol=https"
2BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 2BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
3SRC_URI = "${REPO};${BRANCHARG}" 3SRC_URI = "${REPO};${BRANCHARG}"
4 4
5BRANCH= "2022.1" 5BRANCH= "master"
6SRCREV= "2a6dc026480914ea1c9f02977a6ab4b57e8a3c8d" 6SRCREV= "6af05b317093d0c38184322585ac21617f4789c5"
7PV = "202210.2.13.0" 7PV = "202220.2.14.0"
8
9
10
diff --git a/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb b/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb
index 9cba7307..7b87e217 100644
--- a/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb
+++ b/meta-xilinx-core/recipes-xrt/xrt/xrt_git.bb
@@ -8,12 +8,11 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \
8 file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ 8 file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \
9 file://runtime_src/core/pcie/driver/linux/xocl/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 9 file://runtime_src/core/pcie/driver/linux/xocl/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10 file://runtime_src/core/pcie/linux/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 10 file://runtime_src/core/pcie/linux/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
11 file://runtime_src/core/pcie/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 \ 11 file://runtime_src/core/tools/xbutil2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 "
12 file://runtime_src/core/edge/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 "
13 12
14S = "${WORKDIR}/git/src" 13S = "${WORKDIR}/git/src"
15 14
16inherit cmake pkgconfig 15inherit cmake
17 16
18BBCLASSEXTEND = "native nativesdk" 17BBCLASSEXTEND = "native nativesdk"
19 18
@@ -41,7 +40,8 @@ FILES:${PN} += "\
41 ${libdir}/lib*.so \ 40 ${libdir}/lib*.so \
42 ${libdir}/lib*.so.* \ 41 ${libdir}/lib*.so.* \
43 ${libdir}/ps_kernels_lib \ 42 ${libdir}/ps_kernels_lib \
44 /lib/*.so* " 43 /lib/*.so* \
44 ${datadir}"
45INSANE_SKIP:${PN} += "dev-so" 45INSANE_SKIP:${PN} += "dev-so"
46 46
47pkg_postinst_ontarget:${PN}() { 47pkg_postinst_ontarget:${PN}() {