Navigation

    全志在线开发者论坛

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

    利用XFEL直接引导xboot

    MR Series
    2
    2
    1816
    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.
    • T
      tripod9 LV 5 last edited by

      在缺乏工具前,都是利用已有的软件,间接开发,现在有了专用工具,就无需像那么折腾了,仅需在板子上电时,按着fel按键,敲一下如下,指令就可以将xboot运行在DDR中,复杂的开发工作,从此变得简单起来。

      sudo xfel ddr ddr3
      sudo xfel write 0x40000000 output/xboot.bin
      sudo xfel exec 0x40000000
      

      补充下,xboot代码的获取与编译,工具链随便了,你想用玄铁的也行,啥都可以的。

      git clone https://github.com/xboot/xboot/ -b test-d1
      CROSS_COMPILE=riscv64-linux-gnu- PLATFORM=riscv64-d1 make -j3
      

      xfel_run_xboot.gif

      借用下晕哥的图,在晕哥的努力下,XFEL现在有了windows版了,方便使用win做开发的同学。

      链接文本

      xiaowenge 1 Reply Last reply Reply Quote Share 1
      • xiaowenge
        DOT小文哥 LV 8 @tripod9 last edited by

        @tripod9 在 利用XFEL直接引导xboot 中说:

        windows版

        太好了,向我们这种不允许直接装ubuntu的公司,开发就方便多了

        1 Reply Last reply Reply Quote Share 0
        • Referenced by  Kirin Kirin 
        • 1 / 1
        • First post
          Last post

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

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