summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-kernel
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2022-09-12 18:43:54 -0700
committerMark Hatle <mark.hatle@amd.com>2022-09-12 18:43:54 -0700
commit1cd865c9c93fe48f92970676d44575bf8227a172 (patch)
tree5f649bd38a75b9f8a42675895f85ffcde8384298 /meta-xilinx-core/recipes-kernel
parentb11bfd86c25d9446e5c9fb62d377c94995f795a6 (diff)
parentfb44a4e29a40c2653735358da4668c6ae2736fab (diff)
downloadmeta-xilinx-1cd865c9c93fe48f92970676d44575bf8227a172.tar.gz
Merge branch 'honister' into kirkstone-next
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/recipes-kernel')
-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.inc6
-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
5 files changed, 37 insertions, 7 deletions
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 ae5f98d9..ce898075 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 = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
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.inc b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc
index adefabea..2edebe8e 100644
--- a/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc
+++ b/meta-xilinx-core/recipes-kernel/linux/linux-xlnx.inc
@@ -1,13 +1,12 @@
1# This version extension should match CONFIG_LOCALVERSION in defconfig 1# This version extension should match CONFIG_LOCALVERSION in defconfig
2XILINX_RELEASE_VERSION ?= "" 2LINUX_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}"
3LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}"
4PV = "${LINUX_VERSION}+git${SRCPV}" 3PV = "${LINUX_VERSION}+git${SRCPV}"
5 4
6# Sources, by default allow for the use of SRCREV pointing to orphaned tags/commits 5# Sources, by default allow for the use of SRCREV pointing to orphaned tags/commits
7KBRANCH ?= "xlnx_rebase_v5.15_LTS" 6KBRANCH ?= "xlnx_rebase_v5.15_LTS"
8SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" 7SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}"
9 8
10FILESOVERRIDES:append = ":${XILINX_RELEASE_VERSION}" 9FILESOVERRIDES:append := ":${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}"
11KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine" 10KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine"
12YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=yocto-kmeta" 11YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=yocto-kmeta"
13SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}" 12SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}"
@@ -53,6 +52,7 @@ KBUILD_DEFCONFIG:zynqmp ?= "xilinx_defconfig"
53KBUILD_DEFCONFIG:zynq ?= "xilinx_zynq_defconfig" 52KBUILD_DEFCONFIG:zynq ?= "xilinx_zynq_defconfig"
54KBUILD_DEFCONFIG:microblaze ?= "mmu_defconfig" 53KBUILD_DEFCONFIG:microblaze ?= "mmu_defconfig"
55KBUILD_DEFCONFIG:versal ?= "xilinx_defconfig" 54KBUILD_DEFCONFIG:versal ?= "xilinx_defconfig"
55KBUILD_DEFCONFIG:versal-net ?= "xilinx_versal_net_defconfig"
56 56
57KERNEL_FEATURES:append:zynqmp = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)}" 57KERNEL_FEATURES:append:zynqmp = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)}"
58 58
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..3551fb8b
--- /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 = "2ddbacde6539be25b5717af5705a0d0009d6b2d3"
4
5KCONF_AUDIT_LEVEL="0"
6
7include linux-xlnx.inc
8
9FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"