Skip to contentSkip to conversation

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

PATCH In review Anthony J. Martinez 2 participants 3 messages Sep 13, 2023 – Sep 14, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 ...h-default-kernel-compression-to-LZMA.patch | 29 -------------------
 .../recipes-kernel/linux/linux-bb.org_git.bb  | 10 +++----
 2 files changed, 4 insertions(+), 35 deletions(-)
 delete mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-defconfig-switch-default-kernel-compression-to-LZMA.patch
meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-defconfig-switch-default-kernel-compression-to-LZMA.patch deleted +0 -29
deleted file mode 100644
index 54dc8c91..00000000
@@ -1,29 +0,0 @@
-From 0ccadc7a676341bbd66eb176308c7c59931e9dd2 Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <[email protected]>
-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 <[email protected]>
----
- 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
meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb +4 -6
index e134fb84..f4c1775d 100644
@@ -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"
@@ -30,5 +30,3 @@ SRC_URI = " \
     git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \
     file://defconfig \
 "
-
-SRC_URI:append:armv7a = " file://0001-defconfig-switch-default-kernel-compression-to-LZMA.patch"
Signature · 1 line
2.30.2
#1 lore raw

Apologies - this is for kirkstone. Apparently my subject prefix on git send-email did not work.

Reviewed-by on v1 1/1
#2 lore raw
In reply to Anthony J. Martinez
Quoted 8 lines · Anthony Martinez via lists.yoctoproject.org

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.

Quoted 8 lines

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.

Thanks!

Quoted 68 lines
---
 ...h-default-kernel-compression-to-LZMA.patch | 29 -------------------
 .../recipes-kernel/linux/linux-bb.org_git.bb  | 10 +++----
 2 files changed, 4 insertions(+), 35 deletions(-)
 delete mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-defconfig-switch-default-kernel-compression-to-LZMA.patch
meta-ti-bsp/recipes-kernel/linux/linux-bb.org/0001-defconfig-switch-default-kernel-compression-to-LZMA.patch deleted +0 -29
deleted file mode 100644
index 54dc8c91..00000000
@@ -1,29 +0,0 @@
-From 0ccadc7a676341bbd66eb176308c7c59931e9dd2 Mon Sep 17 00:00:00 2001
-From: Denys Dmytriyenko <[email protected]>
-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 <[email protected]>
----
- 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
meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb +4 -6
index e134fb84..f4c1775d 100644
@@ -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"
@@ -30,5 +30,3 @@ SRC_URI = " \
     git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \
     file://defconfig \
 "
-
-SRC_URI:append:armv7a = " file://0001-defconfig-switch-default-kernel-compression-to-LZMA.patch"
Signature · 1 line
2.30.2