Skip to contentSkip to conversation

configs/lafrite_defconfig: switch to Bootlin glibc toolchain

PATCH Applied Peter Korsgaard 2 participants 8 messages Oct 17 – Oct 23

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 configs/lafrite_defconfig: switch to Bootlin glibc toolchain

As recommended since:
https://elinux.org/Buildroot:DeveloperDaysELCE2024#Rules_for_defconfigs

---
 configs/lafrite_defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
configs/lafrite_defconfig +3 -1
index 5f70706fa0..2454d2b7ff 100644
@@ -1,5 +1,7 @@
 BR2_aarch64=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
 BR2_GLOBAL_PATCH_DIR="board/librecomputer/lafrite/patches"
 BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
Signature · 6 lines
2.47.3

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

PATCH 2/4 board/librecomputer/lafrite/readme.txt: document UART pinout

The lafrite board exposes the console UART on the GPIO header. Document the pinout for ease of use.

---
 board/librecomputer/lafrite/readme.txt | 7 +++++++
 1 file changed, 7 insertions(+)
board/librecomputer/lafrite/readme.txt +7 -0
index c439c5e91d..86afa855e6 100644
@@ -32,3 +32,10 @@ How to boot
 
 Insert flash drive to the USB connector furthest away from the IR
 receiver and power up board. The system will boot automatically.
+
+A serial console is available on the GPIO header with the following
+pinout:
+
+- TX: pin 3
+- RX: pin 5
+- Ground: pin 6
Signature · 6 lines
2.47.3

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

Re: [Buildroot] [PATCH 2/4] board/librecomputer/lafrite/readme.txt: document UART pinout

In reply of:

Quoted 4 lines

The lafrite board exposes the console UART on the GPIO header. Document the pinout for ease of use.

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 9 lines
---
 board/librecomputer/lafrite/readme.txt | 7 +++++++
 1 file changed, 7 insertions(+)
board/librecomputer/lafrite/readme.txt +0 -0
index c439c5e91d..86afa855e6 100644

board/librecomputer/lafrite/readme.txt How to boot · line 41

Quoted 10 lines
board/librecomputer/lafrite/readme.txt +7 -0
@@ -32,3 +32,10 @@ How to boot
 
 Insert flash drive to the USB connector furthest away from the IR
 receiver and power up board. The system will boot automatically.
+
+A serial console is available on the GPIO header with the following
+pinout:
+
+- TX: pin 3
+- RX: pin 5
+- Ground: pin 6

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

#3 lore raw

PATCH 3/4 board/librecomputer/lafrite/readme.txt: document SPI flash dependency

In reply to Peter Korsgaard

Running a modern kernel with old A-TF/U-Boot leads to various issues. Add a note about updating the bootloader in the SPI flash.

---
 board/librecomputer/lafrite/readme.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
board/librecomputer/lafrite/readme.txt +8 -0
index 86afa855e6..8747a9a23f 100644
@@ -6,6 +6,14 @@ s805x SoC (quad A53), 512MB/1GB DDR4 and a 16MB SPI NOR flash:
 
 https://libre.computer/products/boards/aml-s805x-ac/
 
+Ensure the the bootloader in the SPI flash is up-to-date. Updates are
+available at:
+
+https://boot.libre.computer/release/aml-s805x-ac/
+
+To update, write aml-s805x-ac-spiflash.img to a USB flash drive and
+boot it as described below.
+
 How to build it
 ===============
 
Signature · 6 lines
2.47.3

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

Re: [Buildroot] [PATCH 3/4] board/librecomputer/lafrite/readme.txt: document SPI flash dependency

In reply of:

Quoted 4 lines

Running a modern kernel with old A-TF/U-Boot leads to various issues. Add a note about updating the bootloader in the SPI flash.

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 13 lines
---
 board/librecomputer/lafrite/readme.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
board/librecomputer/lafrite/readme.txt +1 -0
index 86afa855e6..8747a9a23f 100644
@@ -6,6 +6,14 @@ s805x SoC (quad A53), 512MB/1GB DDR4 and a 16MB SPI NOR flash:
 
 https://libre.computer/products/boards/aml-s805x-ac/
 
+Ensure the the bootloader in the SPI flash is up-to-date. Updates are

board/librecomputer/lafrite/readme.txt s805x SoC (quad A53), 512MB/1GB DDR4 and a 16MB SPI NOR flash: · line 19

Quoted 10 lines
board/librecomputer/lafrite/readme.txt +7 -0
+available at:
+
+https://boot.libre.computer/release/aml-s805x-ac/
+
+To update, write aml-s805x-ac-spiflash.img to a USB flash drive and
+boot it as described below.
+
 How to build it
 ===============
 

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

#5 lore raw

PATCH 4/4 configs/lafrite_defconfig: bump Linux kernel to 6.18.56

In reply to Peter Korsgaard

The aarch64 defconfig has grown, so bump the ext4 size to make it fit.

---
 board/librecomputer/lafrite/patches/linux/linux.hash | 4 ++--
 configs/lafrite_defconfig                            | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
board/librecomputer/lafrite/patches/linux/linux.hash +2 -2
index 899adefd07..6f1b1a66e4 100644
@@ -1,2 +1,2 @@
-# Locally calculated
-sha256  23e3e7b56407250f5411bdab95763d0bc4e3a19dfa431d951df7eacabd61a2f4  linux-6.6.22.tar.xz
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256  4633bbda2ab95eaf2a7af4041236451d6759c72e6946265531af4b3aacefbf89  linux-6.18.56.tar.xz
configs/lafrite_defconfig +2 -2
index 2454d2b7ff..f23fd0ca99 100644
@@ -11,7 +11,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/librecomputer/lafrite/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.22"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.56"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-gxl-s805x-libretech-ac"
@@ -19,6 +19,6 @@ 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="150M"
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw
In reply to Peter Korsgaard

Am 17.10.26 um 15:12 schrieb Peter Korsgaard:

Quoted 4 lines

As recommended since:
https://elinux.org/Buildroot:DeveloperDaysELCE2024#Rules_for_defconfigs

Series applied to master, thank you!

Quoted 9 lines
---
  configs/lafrite_defconfig | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
configs/lafrite_defconfig +0 -0
index 5f70706fa0..2454d2b7ff 100644

configs/lafrite_defconfig line 7

Quoted 8 lines
configs/lafrite_defconfig +3 -1
@@ -1,5 +1,7 @@
  BR2_aarch64=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
  BR2_GLOBAL_PATCH_DIR="board/librecomputer/lafrite/patches"
  BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
  BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y

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

#7 lore raw
In reply to Peter Korsgaard

In reply of:

Quoted 4 lines

As recommended since:
https://elinux.org/Buildroot:DeveloperDaysELCE2024#Rules_for_defconfigs

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 9 lines
---
 configs/lafrite_defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
configs/lafrite_defconfig +0 -0
index 5f70706fa0..2454d2b7ff 100644

configs/lafrite_defconfig line 7

Quoted 8 lines
configs/lafrite_defconfig +3 -1
@@ -1,5 +1,7 @@
 BR2_aarch64=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
 BR2_GLOBAL_PATCH_DIR="board/librecomputer/lafrite/patches"
 BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y

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