|
@@ -27,26 +27,20 @@ $ sudo apt-get install git-lfs
|
|
|
|
|
|
Checkout this repository (e.g.: branch `vf2-515-devel`). Then checkout all of the linked submodules using:
|
|
|
|
|
|
- $ git clone git@192.168.110.45:sbc/visionfive.git
|
|
|
- $ git checkout --track origin/vf2-515-devel
|
|
|
+ $ git clone git@github.com:starfive-tech/VisionFive2.git
|
|
|
+ $ git checkout JH7110_VisionFive2_devel
|
|
|
$ git submodule update --init --recursive
|
|
|
|
|
|
-In case someone run `git clone git@gitlab.starfivetech.com:sbc/visionfive.git`, recommend to add the below at the tail of the /etc/hosts to fix the network domain issue:
|
|
|
-
|
|
|
-```
|
|
|
-192.168.110.45 gitlab.starfivetech.com
|
|
|
-```
|
|
|
-
|
|
|
This will take some time and require around 7GB 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).
|
|
|
|
|
|
-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, or refer to `.gitmodule`
|
|
|
+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`
|
|
|
|
|
|
```
|
|
|
-$ cd buildroot && git checkout --track origin/vf2-devel && cd ..
|
|
|
-$ cd u-boot && git checkout --track origin/vf2-devel && cd ..
|
|
|
-$ cd linux && git checkout --track origin/vf2-515-devel && cd ..
|
|
|
+$ cd buildroot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
|
|
|
+$ cd u-boot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
|
|
|
+$ cd linux && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
|
|
|
$ cd opensbi && git checkout master && cd ..
|
|
|
-$ cd soft_3rdpart && git checkout jh7110-devel && cd ..
|
|
|
+$ cd soft_3rdpart && git checkout JH7110_VisionFive2_devel && cd ..
|
|
|
```
|
|
|
|
|
|
## Quick Build Instructions
|