Skip to contentSkip to conversation

configs/beaglebone: bump Linux version to 5.10.145-ti-r54

PATCH Applied Dario Binacchi 3 participants 5 messages Feb 5, 2023 – Feb 7, 2023

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 configs/beaglebone: bump Linux version to 5.10.145-ti-r54

The previous version failed to boot from sd card with a log reported by the document [1]. In my case it always failed, a 100% failure against 75% reported by the document.

Instead of adding the patch to fix the problem, I preferred to update the kernel version as suggested by the document itself.

Tested on beaglebone black.

[1] https://forum.beagleboard.org/t/5-10-x-beaglebone-black-fails-to-boot-from-sd-card/33297

---
 configs/beaglebone_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/beaglebone_defconfig +1 -1
index 639b491e9746..dff7dea422ee 100644
@@ -20,7 +20,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg"
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.30-ti-r3)/linux-5.10.30-ti-r3.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.145-ti-r54)/linux-5.10.145-ti-r54.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless"
Signature · 6 lines
2.32.0

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

PATCH 2/2 configs/beaglebone: bump U-Boot version to 2022.10

Starting from version 2021.10 only distro booting is supported, as reported by commit ff8f277e9121 ("ti: am335x_evm: Switch to DISTRO_BOOT only"). The patch allows to update U-Boot to versions later than 2021.10.

Tested on beaglebone black.

---
 board/beaglebone/extlinux.conf | 4 ++++
 board/beaglebone/genimage.cfg  | 1 +
 board/beaglebone/post-build.sh | 2 ++
 configs/beaglebone_defconfig   | 2 +-
 4 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 board/beaglebone/extlinux.conf
board/beaglebone/extlinux.conf new file +4 -0
new file mode 100644
index 000000000000..4a08c9dedad9
@@ -0,0 +1,4 @@
+label beaglebone-buildroot
+  kernel /zImage
+  fdtdir /
+  append console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
\ No newline at end of file
board/beaglebone/genimage.cfg +1 -0
index 987d20507551..4b026fda8431 100644
@@ -12,6 +12,7 @@ image boot.vfat {
 			"am335x-bonegreen.dtb",
 			"am335x-boneblack-wireless.dtb",
 			"am335x-bonegreen-wireless.dtb",
+			"extlinux"
 		}
 	}
 
board/beaglebone/post-build.sh +2 -0
index ffdd19138c7f..b7afd92ffeae 100755
@@ -2,3 +2,5 @@
 BOARD_DIR="$(dirname $0)"
 
 cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt
+
+install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
configs/beaglebone_defconfig +1 -1
index dff7dea422ee..0207916d0166 100644
@@ -34,7 +34,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="2021.04"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 # BR2_TARGET_UBOOT_FORMAT_BIN is not set
Signature · 6 lines
2.32.0

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

Re: [Buildroot] [PATCH 2/2] configs/beaglebone: bump U-Boot version to 2022.10

Quoted 6 lines · On Sun, 5 Feb 2023 22:41:32 +0100 Dario Binacchi…

Starting from version 2021.10 only distro booting is supported, as reported by commit ff8f277e9121 ("ti: am335x_evm: Switch to DISTRO_BOOT only"). The patch allows to update U-Boot to versions later than 2021.10.

Tested on beaglebone black.

Quoted 8 lines
---
 board/beaglebone/extlinux.conf | 4 ++++
 board/beaglebone/genimage.cfg  | 1 +
 board/beaglebone/post-build.sh | 2 ++
 configs/beaglebone_defconfig   | 2 +-
 4 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 board/beaglebone/extlinux.conf

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to Dario Binacchi

Could you test it with kernel 5.10.162-ti-r56 ?

https://github.com/beagleboard/linux/releases/tag/5.10.162-ti-r56

Scott Fan

Quoted 39 lines · Dario Binacchi

The previous version failed to boot from sd card with a log reported by the document [1]. In my case it always failed, a 100% failure against 75% reported by the document.

Instead of adding the patch to fix the problem, I preferred to update the kernel version as suggested by the document itself.

Tested on beaglebone black.

[1]
https://forum.beagleboard.org/t/5-10-x-beaglebone-black-fails-to-boot-from-sd-card/33297
Signed-off-by
<https://forum.beagleboard.org/t/5-10-x-beaglebone-black-fails-to-boot-from-sd-card/33297Signed-off-by>:
Dario Binacchi <[email protected]>

---
 configs/beaglebone_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/beaglebone_defconfig +0 -0
index 639b491e9746..dff7dea422ee 100644
@@ -20,7 +20,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c

board/beaglebone/genimage.cfg"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.30-ti-r3)/linux-5.10.30-ti-r3.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.145-ti-r54)/linux-5.10.145-ti-r54.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack
am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless"
--
2.32.0

Quoted 5 lines

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

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

#4 lore raw

Hi Scott,

Quoted 4 lines · Scott Fan

Could you test it with kernel 5.10.162-ti-r56 ?

https://github.com/beagleboard/linux/releases/tag/5.10.162-ti-r56

Thanks for your suggestion, I will test with kernel 5.10.162-ti-r56 kernel.

Thanks and regards,

Dario

Quoted 41 lines

Scott Fan

Quoted 36 lines · Dario Binacchi

The previous version failed to boot from sd card with a log reported by the document [1]. In my case it always failed, a 100% failure against 75% reported by the document.

Instead of adding the patch to fix the problem, I preferred to update the kernel version as suggested by the document itself.

Tested on beaglebone black.

[1] https://forum.beagleboard.org/t/5-10-x-beaglebone-black-fails-to-boot-from-sd-card/33297

---
 configs/beaglebone_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/beaglebone_defconfig +1 -2
index 639b491e9746..dff7dea422ee 100644
@@ -20,7 +20,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg"
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.30-ti-r3)/linux-5.10.30-ti-r3.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.145-ti-r54)/linux-5.10.145-ti-r54.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless am335x-bonegreen-wireless"
--

2.32.0

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

Signature · 21 lines
Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________


Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

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