diff options
Diffstat (limited to 'meta-xilinx-core')
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. | |||
| 12 | The license on the software is Xilinx proprietary, so you may be required to | 12 | The license on the software is Xilinx proprietary, so you may be required to |
| 13 | enable the approprate LICENSE_FLAGS_WHITELIST to trigger the download. | 13 | enable the approprate LICENSE_FLAGS_WHITELIST to trigger the download. |
| 14 | The license itself is available within the download at the URL referred to in | 14 | The license itself is available within the download at the URL referred to in |
| 15 | meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native_2022.1.bb. | 15 | meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native_2022.2.bb. |
| 16 | 16 | ||
| 17 | Add the following to your local.conf to acknowledge you accept the proprietary | 17 | Add the following to your local.conf to acknowledge you accept the proprietary |
| 18 | xilinx license. | 18 | xilinx 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 @@ | |||
| 1 | LICENSE = "MIT" | ||
| 2 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
| 3 | |||
| 4 | inherit devicetree | 1 | inherit devicetree |
| 5 | 2 | ||
| 6 | DEPENDS = "dtc-native bootgen-native" | 3 | DEPENDS = "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 \ | |||
| 18 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ | 18 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ |
| 19 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bb \ | 19 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bb \ |
| 20 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bbappend \ | 20 | virtualization-layer:${LAYERDIR}/dynamic-layers/virtualization-layer/recipes-*/*/*.bbappend \ |
| 21 | xilinx-tools:${LAYERDIR}/dynamic-layers/meta-xilinx-tools/recipes-*/*/*.bb \ | ||
| 22 | xilinx-tools:${LAYERDIR}/dynamic-layers/meta-xilinx-tools/recipes-*/*/*.bbappend \ | ||
| 21 | " | 23 | " |
| 22 | 24 | ||
| 23 | LAYERDEPENDS_xilinx = "core" | 25 | LAYERDEPENDS_xilinx = "core" |
| @@ -42,4 +44,4 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | |||
| 42 | *->xserver-xorg \ | 44 | *->xserver-xorg \ |
| 43 | " | 45 | " |
| 44 | 46 | ||
| 45 | XILINX_RELEASE_VERSION = "v2022.1" | 47 | XILINX_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 | ||
| 209 | XILINX_VER_MAIN = "2022.1" | 209 | XILINX_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 | ||
| 42 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.bin', ' xilinx-bootbin', '', d)}" | ||
| 43 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'system.dtb', ' virtual/dtb', '', d)}" | ||
| 44 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'boot.scr', ' u-boot-zynq-scr', '', d)}" | ||
| 45 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'uEnv.txt', ' u-boot-zynq-uenv', '', d)}" | ||
| 46 | WKS_FILE_DEPENDS:append = "${@bb.utils.contains('IMAGE_BOOT_FILES', 'atf-uboot.ub', ' arm-trusted-firmware', '', d)}" | ||
| 47 | |||
| 41 | IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}" | 48 | IMAGE_BOOT_FILES ?= "${@get_default_image_boot_files(d)}" |
| 42 | 49 | ||
| 43 | def get_default_image_boot_files(d): | 50 | def 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 | ||
| 11 | SOC_VARIANT ?= "prime" | 12 | SOC_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 = "" | |||
| 32 | KERNEL_IMAGETYPE ?= "linux.bin.ub" | 32 | KERNEL_IMAGETYPE ?= "linux.bin.ub" |
| 33 | KERNEL_IMAGETYPES = "" | 33 | KERNEL_IMAGETYPES = "" |
| 34 | 34 | ||
| 35 | SERIAL_CONSOLES ?= "115200;ttyS0" | 35 | SERIAL_CONSOLES ?= "115200;ttyUL0" |
| 36 | 36 | ||
| 37 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | 37 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" |
| 38 | 38 | ||
| @@ -44,6 +44,7 @@ EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-nativ | |||
| 44 | 44 | ||
| 45 | UBOOT_MACHINE ?= "microblaze-generic_defconfig" | 45 | UBOOT_MACHINE ?= "microblaze-generic_defconfig" |
| 46 | UBOOT_INITIAL_ENV = "" | 46 | UBOOT_INITIAL_ENV = "" |
| 47 | BOOTMODE ?= "generic.root" | ||
| 47 | 48 | ||
| 48 | HDF_MACHINE = "kc705-microblazeel" | 49 | HDF_MACHINE = "kc705-microblazeel" |
| 49 | IMAGE_FSTYPES += "cpio.gz" | 50 | IMAGE_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" | |||
| 20 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" | 20 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" |
| 21 | 21 | ||
| 22 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" | 22 | UBOOT_MACHINE ?= "xilinx_versal_virt_defconfig" |
| 23 | BOOTMODE ?= "generic.root" | ||
| 23 | 24 | ||
| 24 | SERIAL_CONSOLES ?= "115200;ttyAMA0" | 25 | SERIAL_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 | ||
| 6 | MACHINEOVERRIDES =. "${@['', 'versal-net-generic:']['versal-net-generic' != '${MACHINE}']}" | ||
| 7 | #### Regular settings follow | ||
| 8 | |||
| 9 | SOC_VARIANT = "net" | ||
| 10 | |||
| 11 | # Must be set first, or versal-generic will set it | ||
| 12 | UBOOT_MACHINE ?= "xilinx_versal_net_virt_defconfig" | ||
| 13 | |||
| 14 | require conf/machine/versal-generic.conf | ||
| 15 | |||
| 16 | #### REMOVE THE FOLLOWING WHEN BOOTGEN IS SYNCED | ||
| 17 | # required for bootgen native/nativesdk | ||
| 18 | MACHINEOVERRIDES:class-native = "versal-net" | ||
| 19 | MACHINEOVERRIDES:class-nativesdk = "versal-net" | ||
| 20 | #### REMOVE THE ABOVE | ||
| 21 | |||
| 22 | HDF_MACHINE = "versal-net-generic" | ||
| 23 | |||
| 24 | QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-net-psx-spp-1.4.dtb" | ||
| 25 | QEMU_HW_DTB_PMC = "${QEMU_HW_DTB_PATH}/board-versal-pmx-virt.dtb" | ||
| 26 | |||
| 27 | #### No additional settings should be after the Postamble | ||
| 28 | #### Postamble | ||
| 29 | PACKAGE_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" | |||
| 20 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" | 20 | EXTRA_IMAGEDEPENDS += "libyaml-native python3-cython-native python3-pyyaml-native" |
| 21 | 21 | ||
| 22 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" | 22 | UBOOT_MACHINE ?= "xilinx_zynq_virt_defconfig" |
| 23 | BOOTMODE ?= "generic.root" | ||
| 23 | 24 | ||
| 24 | SERIAL_CONSOLES ?= "115200;ttyPS0" | 25 | SERIAL_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 | ||
| 32 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" | 32 | UBOOT_MACHINE ?= "xilinx_zynqmp_virt_defconfig" |
| 33 | SPL_BINARY ?= "spl/boot.bin" | 33 | SPL_BINARY ?= "spl/boot.bin" |
| 34 | BOOTMODE ?= "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 |
| 36 | IMAGE_CLASSES += "image-types-xilinx-qemu" | 37 | IMAGE_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. | ||
| 4 | YAML_MAIN_MEMORY_CONFIG:microblaze-generic ?= "mig_7series_0" | ||
| 5 | YAML_CONSOLE_DEVICE_CONFIG:microblaze-generic ?= "axi_uartlite_0" | ||
| 6 | YAML_DT_BOARD_FLAGS:microblaze-generic ?= "{BOARD kc705-full}" | ||
| 7 | |||
| 8 | # zynq-generic.conf uses HDF_MACHINE = "zc702-zynq7", Hence set zc702 dtsi file. | ||
| 9 | YAML_DT_BOARD_FLAGS:zynq-generic ?= "{BOARD zc702}" | ||
| 10 | |||
| 11 | # zynqmp-generic.conf uses HDF_MACHINE = "zcu102-zynqmp", Hence set zcu102-rev1.0 dtsi file. | ||
| 12 | YAML_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. | ||
| 15 | YAML_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. | ||
| 18 | YAML_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 @@ | |||
| 1 | ATF_VERSION = "2.6" | ||
| 2 | SRCREV = "7c85661015b70f6b9aa821e6ebeea0dd96a59287" | ||
| 3 | BRANCH = "xlnx_rebase_v2.6" | ||
| 4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | ||
| 5 | |||
| 6 | |||
| 7 | include 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" | |||
| 10 | RDEPENDS:${PN} += "openssl" | 10 | RDEPENDS:${PN} += "openssl" |
| 11 | 11 | ||
| 12 | REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" |
| 13 | BRANCH ?= "xlnx_rel_v2022.1" | 13 | BRANCH ?= "master" |
| 14 | SRCREV = "4eac958eb6c831ffa5768a0e2cd4be23c5efe2e0" | 14 | SRCREV = "4eac958eb6c831ffa5768a0e2cd4be23c5efe2e0" |
| 15 | 15 | ||
| 16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 16 | BRANCHARG = "${@['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] | ||
| 8 | Description=dfx-mgrd Dynamic Function eXchange | ||
| 9 | Documentation=https://github.com/Xilinx/dfx-mgr | ||
| 10 | |||
| 11 | [Service] | ||
| 12 | ExecStart=/usr/bin/dfx-mgrd | ||
| 13 | |||
| 14 | [Install] | ||
| 15 | WantedBy=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" | |||
| 8 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 8 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 9 | SRC_URI = "${REPO};${BRANCHARG}" | 9 | SRC_URI = "${REPO};${BRANCHARG}" |
| 10 | 10 | ||
| 11 | BRANCH = "xlnx_rel_v2022.1" | 11 | BRANCH = "master" |
| 12 | SRCREV = "b1a4a2bd4fa72b3fb8e9e8f9c97ef5444bd9fb2a" | 12 | SRCREV = "b7fe333513edda99cd84f3a2d26e01aaf4bd5e02" |
| 13 | SOMAJOR = "1" | 13 | SOMAJOR = "1" |
| 14 | SOMINOR = "0" | 14 | SOMINOR = "0" |
| 15 | SOVERSION = "${SOMAJOR}.${SOMINOR}" | 15 | SOVERSION = "${SOMAJOR}.${SOMINOR}" |
| @@ -23,13 +23,13 @@ S = "${WORKDIR}/git" | |||
| 23 | inherit cmake update-rc.d systemd | 23 | inherit cmake update-rc.d systemd |
| 24 | 24 | ||
| 25 | DEPENDS += " libwebsockets inotify-tools libdfx zocl libdrm" | 25 | DEPENDS += " libwebsockets inotify-tools libdfx zocl libdrm" |
| 26 | RDEPENDS:${PN} += " fru-print" | ||
| 26 | EXTRA_OECMAKE += " \ | 27 | EXTRA_OECMAKE += " \ |
| 27 | -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ | 28 | -DCMAKE_SYSROOT:PATH=${RECIPE_SYSROOT} \ |
| 28 | " | 29 | " |
| 29 | INITSCRIPT_NAME = "dfx-mgr.sh" | 30 | INITSCRIPT_NAME = "dfx-mgr.sh" |
| 30 | INITSCRIPT_PARAMS = "start 99 S ." | 31 | INITSCRIPT_PARAMS = "start 99 S ." |
| 31 | 32 | ||
| 32 | SRC_URI:append = " file://dfx-mgr.service" | ||
| 33 | SYSTEMD_PACKAGES="${PN}" | 33 | SYSTEMD_PACKAGES="${PN}" |
| 34 | SYSTEMD_SERVICE:${PN}="dfx-mgr.service" | 34 | SYSTEMD_SERVICE:${PN}="dfx-mgr.service" |
| 35 | SYSTEMD_AUTO_ENABLE:${PN}="enable" | 35 | SYSTEMD_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 | ||
| 65 | PACKAGES =+ "libdfx-mgr" | 67 | PACKAGES =+ "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" | |||
| 4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=94aba86aec117f003b958a52f019f1a7" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=94aba86aec117f003b958a52f019f1a7" |
| 6 | 6 | ||
| 7 | BRANCH ?= "xlnx_rel_v2022.1" | 7 | BRANCH ?= "master" |
| 8 | REPO ?= "git://github.com/Xilinx/libdfx.git;protocol=https" | 8 | REPO ?= "git://github.com/Xilinx/libdfx.git;protocol=https" |
| 9 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 9 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 10 | SRC_URI = "${REPO};${BRANCHARG}" | 10 | SRC_URI = "${REPO};${BRANCHARG}" |
| 11 | SRCREV = "96d8462a72b9b64e1057f8864795b5f60a2fc884" | 11 | SRCREV = "cb36032844b3845ad28007404d0566184504c03f" |
| 12 | 12 | ||
| 13 | COMPATIBLE_MACHINE = "^$" | 13 | COMPATIBLE_MACHINE = "^$" |
| 14 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | 14 | COMPATIBLE_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 @@ | |||
| 1 | SUMMARY = "PMU ROM for QEMU" | ||
| 2 | DESCRIPTION = "The ZynqMP PMU ROM for QEMU emulation" | ||
| 3 | HOMEPAGE = "http://www.xilinx.com" | ||
| 4 | SECTION = "bsp" | ||
| 5 | |||
| 6 | LICENSE = "Proprietary" | ||
| 7 | LICENSE_FLAGS = "xilinx" | ||
| 8 | LIC_FILES_CHKSUM = "file://PMU_ROM-LICENSE.txt;md5=d43d49bc1eb1c907fc6f4ea75abafdfc" | ||
| 9 | |||
| 10 | SRC_URI = "https://www.xilinx.com/bin/public/openDownload?filename=PMU_ROM.tar.gz" | ||
| 11 | SRC_URI[sha256sum] = "f9a450ef960979463ea0a87a35fafb4a5b62d3a741de30cbcef04c8edc22a7cf" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/PMU_ROM" | ||
| 14 | |||
| 15 | inherit deploy native | ||
| 16 | |||
| 17 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 18 | |||
| 19 | do_configure[noexec] = "1" | ||
| 20 | do_compile[noexec] = "1" | ||
| 21 | do_install[noexec] = "1" | ||
| 22 | |||
| 23 | do_deploy () { | ||
| 24 | install -D ${S}/pmu-rom.elf ${DEPLOYDIR}/pmu-rom.elf | ||
| 25 | } | ||
| 26 | |||
| 27 | addtask 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 @@ | |||
| 1 | UBOOT_VERSION = "v2021.01" | ||
| 2 | |||
| 3 | UBRANCH ?= "master" | ||
| 4 | |||
| 5 | SRCREV = "f7c1e7084dcb5ed9653e2fa89081f266ba02dfb8" | ||
| 6 | |||
| 7 | include u-boot-xlnx.inc | ||
| 8 | include u-boot-spl-zynq-init.inc | ||
| 9 | |||
| 10 | LICENSE = "GPLv2+" | ||
| 11 | LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897" | ||
| 12 | |||
| 13 | # u-boot-xlnx has support for these | ||
| 14 | HAS_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" | |||
| 27 | KERNEL_BOOTCMD:versal ?= "booti" | 27 | KERNEL_BOOTCMD:versal ?= "booti" |
| 28 | KERNEL_BOOTCMD:microblaze ?= "bootm" | 28 | KERNEL_BOOTCMD:microblaze ?= "bootm" |
| 29 | 29 | ||
| 30 | BOOTMODE ?= "generic" | 30 | BOOTMODE ??= "generic" |
| 31 | BOOTFILE_EXT ?= "" | 31 | BOOTFILE_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" | |||
| 159 | NAND_FIT_IMAGE_OFFSET:zynq ?= "0x1080000" | 160 | NAND_FIT_IMAGE_OFFSET:zynq ?= "0x1080000" |
| 160 | NAND_FIT_IMAGE_SIZE ?= "0x6400000" | 161 | NAND_FIT_IMAGE_SIZE ?= "0x6400000" |
| 161 | 162 | ||
| 162 | SDBOOTDEV ?= "0" | 163 | # Default to booting with the rootfs device being partition 2 for SD/eMMC |
| 164 | PARTNUM ?= "2" | ||
| 165 | |||
| 166 | # Set Kernel root filesystem parameter for SD/eMMC boot | ||
| 167 | # Bootdev will automatically be set to 'sda' or 'mmcblkXp' | ||
| 168 | KERNEL_ROOT_SD ?= "root=/dev/\${bootdev}${PARTNUM} ro rootwait" | ||
| 169 | |||
| 170 | # Set Kernel root filesystem parameter for JTAG/QSPI/OSPI/NAND(using RAMDISK) boot | ||
| 171 | KERNEL_ROOT_RAMDISK ?= "root=/dev/ram0 rw" | ||
| 163 | 172 | ||
| 164 | BITSTREAM_LOAD_ADDRESS ?= "0x100000" | 173 | BITSTREAM_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 | ################ | ||
| 6 | fitimage_name=@@FIT_IMAGE@@ | ||
| 7 | kernel_name=@@KERNEL_IMAGE@@ | ||
| 8 | ramdisk_name=@@RAMDISK_IMAGE1@@ | ||
| 9 | rootfs_name=@@RAMDISK_IMAGE@@ | ||
| 10 | @@PRE_BOOTENV@@ | ||
| 11 | |||
| 12 | for boot_target in ${boot_targets}; | ||
| 13 | do | ||
| 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 | ||
| 98 | done | ||
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 | ||
| 10 | PV = "xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" | 10 | PV = "xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
| 11 | 11 | ||
| 12 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
| 13 | SRC_URI:append = " file://0001-Makefile-Use-python3-instead-of-python.patch" | ||
| 14 | |||
| 15 | REPO ?= "git://github.com/Xilinx/qemu-devicetrees.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/qemu-devicetrees.git;protocol=https" |
| 16 | 13 | ||
| 17 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 14 | BRANCHARG = "${@['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 @@ | |||
| 1 | From e80324e3497e5768c9fdbde3c0660a03d0dcc3ee Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | ||
| 3 | Date: Mon, 8 Feb 2021 16:32:34 -0800 | ||
| 4 | Subject: [PATCH] Makefile:Use python3 instead of python | ||
| 5 | |||
| 6 | Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | ||
| 7 | --- | ||
| 8 | Makefile | 12 ++++++------ | ||
| 9 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
| 10 | |||
| 11 | diff --git a/Makefile b/Makefile | ||
| 12 | index 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 | -- | ||
| 36 | 2.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 | |||
| 2 | require qemu-devicetrees.inc | ||
| 3 | |||
| 4 | BRANCH ?= "master" | ||
| 5 | SRCREV ?= "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 @@ | |||
| 1 | require qemu-xilinx-native.inc | ||
| 2 | BPN = "qemu-xilinx" | ||
| 3 | |||
| 4 | EXTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-blobs --disable-guest-agent" | ||
| 5 | |||
| 6 | PROVIDES = "qemu-native" | ||
| 7 | PACKAGECONFIG ??= "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 @@ | |||
| 1 | require qemu-xilinx-native.inc | ||
| 2 | |||
| 3 | PROVIDES = "qemu-system-native" | ||
| 4 | |||
| 5 | EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" | ||
| 6 | |||
| 7 | PACKAGECONFIG ??= "fdt alsa kvm pie" | ||
| 8 | |||
| 9 | PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}" | ||
| 10 | |||
| 11 | DEPENDS += "pixman-native qemu-xilinx-native bison-native ninja-native meson-native" | ||
| 12 | |||
| 13 | do_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 = " \ | |||
| 11 | DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native" | 11 | DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native" |
| 12 | 12 | ||
| 13 | XILINX_QEMU_VERSION ?= "v6.1.0" | 13 | XILINX_QEMU_VERSION ?= "v6.1.0" |
| 14 | BRANCH ?= "xlnx_rel_v2022.1" | 14 | BRANCH ?= "master" |
| 15 | SRCREV = "52a9b22faeb149a6b17646b1f912f06ea6c269ca" | 15 | SRCREV = "de92de0a3cef8affbf256d8930817bf8765cce21" |
| 16 | 16 | ||
| 17 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | 17 | FILESEXTRAPATHS: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 @@ | |||
| 1 | require recipes-devtools/qemu/qemu.inc | ||
| 2 | require qemu-xilinx.inc | ||
| 3 | |||
| 4 | BBCLASSEXTEND = "nativesdk" | ||
| 5 | |||
| 6 | RDEPENDS:${PN}:class-target += "bash" | ||
| 7 | |||
| 8 | PROVIDES:class-nativesdk = "nativesdk-qemu" | ||
| 9 | RPROVIDES:${PN}:class-nativesdk = "nativesdk-qemu" | ||
| 10 | |||
| 11 | EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}" | ||
| 12 | EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" | ||
| 13 | EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" | ||
| 14 | |||
| 15 | do_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 | |||
| 41 | WatchdogSec=20 | 41 | WatchdogSec=20 |
| 42 | 42 | ||
| 43 | # The user to run Weston as. | 43 | # The user to run Weston as. |
| 44 | User=root | 44 | User=weston |
| 45 | Group=root | 45 | Group=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 |
| 48 | WorkingDirectory=/home/weston | 48 | WorkingDirectory=/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" | |||
| 4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" |
| 6 | 6 | ||
| 7 | XLNX_DP_VERSION = "5.15.19" | 7 | XLNX_DP_VERSION = "5.10.0" |
| 8 | PV = "${XLNX_DP_VERSION}" | 8 | PV = "${XLNX_DP_VERSION}" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
| 11 | 11 | ||
| 12 | BRANCH ?= "xlnx_rel_v2022.1" | 12 | BRANCH ?= "master" |
| 13 | REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" | 13 | REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" |
| 14 | SRCREV ?= "9a025fdb7134a8af12de8d69f5a428c8284ae9b3" | 14 | SRCREV ?= "c57b2ce95ee6c86f35caecbc7007644ff8f6d337" |
| 15 | 15 | ||
| 16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 17 | SRC_URI = "${REPO};${BRANCHARG}" | 17 | SRC_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 @@ | |||
| 1 | SRC_URI += "file://mb-no-tree-loop-distribute-patterns.patch" | 1 | SRC_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' |
| 4 | python () { | 7 | python () { |
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 @@ | |||
| 1 | CONFIG_SERIAL_OF_PLATFORM=y | ||
| 2 | CONFIG_DP83867_PHY=y | ||
| 3 | CONFIG_EARLY_PRINTK=y | ||
| 4 | CONFIG_MTD_PHYSMAP=y | ||
| 5 | CONFIG_MTD_PHYSMAP_OF=y | ||
| 6 | CONFIG_NET_CORE=y | ||
| 7 | CONFIG_XILINX_PHY=y | ||
| 8 | CONFIG_XILINX_MICROBLAZE0_FAMILY="kintex7" | ||
| 9 | CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1 | ||
| 10 | CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1 | ||
| 11 | CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1 | ||
| 12 | CONFIG_XILINX_MICROBLAZE0_USE_DIV=1 | ||
| 13 | CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=2 | ||
| 14 | CONFIG_XILINX_MICROBLAZE0_USE_FPU=1 | ||
| 15 | CONFIG_XILINX_MICROBLAZE0_HW_VER="11.0" | ||
| 16 | CONFIG_KERNEL_BASE_ADDR=0x80000000 | ||
| 17 | CONFIG_CMDLINE="console=ttyUL0,115200 earlycon root=/dev/ram0 rw" | ||
| 18 | CONFIG_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 @@ | |||
| 1 | LINUX_VERSION = "5.15.36" | ||
| 2 | KBRANCH="xlnx_rebase_v5.15_LTS" | ||
| 3 | SRCREV = "0666ebfb0c32e2af2e2e943ca1561a9a0f83ee9f" | ||
| 4 | |||
| 5 | KCONF_AUDIT_LEVEL="0" | ||
| 6 | |||
| 7 | include linux-xlnx.inc | ||
| 8 | |||
| 9 | FILESEXTRAPATHS: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 | ||
| 12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | 12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
| 13 | 13 | ||
| 14 | BRANCH = "xlnx_rel_v2022.1" | 14 | BRANCH = "master" |
| 15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" | 15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" |
| 16 | SRCREV = "9d2657550eccebccce08cacfcdd369367b9f6be4" | 16 | SRCREV = "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" | |||
| 6 | XILINX_VCU_VERSION = "1.0.0" | 6 | XILINX_VCU_VERSION = "1.0.0" |
| 7 | PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" | 7 | PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
| 8 | 8 | ||
| 9 | BRANCH ?= "xlnx_rel_v2022.1" | 9 | BRANCH ?= "master" |
| 10 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" | 10 | REPO ?= "git://github.com/Xilinx/vcu-omx-il.git;protocol=https" |
| 11 | SRCREV = "b3308c608be7ed9250b9c6732f6e0a02b1a2e985" | 11 | SRCREV = "6752f5da88a8783f689ae762065295b89902d6d4" |
| 12 | 12 | ||
| 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 14 | SRC_URI = "${REPO};${BRANCHARG}" | 14 | SRC_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" | |||
| 6 | XILINX_VCU_VERSION = "1.0.0" | 6 | XILINX_VCU_VERSION = "1.0.0" |
| 7 | PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" | 7 | PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
| 8 | 8 | ||
| 9 | BRANCH ?= "xlnx_rel_v2022.1" | 9 | BRANCH ?= "master" |
| 10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" | 10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" |
| 11 | SRCREV = "5bf158af204b181f00ac009c8745557642ecfe5f" | 11 | SRCREV = "9956b4a1229fc667e2a71164fc21e0b2a1aab4de" |
| 12 | 12 | ||
| 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 14 | SRC_URI = "${REPO};${BRANCHARG}" | 14 | SRC_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 | ||
| 11 | BRANCH ?= "xlnx_rel_v2022.1" | 11 | BRANCH ?= "xlnx_rel_v2022.1" |
| 12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" |
| 13 | SRCREV = "569f980527fd58f43baf16bd0b294bf8c7cdf963" | 13 | SRCREV = "3980c778d71fa51a15e89bf70fd8fb28d5cb12e0" |
| 14 | 14 | ||
| 15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 16 | SRC_URI = "${REPO};${BRANCHARG}" | 16 | SRC_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" | |||
| 2 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 2 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 3 | SRC_URI = "${REPO};${BRANCHARG}" | 3 | SRC_URI = "${REPO};${BRANCHARG}" |
| 4 | 4 | ||
| 5 | BRANCH= "2022.1" | 5 | BRANCH= "master" |
| 6 | SRCREV= "2a6dc026480914ea1c9f02977a6ab4b57e8a3c8d" | 6 | SRCREV= "6af05b317093d0c38184322585ac21617f4789c5" |
| 7 | PV = "202210.2.13.0" | 7 | PV = "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 | ||
| 14 | S = "${WORKDIR}/git/src" | 13 | S = "${WORKDIR}/git/src" |
| 15 | 14 | ||
| 16 | inherit cmake pkgconfig | 15 | inherit cmake |
| 17 | 16 | ||
| 18 | BBCLASSEXTEND = "native nativesdk" | 17 | BBCLASSEXTEND = "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}" | ||
| 45 | INSANE_SKIP:${PN} += "dev-so" | 45 | INSANE_SKIP:${PN} += "dev-so" |
| 46 | 46 | ||
| 47 | pkg_postinst_ontarget:${PN}() { | 47 | pkg_postinst_ontarget:${PN}() { |
