* [Buildroot] [PATCH] board/beaglebone: fix boot on BeagleBone Black
@ 2019-11-09 15:22 unixmania at gmail.com
2019-11-15 22:38 ` Thomas Petazzoni
2019-11-22 18:28 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: unixmania at gmail.com @ 2019-11-09 15:22 UTC (permalink / raw)
To: buildroot
From: Carlos Santos <unixmania@gmail.com>
Commit 68b5b79b2f has set the getty port to the default console but left
"ttyO0" in bootargs, in the U-Boot environment. Use "ttyS0", instead.
Also set loadaddr to 0x82000000 and fdtaddr to 0x88000000, replacing the
values that were valid for the ancient U-Boot and Linux pre-installed on
old boards but cause boot hangs with the current versions.
Signed-off-by: Carlos Santos <unixmania@gmail.com>
---
CC: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
CC: Lothar Felten <lothar.felten@gmail.com>
---
Changes v1->v2:
- Clarify the explanation about old U-Boot versions in the commit
message.
---
board/beaglebone/uEnv.txt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/board/beaglebone/uEnv.txt b/board/beaglebone/uEnv.txt
index a665f20889..8fce54d87e 100644
--- a/board/beaglebone/uEnv.txt
+++ b/board/beaglebone/uEnv.txt
@@ -3,6 +3,9 @@ devtype=mmc
bootdir=
bootfile=zImage
bootpartition=mmcblk0p2
+console=ttyS0,115200n8
+loadaddr=0x82000000
+fdtaddr=0x88000000
set_mmc1=if test $board_name = A33515BB; then setenv bootpartition mmcblk1p2; fi
-set_bootargs=setenv bootargs console=ttyO0,115200n8 root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
+set_bootargs=setenv bootargs console=${console} root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr}
--
2.18.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] board/beaglebone: fix boot on BeagleBone Black
2019-11-09 15:22 [Buildroot] [PATCH] board/beaglebone: fix boot on BeagleBone Black unixmania at gmail.com
@ 2019-11-15 22:38 ` Thomas Petazzoni
2019-11-22 18:28 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-11-15 22:38 UTC (permalink / raw)
To: buildroot
On Sat, 9 Nov 2019 12:22:54 -0300
unixmania at gmail.com wrote:
> From: Carlos Santos <unixmania@gmail.com>
>
> Commit 68b5b79b2f has set the getty port to the default console but left
> "ttyO0" in bootargs, in the U-Boot environment. Use "ttyS0", instead.
>
> Also set loadaddr to 0x82000000 and fdtaddr to 0x88000000, replacing the
> values that were valid for the ancient U-Boot and Linux pre-installed on
> old boards but cause boot hangs with the current versions.
>
> Signed-off-by: Carlos Santos <unixmania@gmail.com>
> ---
> CC: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> CC: Lothar Felten <lothar.felten@gmail.com>
> ---
> Changes v1->v2:
> - Clarify the explanation about old U-Boot versions in the commit
> message.
> ---
> board/beaglebone/uEnv.txt | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] board/beaglebone: fix boot on BeagleBone Black
2019-11-09 15:22 [Buildroot] [PATCH] board/beaglebone: fix boot on BeagleBone Black unixmania at gmail.com
2019-11-15 22:38 ` Thomas Petazzoni
@ 2019-11-22 18:28 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-11-22 18:28 UTC (permalink / raw)
To: buildroot
>>>>> "unixmania" == unixmania <unixmania@gmail.com> writes:
> From: Carlos Santos <unixmania@gmail.com>
> Commit 68b5b79b2f has set the getty port to the default console but left
> "ttyO0" in bootargs, in the U-Boot environment. Use "ttyS0", instead.
> Also set loadaddr to 0x82000000 and fdtaddr to 0x88000000, replacing the
> values that were valid for the ancient U-Boot and Linux pre-installed on
> old boards but cause boot hangs with the current versions.
> Signed-off-by: Carlos Santos <unixmania@gmail.com>
> ---
> CC: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> CC: Lothar Felten <lothar.felten@gmail.com>
> ---
> Changes v1->v2:
> - Clarify the explanation about old U-Boot versions in the commit
> message.
Committed to 2019.02.x and 2019.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-22 18:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-09 15:22 [Buildroot] [PATCH] board/beaglebone: fix boot on BeagleBone Black unixmania at gmail.com
2019-11-15 22:38 ` Thomas Petazzoni
2019-11-22 18:28 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox