Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请教T113S3串口2(PD1和PD2)和LCD引脚冲突

    D1系列-RISC-V
    2
    3
    35
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yelong98 LV 7 last edited by

      串口0-5都开启了,其他串口都正常,唯独串口2找不到设备,dmesg看到PD1被lcd0占用
      [ 0.736249] sun8iw20-pinctrl 2000000.pinctrl: pin PD1 already requested by 5461000.lcd0; cannot claim for 2500800.uart
      [ 0.756395] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 97 (PD1) from group PD1 on device 2000000.pinctrl
      [ 2.597491] sun8iw20-pinctrl 2000000.pinctrl: pin PD1 already requested by 5461000.lcd0; cannot claim for 2500800.uart
      [ 2.617710] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 97 (PD1) from group PD1 on device 2000000.pinctrl
      在board.dts里面把&lcd0和&disp里面都添加了status = "disabled";并且把相关引脚引用都注释了,还是报错PD1被lcd0占用。
      //pinctrl-0 = <&dsi4lane_pins_a>;
      //pinctrl-1 = <&dsi4lane_pins_b>;
      继续改,把uboot-board.dts里面的lcd0也给disabled还是报错PD1被lcd0占用,求教哪位老铁遇到过?指点一点线索,多谢多谢

      A 1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 6 @yelong98 last edited by

        @yelong98 mkernel 强制重新编译内核试试看

        Y 1 Reply Last reply Reply Quote Share 0
        • Y
          yelong98 LV 7 @awwwwa last edited by

          @awwwwa 多谢指导,已经解决,整个clean以后重编就生效了,搞不懂之前咋回事,好在最后解决了

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2023 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策