Navigation

    全志在线开发者论坛

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

    如何单独编译uboot

    D1系列-RISC-V
    3
    3
    287
    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.
    • L
      lumen LV 5 last edited by

      修改了uboot-board.dts之后准备单独编译uboot,在lichee/brandy-2.0/u-boot-2018应该执行什么命令?make clean和make吗?

      YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 @lumen last edited by

        @lumen mboot

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

          编译进阶编译操作
          如果不需要完整编译整个系统,也可以对部分模块进行编译,如单独编译boot0、单独编译uboot、单独编译内核和单独编译某个包等,Tina环境都提供了相应的快捷命令

          单独编译boot0和uboot:mboot,可在Tina任意目录下使用
          单独编译boot0:mboot0,可在Tina任意目录下使用
          单独编译uboot:muboot,可在Tina任意目录下使用
          单独编译内核:mkernel,可在Tina任意目录下使用
          单独编译某个包:mm,只能在编译的包路径下操作,如包路径为 tina/package/utils/rwcheck,则需要进入到 tina/package/utils/rwcheck路径下再输入 mm 命令,编译出来对应的安装包的路径在 tina/out/d1-nezha/packages/base下
          在根目录下编译某个软件包:make <应用包的路径>/install,需要在根目录下操作,如 make package/utils/rwcheck/install
          在根目录下清空应用包临时文件:make <应用包的路径>/clean,需要在根目录下操作,如 make package/utils/rwcheck/clean

          详见:https://d1.docs.aw-ol.com/study/study_4compile/#_8

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

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

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