Skip to contentSkip to conversation

configs/friendlyarm_nanopi_r2s: bump to kernel 6.18.18 and U-Boot 2026.01

PATCH Applied Dong Wang 2 participants 4 messages Mar 17 – Mar 18 1 message not in the archive

lore
Share & tools
lore
author
#4 lore raw

PATCH 2/2 configs/friendlyarm_nanopi_r2s: bump to kernel 6.18.18 and U-Boot 2026.01

In reply to a message not in the archive

This commit:
- bumps the Linux kernel to 6.18.18
- bumps the U-Boot to 2026.01
- switches to a stable glibc Bootlin external toolchain
- enables force hashes check
- enlarge the rootfs size to 256M

The updated U-Boot should also fix the CI build of the board.

Run-tested on the board.

---
 .../friendlyarm/nanopi-r2s/patches/linux/linux.hash  |  2 ++
 board/friendlyarm/nanopi-r2s/patches/uboot.hash      |  2 ++
 configs/friendlyarm_nanopi_r2s_defconfig             | 12 ++++++++----
 3 files changed, 12 insertions(+), 4 deletions(-)
 create mode 100644 board/friendlyarm/nanopi-r2s/patches/linux/linux.hash
 create mode 100644 board/friendlyarm/nanopi-r2s/patches/uboot.hash
board/friendlyarm/nanopi-r2s/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 0000000000..020dc72386
@@ -0,0 +1,2 @@
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  f4855f382c1b735c84072bdef36db5bcd5dc7b0c37e42f5104317149a0a486ef  linux-6.18.18.tar.xz
board/friendlyarm/nanopi-r2s/patches/uboot.hash new file +2 -0
new file mode 100644
index 0000000000..b6a925ea4e
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54  u-boot-2026.01.tar.bz2
configs/friendlyarm_nanopi_r2s_defconfig +8 -4
index 547d9d5f59..6250237707 100644
@@ -1,6 +1,10 @@
 BR2_aarch64=y
 BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
+BR2_GLOBAL_PATCH_DIR="board/friendlyarm/nanopi-r2s/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_TARGET_GENERIC_HOSTNAME="rk3328-nanopi-r2s"
 BR2_TARGET_GENERIC_ISSUE="Welcome to Nanopi R2S RK3328"
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/friendlyarm/nanopi-r2s/post-build.sh"
@@ -8,7 +12,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-r2s/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.13"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.18"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3328-nanopi-r2s"
@@ -16,7 +20,7 @@ BR2_LINUX_KERNEL_INSTALL_TARGET=y
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
-BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+BR2_TARGET_ROOTFS_EXT2_SIZE="256M"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.12"
@@ -26,7 +30,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi-r2s-rk3328"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
Signature · 6 lines
2.43.0

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

Dong Wang

author
#1 lore raw

PATCH 1/2 configs/friendlyarm_nanopi_neo: bump to kernel 6.18.18 and U-Boot 2026.01

In reply to a message not in the archive

This commit:
- bumps the Linux kernel to 6.18.18
- bumps the U-Boot to 2026.01
- switches to a stable glibc Bootlin external toolchain

The updated U-Boot should also fix the CI build of the board.

Run-tested on the board.

---
 .../nanopi-neo/patches/linux-headers/linux-headers.hash   | 1 -
 board/friendlyarm/nanopi-neo/patches/linux/linux.hash     | 4 ++--
 board/friendlyarm/nanopi-neo/patches/uboot/uboot.hash     | 2 +-
 configs/friendlyarm_nanopi_neo_defconfig                  | 8 +++++---
 4 files changed, 8 insertions(+), 7 deletions(-)
 delete mode 120000 board/friendlyarm/nanopi-neo/patches/linux-headers/linux-headers.hash
board/friendlyarm/nanopi-neo/patches/linux-headers/linux-headers.hash deleted +0 -1
deleted file mode 120000
index 5808d92afe..0000000000
@@ -1 +0,0 @@
-../linux/linux.hash
\ No newline at end of file
board/friendlyarm/nanopi-neo/patches/linux/linux.hash +2 -2
index ecff37638a..020dc72386 100644
@@ -1,2 +1,2 @@
-# Locally calculated
-sha256  93218296934915636fe6ba08e125948424cc270fd8948502c0ab91087a9fccd8  linux-6.6.44.tar.xz
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  f4855f382c1b735c84072bdef36db5bcd5dc7b0c37e42f5104317149a0a486ef  linux-6.18.18.tar.xz
board/friendlyarm/nanopi-neo/patches/uboot/uboot.hash +1 -1
index fe9b4f53dc..b6a925ea4e 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256  f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f  u-boot-2024.07.tar.bz2
+sha256  b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54  u-boot-2026.01.tar.bz2
configs/friendlyarm_nanopi_neo_defconfig +5 -3
index 9aed25b30c..4874a144eb 100644
@@ -1,7 +1,9 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y
 BR2_GLOBAL_PATCH_DIR="board/friendlyarm/nanopi-neo/patches"
 BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_TARGET_GENERIC_HOSTNAME="nanopi-neo"
@@ -11,7 +13,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-neo/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.44"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.18"
 BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun8i-h3-nanopi-neo"
@@ -21,7 +23,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
Signature · 6 lines
2.43.0

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

Re: [Buildroot] [PATCH 1/2] configs/friendlyarm_nanopi_neo: bump to kernel 6.18.18 and U-Boot 2026.01

Quoted 5 lines · Dong Wang

This commit:
- bumps the Linux kernel to 6.18.18
- bumps the U-Boot to 2026.01
- switches to a stable glibc Bootlin external toolchain

Quoted 7 lines

The updated U-Boot should also fix the CI build of the board.

Run-tested on the board.

Applied to master, thanks. For info, I made few minor corrections. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/916331b9172a9aca28edf8492f323bbcf1996c30
https://gitlab.com/buildroot.org/buildroot/-/commit/367e9bb04bc301fced2846f0f81b0440cc10b317

Best regards,

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

author
#3 lore raw

Re: [Buildroot] [PATCH 1/2] configs/friendlyarm_nanopi_neo: bump to kernel 6.18.18 and U-Boot 2026.01

Hi Julien,

Thank you very much for reviewing and applying the series!

Quoted 11 lines · Julien Olivain
Quoted 10 lines · Dong Wang

This commit:
- bumps the Linux kernel to 6.18.18
- bumps the U-Boot to 2026.01
- switches to a stable glibc Bootlin external toolchain

The updated U-Boot should also fix the CI build of the board.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/13458392712

Quoted 8 lines
Quoted 3 lines

Run-tested on the board.

Applied to master, thanks. For info, I made few minor corrections. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/916331b9172a9aca28edf8492f323bbcf1996c30
https://gitlab.com/buildroot.org/buildroot/-/commit/367e9bb04bc301fced2846f0f81b0440cc10b317

I should really have read the documentation more carefully and run the check-package and try building with docker...

Thanks for the corrections!

Quoted 4 lines

Best regards,

Julien.

Best regards,
Dong Wang

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