xiaqii
1
Hi all.
I can use all UARTs with debian 3.8 .
use slots to active and then use them .
but in ubuntu ,this make me crazy…
after i tired one week…
I come for healp. ;(
Ubuntu 3.14.33-ti-r50
I want to use UART1 UART2 UART4
After i tied 999 times.
I find i can add this to uEnv.txt to active one UART.
dtb=am335x-boneblack-ttyO2.dtb
Anyone can help me to load 4 of them?
dtb=am335x-boneblack-ttyO1.dtb,am335x-boneblack-ttyO2.dtb is wrong.
dtb=am335x-boneblack-ttyO1.dtb
dtb=am335x-boneblack-ttyO2.dtb
this still no use…
Hi all.
I can use all UARTs with debian 3.8 .
use slots to active and then use them .
but in ubuntu ,this make me crazy...
after i tired one week..
I come for healp. ;(
No need to wait a week...
First, reset dtb:
dtb=am335x-boneblack.dtb
Ubuntu 3.14.33-ti-r50
Next upgrade:
sudo apt-get update ; sudo apt-get install linux-image-3.14.37-ti-r57
; sudo reboot
I want to use UART1 UART2 UART4
After i tied 999 times.
I find i can add this to uEnv.txt to active one UART.
dtb=am335x-boneblack-ttyO2.dtb
Anyone can help me to load 4 of them?
dtb=am335x-boneblack-ttyO1.dtb,am335x-boneblack-ttyO2.dtb is wrong.
dtb=am335x-boneblack-ttyO1.dtb
dtb=am335x-boneblack-ttyO2.dtb
You can only load one "dtb"...
Next, download dtb-rebuilder on your bbb:
git clone -b 3.14-ti GitHub - RobertCNelson/dtb-rebuilder
cd dtb-rebuilder/
nano ./src/arm/am335x-boneblack.dts
scroll down to:
/* uart1: P9.24, P9.26 */
#include "am335x-ttyO1.dtsi"
/* #include "am335x-bone-ttyO1.dtsi" */
/* uart2: P9.21, P9.22 */
#include "am335x-ttyO2.dtsi"
/* #include "am335x-bone-ttyO2.dtsi" */
/* uart4: P9.11, P9.13 */
#include "am335x-ttyO4.dtsi"
/* #include "am335x-bone-ttyO4.dtsi" */
Change to:
/* uart1: P9.24, P9.26 */
#include "am335x-ttyO1.dtsi"
#include "am335x-bone-ttyO1.dtsi"
/* uart2: P9.21, P9.22 */
#include "am335x-ttyO2.dtsi"
#include "am335x-bone-ttyO2.dtsi"
/* uart4: P9.11, P9.13 */
#include "am335x-ttyO4.dtsi"
#include "am335x-bone-ttyO4.dtsi"
save/exit.
Run:
make
sudo make install
sudo reboot