Skip to contentSkip to conversation

configs/raspberrypi: bump Linux version to 6.1.55

PATCH In review Bram Oosterhuis 2 participants 4 messages Oct 11, 2023 – Nov 4, 2023 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 configs/raspberrypi: bump Linux version to 6.1.55

Linux 6.1 has been marked LTS for a long time now. Time to bump Linux for RaspberryPi's to the latest 6.1.55-v7. Since April 2022 the RaspberryPi defconfigs have compressed kernel module enabled by default. (see [1] and [2]).

To load compressed kernel modules kmod and xz packages are needed because busybox doesn't support it.

[1] https://github.com/raspberrypi/linux/commit/c45b4223a4e4a8cfe39edbb4949329ea478fa4e2
[2] https://github.com/raspberrypi/linux/issues/4966

---
 configs/raspberrypi0_defconfig        | 13 ++++++++++---
 configs/raspberrypi0w_defconfig       | 13 ++++++++++---
 configs/raspberrypi2_defconfig        | 13 ++++++++++---
 configs/raspberrypi3_64_defconfig     | 13 ++++++++++---
 configs/raspberrypi3_defconfig        | 13 ++++++++++---
 configs/raspberrypi3_qt5we_defconfig  | 13 ++++++++++---
 configs/raspberrypi4_64_defconfig     | 13 ++++++++++---
 configs/raspberrypi4_defconfig        | 13 ++++++++++---
 configs/raspberrypi_defconfig         | 13 ++++++++++---
 configs/raspberrypicm4io_64_defconfig | 13 ++++++++++---
 configs/raspberrypicm4io_defconfig    | 13 ++++++++++---
 configs/raspberrypizero2w_defconfig   | 13 ++++++++++---
 12 files changed, 120 insertions(+), 36 deletions(-)
configs/raspberrypi0_defconfig +10 -3
index 4506e94bce..4b4c3ff696 100644
@@ -2,14 +2,14 @@ BR2_arm=y
 BR2_arm1176jzf_s=y
 BR2_ARM_EABIHF=y
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
 
 # Build the DTBs for A/B from the kernel sources: the zero is the same
@@ -37,3 +37,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypi0w_defconfig +10 -3
index 7a35794c2d..aace7cf70a 100644
@@ -2,14 +2,14 @@ BR2_arm=y
 BR2_arm1176jzf_s=y
 BR2_ARM_EABIHF=y
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w"
@@ -32,3 +32,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0w/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0w/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypi2_defconfig +10 -3
index 9b484c5588..d679510f66 100644
@@ -7,12 +7,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 
 # Build the DTB from the kernel sources
@@ -39,3 +39,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi2/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi2/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypi3_64_defconfig +10 -3
index 4d838ae0e8..5577442872 100644
@@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
 
 # Build the DTB from the kernel sources
@@ -37,3 +37,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3-64/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypi3_defconfig +10 -3
index 0a59ab42a9..b6db81f027 100644
@@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 
 # Build the DTB from the kernel sources
@@ -37,3 +37,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypi3_qt5we_defconfig +10 -3
index 40d0c0f888..3767b7d4bc 100644
@@ -7,12 +7,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 
 # Build the DTB from the kernel sources
@@ -51,3 +51,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="400M"
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypi4_64_defconfig +10 -3
index 5942f7c4e1..55d6f3a7fa 100644
@@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
 
 # Build the DTB from the kernel sources
@@ -36,3 +36,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4-64/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4-64/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypi4_defconfig +10 -3
index 4e5580c140..54176fde19 100644
@@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
 
 # Build the DTB from the kernel sources
@@ -36,3 +36,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypi_defconfig +10 -3
index cca53f9b37..064037dfb0 100644
@@ -4,14 +4,14 @@ BR2_ARM_EABIHF=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
 
 # Build the DTBs for A/B, A+/B+ and compute module from the kernel sources
@@ -38,3 +38,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypicm4io_64_defconfig +10 -3
index 29cb0472d7..23114da28a 100644
@@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
 
 # Build the DTB from the kernel sources
@@ -39,3 +39,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io-64/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io-64/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypicm4io_defconfig +10 -3
index 017aecc0dd..c50704a227 100644
@@ -6,12 +6,12 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, a 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
 
 # Build the DTB from the kernel sources
@@ -39,3 +39,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
configs/raspberrypizero2w_defconfig +10 -3
index 2ea503ca24..8f9d598cbf 100644
@@ -2,14 +2,14 @@ BR2_arm=y
 BR2_cortex_a53=y
 BR2_ARM_FPU_NEON_VFPV4=y
 
-# Linux headers same as kernel, 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel, 6.1 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6.1=y
 
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,4ce3961c5794c1937d3bb4716eb355bc9e12c445)/linux-4ce3961c5794c1937d3bb4716eb355bc9e12c445.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
 
 # Build the DTB from the kernel sources
