RK3288 Android7.1 禁止调试串口,作普通串口
发布日期:2021-05-07 13:27:14 浏览次数:20 分类:精选文章

本文共 831 字,大约阅读时间需要 2 分钟。

3288 uart2为调试串口,更改为普通串口

  • 关掉FIQ debugger,Disable以下节点

    fiq-debugger {          compatible = "rockchip,fiq-debugger";          interrupts = 
    ; rockchip,serial-id = <2>; rockchip,wake-irq = <0>; rockchip,irq-mode-enable = <0>; /* If enable uart uses irq instead of fiq */ rockchip,baudrate = <115200>; /* Only 115200 and 1500000 */ pinctrl-names = "default"; pinctrl-0 = <&uart2_xfer>; status = "disabled"; };
  • 注释 bootargs = “earlycon=uart8250,mmio32,0xff690000 vmalloc=496M”;

    chosen {  //      bootargs = "earlycon=uart8250,mmio32,0xff690000 vmalloc=496M";  };
  • 重写parameter.txt

    commandline:androidboot.console=ttyFIQ0,去掉ttyFIQ0。
  • android/device/rockchip/common/recovery/etc/init.rc

    service recovery /sbin/recovery   #console 这个注释掉    seclabel u:r:recovery:s0
上一篇:RK3288串口root权限
下一篇:Android系统添加 logo方法

发表评论

最新留言

关注你微信了!
[***.104.42.241]2025年03月30日 20时24分43秒