Navigation

    全志在线开发者论坛

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

    T113跑TINA串口不能输入了

    其它全志芯片讨论区
    4
    15
    4167
    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.
    • H
      Honey130602 LV 5 last edited by

      T113跑TINA有成功的不,为啥我的跑起来后,串口不能输入了,大家有遇到过这个问题没

      H 1 Reply Last reply Reply Quote Share 0
      • Moved from MR Series by  YuzukiTsuru YuzukiTsuru 
      • H
        Honey130602 LV 5 @Honey130602 last edited by

        1.png

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

          检查一下TX RX线有没有接对
          然后 make menuconfig

          把init改成busybox-init

          a8f66c9d-4f80-4109-a6b6-caee5cc52ad2-image.png

          H 2 Replies Last reply Reply Quote Share 0
          • H
            Honey130602 LV 5 @YuzukiTsuru last edited by

            @yuzukitsuru 是对的,可以敲回车,好像是单板卡住了,跑longan是没问题

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

              @honey130602 改成busybox init

              H H 3 Replies Last reply Reply Quote Share 0
              • H
                Honey130602 LV 5 @YuzukiTsuru last edited by

                @yuzukitsuru 好的好的,马上试,多谢

                1 Reply Last reply Reply Quote Share 0
                • H
                  Honey130602 LV 5 @YuzukiTsuru last edited by

                  @yuzukitsuru 可以啦,多谢大神

                  1 Reply Last reply Reply Quote Share 0
                  • H
                    Honey130602 LV 5 @YuzukiTsuru last edited by

                    @yuzukitsuru 还想问下,你知道怎么在TINA中修改uboot的menuconfig不,我之前直接改.config或者uboot下make menuconfig好像都不生效

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

                      @honey130602 修改brandy-2.0/uboot-2018/configs/xxx_defconfig

                      H 2 Replies Last reply Reply Quote Share 0
                      • H
                        Honey130602 LV 5 @YuzukiTsuru last edited by

                        @yuzukitsuru 嗯,确实可以了,多谢哦

                        1 Reply Last reply Reply Quote Share 0
                        • H
                          Honey130602 LV 5 @YuzukiTsuru last edited by

                          @yuzukitsuru 现在发现还有个一个比较诡异的问题,我想把串口从0改到1,
                          修改了
                          ----------sys_config.fex------------
                          [uart_para]
                          uart_debug_port = 1
                          uart_debug_tx = port:PG06<2><1><default><default>
                          uart_debug_rx = port:PG07<2><1><default><default>
                          ---------board.dts-------------
                          &uart0 {
                          pinctrl-names = "default", "sleep";
                          pinctrl-0 = <&uart0_pins_a>;
                          pinctrl-1 = <&uart0_pins_b>;
                          status = "disabled";
                          };

                          &uart1 {
                          pinctrl-names = "default", "sleep";
                          pinctrl-0 = <&uart1_pins_a>;
                          pinctrl-1 = <&uart1_pins_b>;
                          status = "okay";
                          };

                          -------------env.cfg-----------------
                          #kernel command arguments
                          earlyprintk=sunxi-uart,0x02500400
                          initcall_debug=0
                          console=ttyS1,115200
                          --------------sun8iw20p1.dts------------------
                          uart1: uart@2500400 {
                          compatible = "allwinner,sun8i-uart";
                          device_type = "uart1";
                          reg = <0x0 0x02500400 0x0 0x400>;
                          interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
                          sunxi,uart-fifosize = <256>;
                          clocks = <&ccu CLK_BUS_UART1>;
                          clock-names = "uart1";
                          resets = <&ccu RST_BUS_UART1>;
                          uart1_port = <1>;
                          uart1_type = <4>;
                          status = "okay";
                          };
                          ---------------uboot下头的defconfig-----------------
                          CONFIG_CONS_INDEX=2
                          这样的表现是uboot有串口打印,但是kernel就没有了
                          然后我只要把uboot下头的defconfig还原到CONFIG_CONS_INDEX=1
                          uboot没有打印了,但是kernel就有打印了,
                          想了很久都没想通

                          Q 1 Reply Last reply Reply Quote Share 0
                          • Q
                            qqqlb LV 6 @Honey130602 last edited by

                            @honey130602 楼主,你的问题解决了吗?修改调试串口需要改那些文件呢,求教

                            H 2 Replies Last reply Reply Quote Share 0
                            • H
                              Honey130602 LV 5 @qinlinbin last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote Share 0
                              • H
                                Honey130602 LV 5 @qinlinbin last edited by

                                @qinlinbin 照着这个帖子弄,可以成功
                                https://bbs.aw-ol.com/topic/1673/全志芯片tina-linux-修改-uart-引脚-uart端口

                                1 Reply Last reply Reply Quote Share 0
                                • H
                                  haerliy LV 2 @YuzukiTsuru last edited by

                                  @yuzukitsuru 你好如果还是想使用procd-init的话,该如何跑起来,是不是还要修改其他配置?

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

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

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