Skip to contentSkip to conversation

orangepi: BSP updates, part I

PATCH In review Sergey Matyukevich 3 participants 7 messages Dec 11, 2024 – Dec 28, 2024

lore
Share & tools
lore
#0 lore raw

cover orangepi: BSP updates, part I

Hi Peter and All,

These patches update BSP components for OrangePi Zero and One boards:
- Linux kernel updated to the latest LTS v6.12.3
- U-Boot updated to 2024.10

Also xradio driver baseline is updated to make it work with new Linux.

Regards,
Sergey

Sergey Matyukevich (3):
package/xr819-xradio: bump version
configs/orangepi_zero: bump BSP versions
configs/orangepi_one: bump BSP versions

 .../patches/linux-headers/linux-headers.hash        |  1 +
 .../orangepi/orangepi-one/patches/linux/linux.hash  |  2 ++
 .../orangepi/orangepi-one/patches/uboot/uboot.hash  |  2 ++
 .../patches/linux-headers/linux-headers.hash        |  1 +
 ...-orange-pi-zero-interrupt-triggering-xr819.patch | 13 ++++++-------
 .../orangepi/orangepi-zero/patches/linux/linux.hash |  2 ++
 .../orangepi/orangepi-zero/patches/uboot/uboot.hash |  2 ++
 configs/orangepi_one_defconfig                      |  7 ++++---
 configs/orangepi_zero_defconfig                     |  7 ++++---
 package/xr819-xradio/xr819-xradio.hash              |  2 +-
 package/xr819-xradio/xr819-xradio.mk                |  2 +-
 11 files changed, 26 insertions(+), 15 deletions(-)
 create mode 120000 board/orangepi/orangepi-one/patches/linux-headers/linux-headers.hash
 create mode 100644 board/orangepi/orangepi-one/patches/linux/linux.hash
 create mode 100644 board/orangepi/orangepi-one/patches/uboot/uboot.hash
 create mode 120000 board/orangepi/orangepi-zero/patches/linux-headers/linux-headers.hash
 create mode 100644 board/orangepi/orangepi-zero/patches/linux/linux.hash
 create mode 100644 board/orangepi/orangepi-zero/patches/uboot/uboot.hash
Signature · 6 lines
2.47.1

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

PATCH 1/3 package/xr819-xradio: bump version

Pull driver fixes for v6.9+ kernels.

---
 package/xr819-xradio/xr819-xradio.hash | 2 +-
 package/xr819-xradio/xr819-xradio.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/xr819-xradio/xr819-xradio.hash +1 -1
index 388a3a3cd4..aec440c97a 100644
@@ -1,4 +1,4 @@
 # Locally computed
-sha256  8bc3d745ed08b7f3a9c0413c2635d0faf647362b41494d04edc98709b869deef  xr819-xradio-3a1f77fb2db248b7d18d93b67b16e0d6c91db184.tar.gz
+sha256  09cd694a9424e9fd61fbb323d52a9f721e0b2d364ccb40ed854a79bd927f5df2  xr819-xradio-180aafb14191c78c1529d5a28ca58c7c9dcf2c55.tar.gz
 # Locally computed
 sha256  db296f2f7f35bca3a174efb0eb392b3b17bd94b341851429a3dff411b1c2fc73  LICENSE
package/xr819-xradio/xr819-xradio.mk +1 -1
index 8b576a347a..8a76570693 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-XR819_XRADIO_VERSION = 3a1f77fb2db248b7d18d93b67b16e0d6c91db184
+XR819_XRADIO_VERSION = 180aafb14191c78c1529d5a28ca58c7c9dcf2c55
 XR819_XRADIO_SITE = $(call github,fifteenhex,xradio,$(XR819_XRADIO_VERSION))
 XR819_XRADIO_LICENSE = GPL-2.0
 XR819_XRADIO_LICENSE_FILES = LICENSE
Signature · 6 lines
2.47.1

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

Re: [Buildroot] [PATCH 1/3] package/xr819-xradio: bump version

Quoted 3 lines · Sergey Matyukevich

Pull driver fixes for v6.9+ kernels.

Committed to 2024.11.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 2/3 configs/orangepi_zero: bump BSP versions

In reply to Sergey Matyukevich

Switch to the new Linux LTS release 6.12.3 and to the latest U-Boot 2024.10. Tune the patch for xr819 interrupts for the new kernel. Add hashes for Linux kernel/headers and U-Boot. Finally, add BR2_TARGET_UBOOT_NEEDS_GNUTLS option required by new U-Boot.

---
 .../patches/linux-headers/linux-headers.hash        |  1 +
 ...-orange-pi-zero-interrupt-triggering-xr819.patch | 13 ++++++-------
 .../orangepi/orangepi-zero/patches/linux/linux.hash |  2 ++
 .../orangepi/orangepi-zero/patches/uboot/uboot.hash |  2 ++
 configs/orangepi_zero_defconfig                     |  7 ++++---
 5 files changed, 15 insertions(+), 10 deletions(-)
 create mode 120000 board/orangepi/orangepi-zero/patches/linux-headers/linux-headers.hash
 create mode 100644 board/orangepi/orangepi-zero/patches/linux/linux.hash
 create mode 100644 board/orangepi/orangepi-zero/patches/uboot/uboot.hash
board/orangepi/orangepi-zero/patches/linux-headers/linux-headers.hash new file +1 -0
new file mode 120000
index 0000000000..5808d92afe
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch +6 -7
index 6a5aa0bb63..600fd0f5b3 100644
@@ -1,8 +1,7 @@
-From 321faaf4b78d46a0c77782c1798856746f0619e9 Mon Sep 17 00:00:00 2001
+From 7a24ce9f5045ac6faf66a08bbb814f3a82c919b1 Mon Sep 17 00:00:00 2001
 From: Sergey Matyukevich <[email protected]>
 Date: Fri, 19 May 2017 23:39:48 +0300
-Subject: [PATCH] ARM: dts: orange-pi-zero: specify XR819 WiFi chip
- interrupts
+Subject: [PATCH] ARM: dts: orange-pi-zero: specify XR819 WiFi chip interrupts
 
 The orange-pi-zero board has Allwinner XR819 SDIO wifi chip. The board
 dts file provides a node enabling mmc1 controller. Together with an
@@ -17,12 +16,12 @@ Signed-off-by: Sergey Matyukevich <[email protected]>
  1 file changed, 3 insertions(+)
 
 diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
-index b7ca916d871d..4e1a9050c6b4 100644
+index 2a45770f7b83..667038973bb7 100644
 --- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
 +++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
-@@ -125,6 +125,9 @@
+@@ -152,6 +152,9 @@ &mmc1 {
  	 */
- 	xr819: sdio_wifi@1 {
+ 	xr819: wifi@1 {
  		reg = <1>;
 +		compatible = "xradio,xr819";
 +		interrupt-parent = <&pio>;
@@ -31,5 +30,5 @@ index b7ca916d871d..4e1a9050c6b4 100644
  };
  
 -- 
-2.11.0
+2.47.1
 
board/orangepi/orangepi-zero/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 0000000000..c4a80927a8
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae  linux-6.12.3.tar.xz
board/orangepi/orangepi-zero/patches/uboot/uboot.hash new file +2 -0
new file mode 100644
index 0000000000..904fa56c02
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0  u-boot-2024.10.tar.bz2
configs/orangepi_zero_defconfig +4 -3
index b48c28102e..400937dfb1 100644
@@ -1,7 +1,7 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
 BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-zero/patches"
 BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Zero"
 BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Zero"
@@ -12,7 +12,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.3"
 BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero/linux-extras.fragment"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
@@ -34,11 +34,12 @@ 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="2023.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
 BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 6 lines
2.47.1

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

PATCH 3/3 configs/orangepi_one: bump BSP versions

In reply to Sergey Matyukevich

Switch to the new Linux LTS release 6.12.3 and to the latest U-Boot 2024.10. Add hashes for Linux kernel/headers and U-Boot. Finally, add BR2_TARGET_UBOOT_NEEDS_GNUTLS option required by new U-Boot.

---
 .../orangepi-one/patches/linux-headers/linux-headers.hash  | 1 +
 board/orangepi/orangepi-one/patches/linux/linux.hash       | 2 ++
 board/orangepi/orangepi-one/patches/uboot/uboot.hash       | 2 ++
 configs/orangepi_one_defconfig                             | 7 ++++---
 4 files changed, 9 insertions(+), 3 deletions(-)
 create mode 120000 board/orangepi/orangepi-one/patches/linux-headers/linux-headers.hash
 create mode 100644 board/orangepi/orangepi-one/patches/linux/linux.hash
 create mode 100644 board/orangepi/orangepi-one/patches/uboot/uboot.hash
board/orangepi/orangepi-one/patches/linux-headers/linux-headers.hash new file +1 -0
new file mode 120000
index 0000000000..5808d92afe
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
board/orangepi/orangepi-one/patches/linux/linux.hash new file +2 -0
new file mode 100644
index 0000000000..c4a80927a8
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae  linux-6.12.3.tar.xz
board/orangepi/orangepi-one/patches/uboot/uboot.hash new file +2 -0
new file mode 100644
index 0000000000..904fa56c02
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0  u-boot-2024.10.tar.bz2
configs/orangepi_one_defconfig +4 -3
index 167527235e..11e407cde3 100644
@@ -1,7 +1,7 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_FPU_VFPV4=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
 BR2_TARGET_GENERIC_HOSTNAME="OrangePi_One"
 BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi One"
 BR2_SYSTEM_DHCP="eth0"
@@ -10,7 +10,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.3"
 BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun8i-h3-orangepi-one"
@@ -22,11 +22,12 @@ 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="2023.10"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
 BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 6 lines
2.47.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw
In reply to Sergey Matyukevich

Hi Sergey,

Quoted 5 lines · Sergey Matyukevich

Hi Peter and All,

These patches update BSP components for OrangePi Zero and One boards:
- Linux kernel updated to the latest LTS v6.12.3
- U-Boot updated to 2024.10

Thank you for the patches. I applied the series to master.

I have made few fixes and improvements. See the commit logs:
https://gitlab.com/buildroot.org/buildroot/-/commit/3ef5975b795271a723b694160c8d50c62d518e8e
https://gitlab.com/buildroot.org/buildroot/-/commit/6ee9c706179076ec1d7772debb6390631da184ce

Quoted 35 lines

Also xradio driver baseline is updated to make it work with new Linux.

Regards,
Sergey

Sergey Matyukevich (3):
package/xr819-xradio: bump version
configs/orangepi_zero: bump BSP versions
configs/orangepi_one: bump BSP versions

 .../patches/linux-headers/linux-headers.hash        |  1 +
 .../orangepi/orangepi-one/patches/linux/linux.hash  |  2 ++
 .../orangepi/orangepi-one/patches/uboot/uboot.hash  |  2 ++
 .../patches/linux-headers/linux-headers.hash        |  1 +
 ...-orange-pi-zero-interrupt-triggering-xr819.patch | 13 ++++++-------
 .../orangepi/orangepi-zero/patches/linux/linux.hash |  2 ++
 .../orangepi/orangepi-zero/patches/uboot/uboot.hash |  2 ++
 configs/orangepi_one_defconfig                      |  7 ++++---
 configs/orangepi_zero_defconfig                     |  7 ++++---
 package/xr819-xradio/xr819-xradio.hash              |  2 +-
 package/xr819-xradio/xr819-xradio.mk                |  2 +-
 11 files changed, 26 insertions(+), 15 deletions(-)
 create mode 120000 
board/orangepi/orangepi-one/patches/linux-headers/linux-headers.hash
 create mode 100644 
board/orangepi/orangepi-one/patches/linux/linux.hash
 create mode 100644 
board/orangepi/orangepi-one/patches/uboot/uboot.hash
 create mode 120000 
board/orangepi/orangepi-zero/patches/linux-headers/linux-headers.hash
 create mode 100644 
board/orangepi/orangepi-zero/patches/linux/linux.hash
 create mode 100644 

board/orangepi/orangepi-zero/patches/uboot/uboot.hash

Quoted 7 lines

--
2.47.1

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

Best regards,

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

#6 lore raw

Hi Julien,

Quoted 9 lines · Julien Olivain

Hi Sergey,

Quoted 5 lines · Sergey Matyukevich

Hi Peter and All,

These patches update BSP components for OrangePi Zero and One boards:
- Linux kernel updated to the latest LTS v6.12.3
- U-Boot updated to 2024.10

Quoted 5 lines

Thank you for the patches. I applied the series to master.

I have made few fixes and improvements. See the commit logs:
https://gitlab.com/buildroot.org/buildroot/-/commit/3ef5975b795271a723b694160c8d50c62d518e8e
https://gitlab.com/buildroot.org/buildroot/-/commit/6ee9c706179076ec1d7772debb6390631da184ce

Thanks ! Next time do not hesitate to request v(N+1) from me. I am sure maintainer's time deservers better use rather than cleaning my mess.

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