Navigation

    全志在线开发者论坛

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

    V831 设备树 board.dts 遇到一个百思不得其解的问题

    其它全志芯片讨论区
    3
    8
    360
    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.
    • U
      ubuntu LV 6 last edited by

      board.dts:

              gpioled {
                      compatible = "gpio-leds";
                      status = "okay";
      
                      ir_led {
                              linux,default-trigger = "heartbeat";
                              label = "heartbeat_led";
                              gpios = <&pio PC 1 1 1 1 1>;
                              status = "okay";
                      };
              };
      

      linux,default-trigger 会因为中间那个 - 导致 dtc 编译失败,
      如果删掉那个 - 就能编译成功,

      导致我不得另寻蹊径:

      4cec8739-c9f3-4846-9442-cfcdd070c4bf-image.png

      然后再去修改驱动对应的地方
      lichee/linux-4.9/drivers/leds/leds-gpio.c

      1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 last edited by

        这个版本的dtc有一个问题,default-xxx会解析错误

        U 1 Reply Last reply Reply Quote Share 0
        • U
          ubuntu LV 6 @YuzukiTsuru last edited by

          @yuzukitsuru
          居然还有这种bug 😧

          YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
          • YuzukiTsuru
            柚木 鉉 LV 9 @ubuntu last edited by

            @ubuntu 升级下应该就好了

            U M 2 Replies Last reply Reply Quote Share 0
            • U
              ubuntu LV 6 @YuzukiTsuru last edited by

              @yuzukitsuru
              好的,谢谢大佬,这就去死马做活马医。

              1 Reply Last reply Reply Quote Share 0
              • M
                memory LV 7 last edited by

                艹,我也碰到了,请问怎么升级 dtbc?

                1 Reply Last reply Reply Quote Share 0
                • M
                  memory LV 7 @YuzukiTsuru last edited by

                  @yuzukitsuru 在 V831 设备树 board.dts 遇到一个百思不得其解的问题 中说:

                  @ubuntu 升级下应该就好了

                  86d5e80e-1d3f-4325-8c81-2a78de502947-image.png

                  试了一下,并不行,这个dtc好像还是全志魔改的。

                  M 1 Reply Last reply Reply Quote Share 0
                  • M
                    memory LV 7 @memory last edited by

                    @memory
                    死马做活马医,学楼主了,把 - 改成别的符号暂时解决这个问题。

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

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

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