Navigation

    全志在线开发者论坛

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

    请教boot mode选择问题?

    D1系列-RISC-V
    2
    6
    272
    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.
    • Z
      zhongtao1701 LV 5 last edited by

      手册提到由SID的配置决定GPIO 还是 eFuse
      On startup, the BROM will
      read the state of BOOT_MODE, and decide whether the GPIO or eFuse to select the type of boot medium based
      on the state of BOOT_MODE. The BOOT_MODE is the bit of the SID module (register: 0x03006210).

      但手册中没有看到SID具体的配置描述,以及新购芯片SID中默认值是什么?需要通过什么工具进行配置?

      我看mq-r原理图中提到它的boot模式GPIO pin,而且值是11(SD0->EMMC2->..), 但它没有焊接flash, PC5/SEL1和PC4/SEL0目前悬空,也没有上拉处理,有点困惑,哪位大侠能指点一下? 谢谢

      1 Reply Last reply Reply Quote Share 0
      • Z
        zhongtao1701 LV 5 last edited by

        可以利用xfel工具读出sid, 但是却无法解析它的内容,什么文档能描述SID具体信息?谢谢

        1. mq-r (T113)
          D:\tools\xfel-windows-v1.2.9>xfel sid
          93005c00ac00481401425a4c64471e4b

        2. mq-r(D1s)
          D:\tools\xfel-windows-v1.2.9>xfel sid
          93005c00ac00481401425a4c64471e4b

        Y 1 Reply Last reply Reply Quote Share 0
        • Y
          YterAA LV 7 @zhongtao1701 last edited by

          @zhongtao1701
          SID 是储存器存放芯片的一些配置选项,包括BOOT_MODE,MAC等等。现在XFEL可以读出SID的配置值即是默认值。

          BOOT 顺序可以通过两种方法指定,第一种是烧录芯片eFuse,使用写号工具DragonSN(需要联系FAE获得)写入eFuse数据。另外一种是通过GIPO选择。通过组合高低电平实现启动顺序。

          v853 也有这个功能,可以参考:https://v853.docs.aw-ol.com/hard/hard_3boardsch/#memoryemmc

          Z 1 Reply Last reply Reply Quote Share 0
          • Z
            zhongtao1701 LV 5 @YterAA last edited by

            @yteraa 谢谢你的回答,明白需要使用DragonSN烧写efuse

            我看连接中原理图中,BOOT SEL 启动顺序选择脚PC2和PC3也没有做上拉或下拉处理, 或因为管脚默认的上/下拉吗? MQ-R中启动引脚PC5/PC4也是这样的悬空的,还是有些迷惑?

            Y 1 Reply Last reply Reply Quote Share 0
            • Y
              YterAA LV 7 @zhongtao1701 last edited by

              @zhongtao1701 是默认存在上下拉关系的,默认上拉

              Z 1 Reply Last reply Reply Quote Share 0
              • Z
                zhongtao1701 LV 5 @YterAA last edited by

                @yteraa
                明白了,谢谢你

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

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

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