Navigation

    全志在线开发者论坛

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

    芒果派mq-r(f133)启动异常问题

    D1系列-RISC-V
    3
    12
    256
    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.
    • E
      deepspace LV 3 last edited by

      87276498-24eb-4f3c-b1fd-13e7a8999354-ea0162674282a554b180c193385b9a8.png

      我按教程编译好固件后,使用phoenixcard4.2.8工具,选择启动卡,然后把卡插到开发板上,然后出现如图所示的问题,已经打印了Starting Kernel了,之后就没有继续打印。

      请问下这个是什么原因导致的?

      E X W 5 Replies Last reply Reply Quote Share 0
      • E
        deepspace LV 3 @easytech last edited by

        @easytech
        从打包脚本里面来看,这个打包的镜像是要从flash中启动,但是没有贴flash,想先从sdcard上启动系统,大佬们知道怎么修改么?

        d97ff8e2-7bec-4aef-a413-8e50e3ff9274-fex.png

        1 Reply Last reply Reply Quote Share 0
        • E
          deepspace LV 3 @easytech last edited by

          @easytech
          这里在补上uboot里面打印的env信息

          58baee3c-f817-46fd-a12e-34628e66dadc-env.png

          1 Reply Last reply Reply Quote Share 0
          • X
            xiaoxiong1988 LV 2 @easytech last edited by

            @easytech 我这边下载的芒果派的sdk,编译中会让设置很多配置,最终能编译成功,但打包不了,有遇到这个问题么?

            E 1 Reply Last reply Reply Quote Share 0
            • W
              whycanservice2 LV 6 @easytech last edited by

              @easytech 我觉的大概率 内核配置的debug串口不对。。因此没有了打印信息。

              E 1 Reply Last reply Reply Quote Share 0
              • E
                deepspace LV 3 @xiaoxiong1988 last edited by

                @xiaoxiong1988

                打包不了可能是uboot没有编译,mboot试试,之前我也遇到过了

                1 Reply Last reply Reply Quote Share 0
                • E
                  deepspace LV 3 @whycanservice2 last edited by

                  @whycanservice2

                  这个我也想过,但是Start kernel之后又打印了两句,那个看起来像是kernel打的,我也检查了UART3的PB6、PB7引脚,也没有发现有谁占用它。而且奇怪的是,用默认的UART0的话,启动会卡在加载rootfs的位置,有时候几分钟就好了,有时候等一两个小时都不行😕

                  W X 2 Replies Last reply Reply Quote Share 0
                  • W
                    whycanservice2 LV 6 @easytech last edited by

                    @easytech 启动内核 是uboot的工作。所以这三条都是由uboot打印的。

                    E 1 Reply Last reply Reply Quote Share 0
                    • E
                      deepspace LV 3 @whycanservice2 last edited by

                      @whycanservice2

                      我是根据这个帖子来修改串口的,不知道是不是还有什么地方没有修改对,还望大佬不吝赐教
                      https://blog.csdn.net/qq_39721016/article/details/125524789

                      W 1 Reply Last reply Reply Quote Share 0
                      • W
                        whycanservice2 LV 6 @easytech last edited by q1215200171

                        @easytech 应该不是这么改的,参考这个 https://bbs.aw-ol.com/topic/1673/

                        1 Reply Last reply Reply Quote Share 0
                        • X
                          xiaoxiong1988 LV 2 @easytech last edited by

                          @easytech kernel 的打印配置不对,我今天也碰到同样的打印信息,按照帖子重新修改uart3配置,然后重新mboot make一下就可以了

                          1 Reply Last reply Reply Quote Share 0
                          • E
                            deepspace LV 3 @easytech last edited by

                            @easytech

                            问题已经解决了,是dts里面,uart3的节点下面有个属性配置,这个是没有源码与之对应的,之前一直忽略了这个地方,不过注释掉这个属性之后,启动的时候进入Linux之后会报错,不过不影响uart3当成控制台串口。真的是好多坑,不知道是芒果派拿sdk去改过还是全志本身的sdk就是这样的🙄
                            a2644e3d-21e4-4da0-a7f6-cfb3a0f25dc9-image.png
                            db53cf09-6d6d-4954-aa25-da5e7e54ae65-image.png

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

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

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