* [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55
@ 2023-10-11 16:24 Bram Oosterhuis
2023-10-11 16:24 ` [Buildroot] [PATCH 2/2] package/rpi-firmware: bump version to a3b20e7 Bram Oosterhuis
2023-11-02 18:10 ` [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55 Thomas Petazzoni via buildroot
0 siblings, 2 replies; 4+ messages in thread
From: Bram Oosterhuis @ 2023-10-11 16:24 UTC (permalink / raw)
To: buildroot
Cc: Bram Oosterhuis, Mahyar Koshkouei, Julien Grossholtz, Martin Bark
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
Signed-off-by: Bram Oosterhuis <dev@bybram.com>
---
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(-)
diff --git a/configs/raspberrypi0_defconfig b/configs/raspberrypi0_defconfig
index 4506e94bce..4b4c3ff696 100644
--- a/configs/raspberrypi0_defconfig
+++ b/configs/raspberrypi0_defconfig
@@ -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
diff --git a/configs/raspberrypi0w_defconfig b/configs/raspberrypi0w_defconfig
index 7a35794c2d..aace7cf70a 100644
--- a/configs/raspberrypi0w_defconfig
+++ b/configs/raspberrypi0w_defconfig
@@ -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
diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig
index 9b484c5588..d679510f66 100644
--- a/configs/raspberrypi2_defconfig
+++ b/configs/raspberrypi2_defconfig
@@ -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
diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig
index 4d838ae0e8..5577442872 100644
--- a/configs/raspberrypi3_64_defconfig
+++ b/configs/raspberrypi3_64_defconfig
@@ -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
diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig
index 0a59ab42a9..b6db81f027 100644
--- a/configs/raspberrypi3_defconfig
+++ b/configs/raspberrypi3_defconfig
@@ -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
diff --git a/configs/raspberrypi3_qt5we_defconfig b/configs/raspberrypi3_qt5we_defconfig
index 40d0c0f888..3767b7d4bc 100644
--- a/configs/raspberrypi3_qt5we_defconfig
+++ b/configs/raspberrypi3_qt5we_defconfig
@@ -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
diff --git a/configs/raspberrypi4_64_defconfig b/configs/raspberrypi4_64_defconfig
index 5942f7c4e1..55d6f3a7fa 100644
--- a/configs/raspberrypi4_64_defconfig
+++ b/configs/raspberrypi4_64_defconfig
@@ -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
diff --git a/configs/raspberrypi4_defconfig b/configs/raspberrypi4_defconfig
index 4e5580c140..54176fde19 100644
--- a/configs/raspberrypi4_defconfig
+++ b/configs/raspberrypi4_defconfig
@@ -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
diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig
index cca53f9b37..064037dfb0 100644
--- a/configs/raspberrypi_defconfig
+++ b/configs/raspberrypi_defconfig
@@ -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
diff --git a/configs/raspberrypicm4io_64_defconfig b/configs/raspberrypicm4io_64_defconfig
index 29cb0472d7..23114da28a 100644
--- a/configs/raspberrypicm4io_64_defconfig
+++ b/configs/raspberrypicm4io_64_defconfig
@@ -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
diff --git a/configs/raspberrypicm4io_defconfig b/configs/raspberrypicm4io_defconfig
index 017aecc0dd..c50704a227 100644
--- a/configs/raspberrypicm4io_defconfig
+++ b/configs/raspberrypicm4io_defconfig
@@ -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
diff --git a/configs/raspberrypizero2w_defconfig b/configs/raspberrypizero2w_defconfig
index 2ea503ca24..8f9d598cbf 100644
--- a/configs/raspberrypizero2w_defconfig
+++ b/configs/raspberrypizero2w_defconfig
@@ -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
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/rpi-firmware: bump version to a3b20e7
2023-10-11 16:24 [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55 Bram Oosterhuis
@ 2023-10-11 16:24 ` Bram Oosterhuis
2023-11-02 18:10 ` [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55 Thomas Petazzoni via buildroot
1 sibling, 0 replies; 4+ messages in thread
From: Bram Oosterhuis @ 2023-10-11 16:24 UTC (permalink / raw)
To: buildroot
Cc: Bram Oosterhuis, Mahyar Koshkouei, Julien Grossholtz, Martin Bark
Version a3b20e7 will match the with kernel 6.1.55-v7
Signed-off-by: Bram Oosterhuis <dev@bybram.com>
---
package/rpi-firmware/rpi-firmware.hash | 2 +-
package/rpi-firmware/rpi-firmware.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/rpi-firmware/rpi-firmware.hash b/package/rpi-firmware/rpi-firmware.hash
index ec13115f3b..25de5cfb83 100644
--- a/package/rpi-firmware/rpi-firmware.hash
+++ b/package/rpi-firmware/rpi-firmware.hash
@@ -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
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
index 53d6d8ca06..429bbb036e 100644
--- a/package/rpi-firmware/rpi-firmware.mk
+++ b/package/rpi-firmware/rpi-firmware.mk
@@ -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
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55
2023-10-11 16:24 [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55 Bram Oosterhuis
2023-10-11 16:24 ` [Buildroot] [PATCH 2/2] package/rpi-firmware: bump version to a3b20e7 Bram Oosterhuis
@ 2023-11-02 18:10 ` Thomas Petazzoni via buildroot
2023-11-04 21:35 ` Bram Oosterhuis
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-11-02 18:10 UTC (permalink / raw)
To: Bram Oosterhuis
Cc: Martin Bark, Mahyar Koshkouei, Julien Grossholtz, buildroot
Hello Bram,
On Wed, 11 Oct 2023 18:24:29 +0200
Bram Oosterhuis <dev@bybram.com> 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]).
>
> 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
>
> Signed-off-by: Bram Oosterhuis <dev@bybram.com>
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?
> +# 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.
> \ 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
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55
2023-11-02 18:10 ` [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55 Thomas Petazzoni via buildroot
@ 2023-11-04 21:35 ` Bram Oosterhuis
0 siblings, 0 replies; 4+ messages in thread
From: Bram Oosterhuis @ 2023-11-04 21:35 UTC (permalink / raw)
To: Thomas Petazzoni via buildroot
Cc: buildroot, Martin Bark, Julien Grossholtz, Mahyar Koshkouei
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" buildroot@buildroot.org – 2 november 2023 19:10
> Hello Bram,
>
> On Wed, 11 Oct 2023 18:24:29 +0200
> Bram Oosterhuis <dev@bybram.com> 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]).
> >
> > 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
> >
> > Signed-off-by: Bram Oosterhuis <dev@bybram.com>
>
> 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?
>
> > +# 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.
>
> > \ 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
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-04 21:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-11 16:24 [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55 Bram Oosterhuis
2023-10-11 16:24 ` [Buildroot] [PATCH 2/2] package/rpi-firmware: bump version to a3b20e7 Bram Oosterhuis
2023-11-02 18:10 ` [Buildroot] [PATCH 1/2] configs/raspberrypi: bump Linux version to 6.1.55 Thomas Petazzoni via buildroot
2023-11-04 21:35 ` Bram Oosterhuis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox