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下来,可以看到各个版本的更新信息,在不同的版本之间轻松切换。

  • 相关阅读:
    练习5-3 数字金字塔 (15分)
    JSTL标签
    ssm+mysql+jsp打造在线考试系统WeKnow-学生端
    JSP常用内置对象
    mybatis入门2
    mybtis入门
    数据源的作用
    ssm动态查询向前台传json
    ssm中的注解
    ssm中的模糊查询
  • 原文地址:https://www.cnblogs.com/LoTGu/p/5804901.html
Copyright © 2011-2022 走看看