瑞芯微Rockchip开发者社区
直播中

马占云

7年用户 1537经验值
私信 关注
[问答]

如何修改RK3288调试串口UART2为普通串口呢

  我们使用的是RK3288 android5.1系统

  uart1和uart3都可以正常使用,但是uart2却只能用于调试,目前想要把uart1,uart2,和uart3都作为普通串口使用

  william hill官网 跟百度搜了好多方法修改都不成功

  不知道有没有人成功把UART2修改为普通串口呢?望指点!

回帖(2)

王越建

2022-8-29 16:03:51
make menuconfig-->
    System Type  --->
         (2)   Debug UART
可以把2改为3后,调试串口变成uart3
但是还有一个问题,就是u-boot打印的调试信息还是从uart2出来,怎么样才能关闭或者修改Uboot打印呢
ps: 修改过parameter文件,没有效果
举报

贾飞世

2022-8-29 16:04:04
1.修改
--- a/device/rockchip/common/ueventd.rockchip.rc
+++ b/device/rockchip/common/ueventd.rockchip.rc
@@ -49,7 +49,7 @@
# for BT
/dev/vflash               0660   bluetooth  net_bt_stack
#/dev/ttyS0                0660   bluetooth  net_bt_stack
-/dev/ttyS2                0660   bluetooth  net_bt_stack
+/dev/ttyS2                0666   bluetooth  net_bt_stac
/dev/rtk_btusb            0660   bluetooth  net_bt_stack
# for radio
2.替换rk3288box-3.10-uboot.parameter.txt 文件
举报

更多回帖

发帖
×
20
完善资料,
赚取积分