1. Causes:
Want to download Uboot source code, the original method is to download the compressed package, and then put on the virtual machine Ubuntu, and then unzip.
When looking at Uboot source code, found v2016.01 version of the uboot in the BOARD_INIT_F_MEM function has a problem, want to see the other version of the relevant content, I am worried, I think of the uboot is managed with Git, if I clone a bit, not can in not Easily switch between the same version and even see the update information for each version. The idea is good, then we move.
2. Operation procedure: 1. Clone out of the warehouse:
git clone git://git.denx.de/u-boot.git u-boot
2. View some information about the warehouse:
git status
3. Check the release version (tagged):
tag
4. Switch to a specific label version:
git checkout v2016.01-rc1
5. Check this label is different from other labels:
git diff v2016.01
Go: Download uboot source with git