Navigation

    全志在线开发者论坛

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

    使用社区buildroot单独编译构建D1开发板系统opensbi出错

    MR Series
    3
    4
    1926
    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.
    • baiwen
      100ask LV 6 last edited by

      我在尝试使用buildroot官方lts 2021版本构建工具,其中工具链使用 从官方sdk下载下来的 ~/tina-d1-open/lichee/brandy-2.0/tools/toolchain/riscv64-linux-x86_64-20200528.tar.gz 尝试构建 opensbi 部分提示错误,目前来似乎是工具链不支持某些指令集导致的问题 请问有可以直接单独用来编译 opensbi的工具链么?
      68d0a752-377e-4c37-b414-57efc9b86769-image.png

      Kirin D 2 Replies Last reply Reply Quote Share 0
      • Kirin
        陈塘关李靖 LV 6 @baiwen last edited by

        @allwinnertech 道理我都懂,但是你这个ID,好像比官方还官方。。。

        1 Reply Last reply Reply Quote Share 0
        • D
          板砖 LV 3 @baiwen last edited by

          @allwinnertech tina-d1-open发布的opensbi的部分模块实现有扩展指令,tina-d1-open中发布的工具链默认是打开该编译选项--with-arch=rv64gcxthead,但是opensbi中重新指定了-march,
          编译的时候默认是PLATFORM_RISCV_ISA = rv64imafdc,编译的时候重新指定参数 -march=rv64gcxthead,可以参考tina-d1-open中发布的opensbi原码根目录下的编译脚本

          baiwen 1 Reply Last reply Reply Quote Share 0
          • baiwen
            100ask LV 6 @damon last edited by

            @damon 在 使用社区buildroot单独编译构建D1开发板系统opensbi出错 中说:

            rv64imafdc

            好的 我试试

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

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

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