蓝天-彭 发表于 2016-6-2 15:00:22

uart0作为一般串口

一般串口调试使用的是uart0,如果不使用它的话可以按照下面更改:
--- a/tools/pack/chips/sun7i/configs/linux/default/env.cfg

+++ b/tools/pack/chips/sun7i/configs/linux/default/env.cfg

@@ -2,7 +2,7 @@ bootdelay=3

#default bootcmd, will change at runtime according to key press

bootcmd=run setargs_nand boot_normal#default nand boot

#kernel command arguments

-console=ttyS0,115200

+#console=ttyS0,115200

nand_root=/dev/nandd

yuxue 发表于 2016-6-7 09:06:51

我可以告诉你这样不稳定么? ttyS0 是特殊的端口 不建议当做一般端口 全志有专门说明

蓝天-彭 发表于 2016-6-7 09:29:55

yuxue 发表于 2016-6-7 09:06 static/image/common/back.gif
我可以告诉你这样不稳定么? ttyS0 是特殊的端口 不建议当做一般端口 全志有专门说明

...

嗯,没测试过稳定性,但最好不要去改就对了
页: [1]
查看完整版本: uart0作为一般串口