zoukankan      html  css  js  c++  java
  • u-boot源码下载

    1. 使用git下载u-boot源码

     1.1 clone u-boot源码仓库

         可以使用gitHTTP、和 rsync协议来下载u-boot源码。你可以使用如下方法来克隆源码树:

    $ git clone git://git.denx.de/u-boot.git   u-boot/

    $ git clone http://git.denx.de/u-boot.git  u-boot/

    $ git clone rsync://git.denx.de/u-boot.git u-boot/

    1.2 查看u-boot 版本tag信息:

    $ cd u-boot/

    $ git tag

     

    1.3 查看u-boot源码仓库信息

    $ git status

     

    1.4 查看当前u-boot源码仓库branch信息

    $ git branch

     

    1.5 checkout特定版本的u-boot源代码:

    实际开发中要基于某个版本的u-boot源代码进行开发自己的u-boot时,可以checkout and create a branchgit checkout tags/<tag_name> -b <branch_name> 例如,基于v2016.07版本的u-boot源代码创建u-boot-v2016.07-tiny4412 这个branch进行开发:

    $ git checkout tags/v2016.07 -b u-boot-v2016.07-tiny4412

    Switched to a new branch 'u-boot-v2016.07-tiny4412'

    $ git branch

      master

    *u-boot-v2016.07-tiny4412

     

    2. u-boot源码FTP上下载

     u-boot源代码FTP下载地址: ftp://ftp.denx.de/pub/u-boot/

    3. 总结    

        使用git来管理u-boot源代码,方便开发过程中代码管理。 u-boot源码仓库clone下来,可以看到各个版本的更新信息,在不同的版本之间轻松切换。

  • 相关阅读:
    iOS初级博客的链接
    代理参数问题的思考
    数组里面的选择排序与起泡排序比较
    【C语言】02-函数
    【C语言】01-第一个c程序代码分析
    响应者链的事件分发
    UIController中view的记载流程
    UITabBar的定制
    CommandTabel_代理方法
    来到博客园
  • 原文地址:https://www.cnblogs.com/LoTGu/p/5804901.html
Copyright © 2011-2022 走看看