Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. March
    M
    • Profile
    • Following 0
    • Followers 1
    • my integral 2084
    • Topics 15
    • Posts 46
    • Best 2
    • Groups 0

    MarchLV 5

    @March

    2084
    integral
    2
    Reputation
    19
    Profile views
    46
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    March Unfollow Follow

    Latest posts made by March

    • [D1哪吒]之SPL的启动流程

      SPL作为第二阶段程序加载器,其作用不言而喻,在./lichee/brandy2.0目录下,提供了SPL源码,找到编译过后的boot0.lds,其入口点为_start,全局搜索_start,spl/arch/riscv/cpu/riscv64/boot0_entry.S中的_start最像,boot0_entry.S代码如下e55d1485-448a-47ce-af30-95fb004809fa-image.png ,如上图所示,红框中,既然用了csrs指令,那么mxstatus和mcor肯定是RISCV的控制状态寄存器,[附csrs指令描述]:40b922b1-08e4-486c-acbf-12bb38efc2f9-image.png ,我查看了RISCV特权架构文档,并没有该寄存器。再往下面,有如下指令:jal main和j .
      我的问题:
      (1)SPL程序的入口点是spl/arch/riscv/cpu/riscv64/boot0_entry.S中的_start嘛?
      (2)mxstatus和mcor寄存器的相关信息?
      (3)指令jal main调用的main是在哪里呢?是../spl/nboot/main/boot0_main.c中的main嘛?
      (4)指令j .的含义是什么啊?

      posted in MR Series
      M
      March
    • Reply: PhoenixSuit连接不上设备

      @xiaowenge 有成功烧录过 这是另一块D1开发板

      posted in MR Series
      M
      March
    • PhoenixSuit连接不上设备

      PhoenixSuit一直连不上设备 我以为是USB驱动的问题 但是下载了相关驱动 也不能安装啊 点击相应的应用程序也没反应0f60989f-70e0-45a7-b0e6-b0b571523d15-image.png

      posted in MR Series
      M
      March
    • Reply: D1开发板初次编译uboot

      @xiaowenge 选择不了.bin文件啊18756e17-285d-433a-8f10-885bdfa34e8f-image.png

      posted in MR Series
      M
      March
    • Reply: D1开发板初次编译uboot

      @kirin 求救🙏

      posted in MR Series
      M
      March
    • Reply: D1开发板初次编译uboot

      @kirin 那如何将单独烧写uboot呢 用PhoenixSuit烧写不能选中.bin文件啊

      posted in MR Series
      M
      March
    • Reply: D1开发板初次编译uboot

      @kirin 🤥 🤥 🤥

      posted in MR Series
      M
      March
    • Reply: D1开发板初次编译uboot

      @kirin 我只想单独编译uboot 而且初次编译uboot不是需要配置的嘛 这里我将uboot从tina的文件夹拷贝到另外一个单独的文件夹了 只对这个uboot进行编译

      posted in MR Series
      M
      March
    • D1开发板初次编译uboot

      初次编译uboot的时候,不是要配置uboot嘛,然后我将tina目录下的u-boot-2018拷贝到另外一个目录,参考了正点原子的教程编译uboot,参考截图如下:deebaa97-50c0-427b-9ef8-b1410eb3a66e-image.png ,先进行清除工程,使用了如下命令:make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu-distclean ,使用情况如下:1e673c05-2d43-434c-a47d-96b597cbf2f9-image.png ,也使用了mboot进行编译,使用情况如下:b23de1e4-d943-475a-a881-fa917f456613-image.png 所以,初次进行编译uboot,其命令是什么呢(包括清除、配置、编译三个命令)?

      posted in MR Series
      M
      March
    • D1开发板初次编译uboot的命令

      请问D1开发板初次编译uboot使用的命令是什么啊

      posted in MR Series
      M
      March