Go: Download uboot source with git

Source: Internet
Author: User

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
    • 1
2. View some information about the warehouse:
git status
    • 1
3. Check the release version (tagged):
tag
    • 1
4. Switch to a specific label version:
git checkout v2016.01-rc1
    • 1
5. Check this label is different from other labels:
git diff v2016.01
    • 1

Go: Download uboot source with git

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.