Quantcast
Channel: 可丁丹尼 @ 一路往前走2.0
Viewing all articles
Browse latest Browse all 80

Banana Pi Debug Serial Port 支援 Console登入

$
0
0

Armbian 在 Banana Pi 內核預設使用UART0輸出Debug訊息,開機完成後如果要把UART0當成Console的話要記得關掉pwm DT Overlays。

README.sun8i-h3-overlays中有提到:

PWM pin: PA5

Pin PA5 is used as UART0 RX by default, so if this overlay is activated,
UART0 and kernel console on ttyS0 will be disabled

所以要去確認/boot/armbianEnv.txt有沒有宣告pwm

gw@Milton:/boot$ more armbianEnv.txt
verbosity=1
bootlogo=false
console=both
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
overlays=pwm uart3 w1-gpio
rootdev=UUID=86259015-1711-43ed-9767-dcd69358ed58
rootfstype=ext4
user_overlays= overlay-milton-led-301
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
gw@Milton:/boot$

overlays=pwm uart3 w1-gpio改成overlays=uart3 w1-gpio,就可以開啟功能。

The post Banana Pi Debug Serial Port 支援 Console登入 appeared first on 可丁丹尼 @ 一路往前走2.0.


Viewing all articles
Browse latest Browse all 80

Trending Articles