Navigation

    全志在线开发者论坛

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

    T113 修改打印日志口

    MR Series
    3
    7
    4211
    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.
    • C
      cwj1986521 LV 5 last edited by

      我修改了打印日志口 由原本的uart0 更改成了uart3 发现 boot0 能打印 uboot 不能打印 kernel能打印 ,这个是哪漏改了?uboot 打印 设备树中没有定义,需要在哪定义?

      WhycanService 1 Reply Last reply Reply Quote Share 0
      • WhycanService
        WhycanService LV 8 @cwj1986521 last edited by

        @cwj1986521 uboot需要配置console_index,UART3需要配置 CONFIG_CON_INDEX=4

        C 2 Replies Last reply Reply Quote Share 0
        • C
          cwj1986521 LV 5 @WhycanService last edited by

          @whycanservice 非常感谢,uboot的日志起来了,但是为什么kernel的日志又没有了,改回去后kernel的日志就有了。

          1 Reply Last reply Reply Quote Share 0
          • C
            cwj1986521 LV 5 @WhycanService last edited by

            @whycanservice 已经可以,谢谢

            W 1 Reply Last reply Reply Quote Share 0
            • W
              wanglang LV 5 @cwj1986521 last edited by

              @cwj1986521 请问修改了哪些配置?我也遇到修改为uart3后,烧录只打印boot0, 到不打印剩下日志的到card ok的烧录日志。

              C 2 Replies Last reply Reply Quote Share 0
              • C
                cwj1986521 LV 5 @wanglang last edited by

                @wanglang
                需要再uboot的u-boot-8/configs的配置文件中增加
                CONFIG_BAUDRATE=115200
                #CONFIG_SPECIFY_CONSOLE_INDEX=y
                CONFIG_CONS_INDEX=4
                上述配置是串口3的
                然后再重新编译下

                1 Reply Last reply Reply Quote Share 0
                • C
                  cwj1986521 LV 5 @wanglang last edited by

                  @wanglang
                  参考下
                  https://bbs.aw-ol.com/topic/1673/全志芯片tina-linux-修改-uart-引脚-uart端口/3
                  这个 按这个来处理 就能正常了

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

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

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