Navigation

    全志在线开发者论坛

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

    d1h boot0的介绍文档在哪

    D1系列-RISC-V
    3
    4
    296
    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.
    • X
      xiaoxiao LV 5 last edited by

      需要修改一下底层的配置

      1 Reply Last reply Reply Quote Share 0
      • W
        whycan晕哥 LV 9 last edited by

        boot0应该没有文档,自己捋一捋代码吧,因为别的soc boot0是不开源的。

        1 Reply Last reply Reply Quote Share 0
        • luojia65
          luojia65 LV 4 last edited by

          我花一下午逆向了一份boot0,简单来说需要一个魔法头,头前面有一条跳转指令它倒是不会检查。有很多文档里没有的寄存器。
          放这里了: https://github.com/luojia65/test-d1-flash-bare/blob/d6a052678f5e396da0b69835d34615b4a22f75af/test-d1-flash-bt0/src/main.rs#L51
          这个项目很多代码都还需要整理(it works but nobody knows why),不过main函数是没问题的

          1 Reply Last reply Reply Quote Share 0
          • luojia65
            luojia65 LV 4 last edited by xiaowenge

            在此我借个楼强烈要求各个厂家提高boot0的透明度,产权代码没事,不给产权代码就行了,又不需要编译,如果不公开最后人去逆向,那产权代码的事情就全都让人知道了
            不公开boot0对引导程序作者是灭顶之灾,我个人认为只做uboot却没有boot0参考,这个和**开发者区别不大

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

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

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