diff options
author | 2019-11-09 12:22:54 -0300 | |
---|---|---|
committer | 2019-11-15 23:38:29 +0100 | |
commit | 6458b154a2064267116fe14b50315b3b55d47e50 (patch) | |
tree | b4b5101fa65fdaaf8b32f4aba2eb57397ce3b496 /board | |
parent | 7bb0691475702654868c7560eae02cf9cee61155 (diff) | |
download | buildroot-6458b154a2064267116fe14b50315b3b55d47e50.tar.gz buildroot-6458b154a2064267116fe14b50315b3b55d47e50.tar.bz2 |
board/beaglebone: fix boot on BeagleBone Black
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/beaglebone/uEnv.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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} |