1

I need to get the U-boot source of the following version details.

VERSION = 2014 
PATCHLEVEL = 07 
SUBLEVEL = 
EXTRAVERSION = 
NAME =

I tried following steps.

  1. Cloned with the following command.

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

But following is the version details.

VERSION = 2015
PATCHLEVEL = 10
SUBLEVEL = 
EXTRAVERSION = -rc1
NAME =
  1. git branch is showing only master branch.

    user:~/U-boot/u-boot$ git branch
    * master
    user:~/U-boot/u-boot$
    

Can you please guide to get the U-boot source(version:2014, patchlevel:07) using git.

user3693586
  • 1,227
  • 5
  • 18
  • 40

1 Answers1

1

There seems to be a tag matching those specifications.
(see list of tags for git.denx.de/u-boot.git).

That means, once you have cloned the repo, you can do a:

cd ~/U-boot/u-boot
git checkout v2014.07

Note that it will leave you in a detached HEAD mode (see "What's the difference between “git reset” and “git checkout”?").
But if don't do any commit, this doesn't matter

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250