diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-09-12 18:43:54 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-09-12 18:43:54 -0700 |
| commit | 1cd865c9c93fe48f92970676d44575bf8227a172 (patch) | |
| tree | 5f649bd38a75b9f8a42675895f85ffcde8384298 /meta-xilinx-core/recipes-kernel | |
| parent | b11bfd86c25d9446e5c9fb62d377c94995f795a6 (diff) | |
| parent | fb44a4e29a40c2653735358da4668c6ae2736fab (diff) | |
| download | meta-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')
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" | |||
| 4 | LICENSE = "GPL-2.0-only" | 4 | LICENSE = "GPL-2.0-only" |
| 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.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 |
| 2 | XILINX_RELEASE_VERSION ?= "" | 2 | LINUX_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}" |
| 3 | LINUX_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}" | ||
| 4 | PV = "${LINUX_VERSION}+git${SRCPV}" | 3 | PV = "${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 |
| 7 | KBRANCH ?= "xlnx_rebase_v5.15_LTS" | 6 | KBRANCH ?= "xlnx_rebase_v5.15_LTS" |
| 8 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" | 7 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" |
| 9 | 8 | ||
| 10 | FILESOVERRIDES:append = ":${XILINX_RELEASE_VERSION}" | 9 | FILESOVERRIDES:append := ":${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}" |
| 11 | KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine" | 10 | KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine" |
| 12 | YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=yocto-kmeta" | 11 | YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=yocto-kmeta" |
| 13 | SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}" | 12 | SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}" |
| @@ -53,6 +52,7 @@ KBUILD_DEFCONFIG:zynqmp ?= "xilinx_defconfig" | |||
| 53 | KBUILD_DEFCONFIG:zynq ?= "xilinx_zynq_defconfig" | 52 | KBUILD_DEFCONFIG:zynq ?= "xilinx_zynq_defconfig" |
| 54 | KBUILD_DEFCONFIG:microblaze ?= "mmu_defconfig" | 53 | KBUILD_DEFCONFIG:microblaze ?= "mmu_defconfig" |
| 55 | KBUILD_DEFCONFIG:versal ?= "xilinx_defconfig" | 54 | KBUILD_DEFCONFIG:versal ?= "xilinx_defconfig" |
| 55 | KBUILD_DEFCONFIG:versal-net ?= "xilinx_versal_net_defconfig" | ||
| 56 | 56 | ||
| 57 | KERNEL_FEATURES:append:zynqmp = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' features/xen/xen.scc', '', d)}" | 57 | KERNEL_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 @@ | |||
| 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..3551fb8b --- /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 = "2ddbacde6539be25b5717af5705a0d0009d6b2d3" | ||
| 4 | |||
| 5 | KCONF_AUDIT_LEVEL="0" | ||
| 6 | |||
| 7 | include linux-xlnx.inc | ||
| 8 | |||
| 9 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
