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

$ cd u-boot/

$ git tag

 

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

$ git status

 

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

$ git 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/

clone下来,可以看到各个版本的更新信息,在不同的版本之间轻松切换。

相关文章: