Skip to contentSkip to conversation

board/beaglebone: fix boot on BeagleBone Black

PATCH New unixmania at gmail.com 3 participants 3 messages Nov 9, 2019 – Nov 22, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board/beaglebone: fix boot on BeagleBone Black

From: Carlos Santos <[email protected]>

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.

---
CC: Thomas Petazzoni <[email protected]>
CC: Lothar Felten <[email protected]>
---
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(-)
board/beaglebone/uEnv.txt +4 -1
index a665f20889..8fce54d87e 100644
@@ -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}
Signature · 1 line
2.18.1
#1 lore raw

PATCH 1/1 board/beaglebone: fix boot on BeagleBone Black

Quoted 17 lines · On Sat, 9 Nov 2019 12:22:54 -0300 unixmania at gmail.com wrote:

From: Carlos Santos <[email protected]>

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.

---
CC: Thomas Petazzoni <[email protected]>
CC: Lothar Felten <[email protected]>
---
Changes v1->v2:
- Clarify the explanation about old U-Boot versions in the commit message.

Quoted 3 lines
---
 board/beaglebone/uEnv.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 board/beaglebone: fix boot on BeagleBone Black

In reply to unixmania at gmail.com
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"unixmania" == unixmania <[email protected]> writes:

From: Carlos Santos <[email protected]>
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.

Quoted 8 lines

---
CC: Thomas Petazzoni <[email protected]>
CC: Lothar Felten <[email protected]>
---
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.

Signature · 1 line
Bye, Peter Korsgaard