configs/beaglebone: bump Linux version to 5.10.145-ti-r54
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
@@ -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
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
@@ -0,0 +1,4 @@ +label beaglebone-buildroot + kernel /zImage + fdtdir / + append console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
board/beaglebone/genimage.cfg +1 -0
@@ -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
@@ -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
@@ -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
Thomas Petazzoni via buildroot
AppliedRe: [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 toDISTRO_BOOTonly"). The patch allows to update U-Boot to versions later than 2021.10.Tested on beaglebone black.
Quoted 8 lines
Signed-off-by Dario Binacchi <[email protected]>--- 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
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@@ -20,7 +20,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-cboard/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
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
Signed-off-by Dario Binacchi <[email protected]>--- configs/beaglebone_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configs/beaglebone_defconfig +1
-2@@ -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