1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

linux-bb.org: update to 5.10.168 for armv7a targets

Updates SRCREV, PV, and BRANCH for armv7a targets and fixes
failure to mount /boot when using poky with systemd. The
kernel selected supports VFAT without initramfs as noted
here - https://lists.yoctoproject.org/g/meta-ti/message/16913

Removes defconfig patch setting LZMA, as the new kernel
already defaults to LZ4.

Tested by running `bitbake core-image-base` with this patchset,
and then booting a pair of Beaglebone Black devices from the
resulting image. Prior to the change, systemd boots to a
maintenance mode having failed to mount /boot. After the change,
the system boots normally and /boot is mounted.

Suggested-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Anthony J. Martinez <anthony@ajmartinez.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Anthony J. Martinez
2023-09-13 16:45:05 +00:00
committed by Ryan Eatmon
parent 2aa7155417
commit 602875f148
2 changed files with 4 additions and 35 deletions

View File

@@ -1,29 +0,0 @@
From 0ccadc7a676341bbd66eb176308c7c59931e9dd2 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@konsulko.com>
Date: Fri, 7 Apr 2023 01:44:56 +0000
Subject: [PATCH] defconfig: switch default kernel compression to LZMA
LZO compression and lzop tool haven't been maintained for long time and have
been removed in recent versions of OE-Core, even though Debian may still use
them. Switch to LZMA compression that is used by default in TI kernel config.
Upstream-Status: Inappropriate [OE-specific]
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
arch/arm/configs/bb.org_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/bb.org_defconfig b/arch/arm/configs/bb.org_defconfig
index 6bf0fb860683..7c035735172d 100644
--- a/arch/arm/configs/bb.org_defconfig
+++ b/arch/arm/configs/bb.org_defconfig
@@ -1,5 +1,5 @@
# CONFIG_LOCALVERSION_AUTO is not set
-CONFIG_KERNEL_LZO=y
+CONFIG_KERNEL_LZMA=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_NO_HZ_IDLE=y
--
2.25.1

View File

@@ -16,10 +16,10 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
S = "${WORKDIR}/git"
# 5.10.162 version for 32-bit
SRCREV:armv7a = "982fde4eb381f98ec8be946e8d33dd0c9f9416ab"
PV:armv7a = "5.10.162+git${SRCPV}"
BRANCH:armv7a = "v5.10.162-ti-r59"
# 5.10.168 version for 32-bit
SRCREV:armv7a = "a943fc1987e1b8057b0b5219ecd3c5a85285d62a"
PV:armv7a = "5.10.168+git${SRCPV}"
BRANCH:armv7a = "v5.10.168-ti-r70"
# 5.10.162 version for 64-bit
SRCREV:aarch64 = "a2f5d5746b6c389e58d20fda0a0fa88403da428b"
@@ -35,8 +35,6 @@ SRC_URI = "git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH
file://0001-block-blk-iocost-gcc13-keep-large-values-in-a-new-en.patch \
"
SRC_URI:append:armv7a = " file://0001-defconfig-switch-default-kernel-compression-to-LZMA.patch"
FILES:${KERNEL_PACKAGE_NAME}-devicetree += " \
/${KERNEL_DTBDEST}/*/overlays/*.dtb \
/${KERNEL_DTBDEST}/*/overlays/*.dtbo \