@@ -34,3 +34,10 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypizero2w/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypizero2w/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ
\ No newline at end of file
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/rpi-firmware: bump version to a3b20e7

Version a3b20e7 will match the with kernel 6.1.55-v7

---
 package/rpi-firmware/rpi-firmware.hash | 2 +-
 package/rpi-firmware/rpi-firmware.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/rpi-firmware/rpi-firmware.hash +1 -1
index ec13115f3b..25de5cfb83 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  33aea2cb9c3be94c3dd6a96fbb3443eee5af1dc5fc9140e1fadc50832983064e  rpi-firmware-3f20b832b27cd730deb6419b570f31a98167eef6.tar.gz
+sha256  4c39f37f772a0bdcbd11aa882b9069eb09077f3f25d5811d817ca808a49a940a  rpi-firmware-a3b20e7dd41aa174ae50b872c8c9c66beafd63e2.tar.gz
 sha256  c7283ff51f863d93a275c66e3b4cb08021a5dd4d8c1e7acc47d872fbe52d3d6b  boot/LICENCE.broadcom
package/rpi-firmware/rpi-firmware.mk +1 -1
index 53d6d8ca06..429bbb036e 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RPI_FIRMWARE_VERSION = 3f20b832b27cd730deb6419b570f31a98167eef6
+RPI_FIRMWARE_VERSION = a3b20e7dd41aa174ae50b872c8c9c66beafd63e2
 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
 RPI_FIRMWARE_LICENSE = BSD-3-Clause
 RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Bram Oosterhuis

Hello Bram,

Quoted 5 lines · On Wed, 11 Oct 2023 18:24:29 +0200 Bram Oosterhuis <[email protected]> wrote:

Linux 6.1 has been marked LTS for a long time now. Time to bump Linux for RaspberryPi's to the latest 6.1.55-v7. Since April 2022 the RaspberryPi defconfigs have compressed kernel module enabled by default. (see [1] and [2]).

Quoted 7 lines

To load compressed kernel modules kmod and xz packages are needed because busybox doesn't support it.

[1] https://github.com/raspberrypi/linux/commit/c45b4223a4e4a8cfe39edbb4949329ea478fa4e2
[2] https://github.com/raspberrypi/linux/issues/4966

Thanks for this patch. Could you clarify in the commit log on which platforms it was runtime-tested, vs. the platforms for which you only verified the build?

configs/raspberrypi0_defconfig BR2_TARGET_ROOTFS_EXT2_SIZE="120M" · line 46

Quoted 6 lines
configs/raspberrypi0_defconfig +6 -0
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ

I'm afraid this has certainly not been tested, as I believe these lines have no effect since they lack the =y to enable the option:

BR2_PACKAGE_XZ=y

for example.

Quoted 1 line

\ No newline at end of file

Please fix this to have a newline at end of file.

(Of course, same for all other defconfigs)

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Hi Thomas,

I tested it using a private defconfig on a RPI3b, but I see I screwed up when moving to the upstream. Also raspberry just released linux v6.1.6. I think its better to drop these patches and I will provide a new set of patches.
Cheers,  Bram

"Thomas Petazzoni via buildroot" [email protected] – 2 november 2023 19:10

Quoted 37 lines

Hello Bram,

On Wed, 11 Oct 2023 18:24:29 +0200
Bram Oosterhuis <[email protected]> wrote:

Quoted 11 lines

Linux 6.1 has been marked LTS for a long time now. Time to bump
Linux for RaspberryPi's to the latest 6.1.55-v7. Since April 2022
the RaspberryPi defconfigs have compressed kernel module enabled
by default. (see [1] and [2]).

To load compressed kernel modules kmod and xz packages are needed
because busybox doesn't support it.

[1] https://github.com/raspberrypi/linux/commit/c45b4223a4e4a8cfe39edbb4949329ea478fa4e2
[2] https://github.com/raspberrypi/linux/issues/4966

Quoted 1 line


Thanks for this patch. Could you clarify in the commit log on which platforms it was runtime-tested, vs. the platforms for which you only verified the build?

configs/raspberrypi0_defconfig BR2_TARGET_ROOTFS_EXT2_SIZE="120M" · line 46

Quoted 6 lines
configs/raspberrypi0_defconfig +6 -0
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+BR2_PACKAGE_KMOD_TOOLS
+BR2_PACKAGE_XZ
+BR2_PACKAGE_KMOD
+BR2_PACKAGE_HOST_KMOD_XZ


I'm afraid this has certainly not been tested, as I believe these lines have no effect since they lack the =y to enable the option:

BR2_PACKAGE_XZ=y

for example.

Quoted 1 line

\ No newline at end of file

Quoted 9 lines


Please fix this to have a newline at end of file.

(Of course, same for all other defconfigs)

Thanks!

Thomas

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot