Skip to content

Commit 48aa5b4

Browse files
committed
README.md: update fetch code instructions
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
1 parent 7db9711 commit 48aa5b4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ Checkout this repository (e.g.: branch `JH7110_VisionFive2_devel`). Then checko
3030

3131
$ git clone https://github.com/starfive-tech/VisionFive2.git
3232
$ cd VisionFive2
33-
$ git checkout JH7110_VisionFive2_devel
33+
$ git checkout --track origin/JH7110_VisionFive2_devel
3434
$ git submodule update --init --recursive
35+
$ cd linux && git branch JH7110_VisionFive2_devel origin/JH7110_VisionFive2_devel && cd ..
3536
This will take some time and require around 9GB of disk space. Some modules may fail because certain dependencies don't have the best git hosting. The only solution is to wait and try again later (or ask someone for a copy of that source repository).
3637

3738
For user who build the release tag version, the above command is enough. For developer, need to switch the 5 submodules `buildroot`, `u-boot`, `linux`, `opensbi`, `soft_3rdpart` to correct branch manually, also could refer to `.gitmodule`

0 commit comments

Comments
 (0)