* [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54
@ 2023-02-05 21:41 Dario Binacchi
2023-02-05 21:41 ` [Buildroot] [PATCH 2/2] configs/beaglebone: bump U-Boot version to 2022.10 Dario Binacchi
2023-02-06 0:20 ` [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54 Scott Fan
0 siblings, 2 replies; 5+ messages in thread
From: Dario Binacchi @ 2023-02-05 21:41 UTC (permalink / raw)
To: buildroot; +Cc: Dario Binacchi, Lothar Felten
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 <dario.binacchi@amarulasolutions.com>
---
configs/beaglebone_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig
index 639b491e9746..dff7dea422ee 100644
--- a/configs/beaglebone_defconfig
+++ b/configs/beaglebone_defconfig
@@ -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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] configs/beaglebone: bump U-Boot version to 2022.10
2023-02-05 21:41 [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54 Dario Binacchi
@ 2023-02-05 21:41 ` Dario Binacchi
2023-02-07 9:03 ` Thomas Petazzoni via buildroot
2023-02-06 0:20 ` [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54 Scott Fan
1 sibling, 1 reply; 5+ messages in thread
From: Dario Binacchi @ 2023-02-05 21:41 UTC (permalink / raw)
To: buildroot; +Cc: Dario Binacchi, Lothar Felten
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.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
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
diff --git a/board/beaglebone/extlinux.conf b/board/beaglebone/extlinux.conf
new file mode 100644
index 000000000000..4a08c9dedad9
--- /dev/null
+++ b/board/beaglebone/extlinux.conf
@@ -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
diff --git a/board/beaglebone/genimage.cfg b/board/beaglebone/genimage.cfg
index 987d20507551..4b026fda8431 100644
--- a/board/beaglebone/genimage.cfg
+++ b/board/beaglebone/genimage.cfg
@@ -12,6 +12,7 @@ image boot.vfat {
"am335x-bonegreen.dtb",
"am335x-boneblack-wireless.dtb",
"am335x-bonegreen-wireless.dtb",
+ "extlinux"
}
}
diff --git a/board/beaglebone/post-build.sh b/board/beaglebone/post-build.sh
index ffdd19138c7f..b7afd92ffeae 100755
--- a/board/beaglebone/post-build.sh
+++ b/board/beaglebone/post-build.sh
@@ -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
diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig
index dff7dea422ee..0207916d0166 100644
--- a/configs/beaglebone_defconfig
+++ b/configs/beaglebone_defconfig
@@ -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
--
2.32.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [Buildroot] [PATCH 2/2] configs/beaglebone: bump U-Boot version to 2022.10
2023-02-05 21:41 ` [Buildroot] [PATCH 2/2] configs/beaglebone: bump U-Boot version to 2022.10 Dario Binacchi
@ 2023-02-07 9:03 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-07 9:03 UTC (permalink / raw)
To: Dario Binacchi; +Cc: Lothar Felten, buildroot
On Sun, 5 Feb 2023 22:41:32 +0100
Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote:
> 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.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
> 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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54
2023-02-05 21:41 [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54 Dario Binacchi
2023-02-05 21:41 ` [Buildroot] [PATCH 2/2] configs/beaglebone: bump U-Boot version to 2022.10 Dario Binacchi
@ 2023-02-06 0:20 ` Scott Fan
2023-02-06 8:45 ` Dario Binacchi
1 sibling, 1 reply; 5+ messages in thread
From: Scott Fan @ 2023-02-06 0:20 UTC (permalink / raw)
To: Dario Binacchi; +Cc: Lothar Felten, buildroot
[-- Attachment #1.1: Type: text/plain, Size: 1963 bytes --]
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
On Mon, Feb 6, 2023 at 5:42 AM Dario Binacchi <
dario.binacchi@amarulasolutions.com> wrote:
> 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 <dario.binacchi@amarulasolutions.com>
> ---
> configs/beaglebone_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig
> index 639b491e9746..dff7dea422ee 100644
> --- a/configs/beaglebone_defconfig
> +++ b/configs/beaglebone_defconfig
> @@ -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
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
>
[-- Attachment #1.2: Type: text/html, Size: 2970 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54
2023-02-06 0:20 ` [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54 Scott Fan
@ 2023-02-06 8:45 ` Dario Binacchi
0 siblings, 0 replies; 5+ messages in thread
From: Dario Binacchi @ 2023-02-06 8:45 UTC (permalink / raw)
To: Scott Fan; +Cc: Lothar Felten, buildroot
Hi Scott,
On Mon, Feb 6, 2023 at 1:20 AM Scott Fan <fancp2007@gmail.com> wrote:
>
> 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
>
> Scott Fan
>
>
> On Mon, Feb 6, 2023 at 5:42 AM Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote:
>>
>> 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 <dario.binacchi@amarulasolutions.com>
>> ---
>> configs/beaglebone_defconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig
>> index 639b491e9746..dff7dea422ee 100644
>> --- a/configs/beaglebone_defconfig
>> +++ b/configs/beaglebone_defconfig
>> @@ -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
>> buildroot@buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
--
Dario Binacchi
Senior Embedded Linux Developer
dario.binacchi@amarulasolutions.com
__________________________________
Amarula Solutions SRL
Via Le Canevare 30, 31100 Treviso, Veneto, IT
T. +39 042 243 5310
info@amarulasolutions.com
www.amarulasolutions.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-02-07 9:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-05 21:41 [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54 Dario Binacchi
2023-02-05 21:41 ` [Buildroot] [PATCH 2/2] configs/beaglebone: bump U-Boot version to 2022.10 Dario Binacchi
2023-02-07 9:03 ` Thomas Petazzoni via buildroot
2023-02-06 0:20 ` [Buildroot] [PATCH 1/2] configs/beaglebone: bump Linux version to 5.10.145-ti-r54 Scott Fan
2023-02-06 8:45 ` Dario Binacchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox