You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cd linux && git branch vf2-6.12.y-devel origin/vf2-6.12.y-devel && cd ..
36
-
37
-
In case someone run `git clone [email protected]:sbc/visionfive.git`, recommend to add the below at the tail of the /etc/hosts to fix the network domain issue:
38
-
39
-
```
40
-
192.168.110.45 gitlab.starfivetech.com
41
-
```
42
-
35
+
$ cd linux && git branch JH7110_VisionFive2_6.12.y_devel origin/JH7110_VisionFive2_6.12.y_devel && cd ..
43
36
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).
44
37
45
-
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`
38
+
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`
46
39
47
40
```
48
-
$ cd buildroot && git checkout --track origin/jh7110-master && cd ..
49
-
$ cd u-boot && git checkout --track origin/jh7110-master && cd ..
50
-
$ cd linux && git checkout --track origin/vf2-6.12.y-devel && cd ..
51
-
$ cd opensbi && git checkout master && cd ..
52
-
$ cd soft_3rdpart && git checkout jh7110-devel && cd ..
41
+
$ cd buildroot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
42
+
$ cd u-boot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
43
+
$ cd linux && git checkout --track origin/JH7110_VisionFive2_6.12.y_devel && cd ..
44
+
$ cd opensbi && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
45
+
$ cd soft_3rdpart && git checkout JH7110_VisionFive2_devel && cd ..
53
46
```
54
47
55
48
## Quick Build Instructions
@@ -69,9 +62,9 @@ work/
69
62
├── linux/arch/riscv/boot
70
63
├── dts
71
64
│ └── starfive
65
+
│ ├── jh7110-starfive-visionfive-2-A10.dtb
66
+
│ ├── jh7110-starfive-visionfive-2-A11.dtb
72
67
│ ├── jh7110-starfive-visionfive-2-ac108.dtb
73
-
│ ├── jh7110-starfive-visionfive-2-tdm.dtb
74
-
│ ├── jh7110-starfive-visionfive-2-v1.2a.dtb
75
68
│ ├── jh7110-starfive-visionfive-2-v1.3b.dtb
76
69
│ ├── jh7110-starfive-visionfive-2-wm8960.dtb
77
70
│ ├── vf2-overlay
@@ -364,46 +357,7 @@ swapoff -a
364
357
swapon /dev/mmcblk0p5
365
358
```
366
359
367
-
## APPENDIX II: Build RT-Thread AMP Image
368
-
369
-
The sdk also support building RT-Thread AMP Image which will run both rt-thread os and linux os on JH7110 quad cpu core. For the details about the starfive rtthread amp usage, please reference to the [Starfive RVspace](https://doc.rvspace.org/VisionFive2/Application_Notes/RT-Thread/).
Or just run script to implement the download rtthread and toolchain, and generate rtthread amp sdcard image:
398
-
399
-
```
400
-
$ build-rtthread-amp-sdk.sh
401
-
```
402
-
403
-
The output file `work/sdcard_amp.img` will be generated. How to write the sdcard img file to sdcard, please reference to the [APPENDIX I: Generate Booting SD Card](#Copy Image File to SD Card).
404
-
405
-
## APPENDIX III: Using DTB Overlay Dynamically
406
-
360
+
## APPENDIX II: Using DTB Overlay Dynamically
407
361
The system support loading dtb overlay dynamically when the board is running. Run below on board:
408
362
409
363
```
@@ -419,7 +373,7 @@ Additional, you could remove the dtbo feature:
## APPENDIX IV: Updating SPL and U-Boot binaries Under U-boot
376
+
## APPENDIX III: Updating SPL and U-Boot binaries Under U-boot
423
377
424
378
Prepare the tftp sever. e.g. `sudo apt install tftpd-hpa` for Ubuntu host.
425
379
@@ -453,7 +407,7 @@ Prepare the tftp sever. e.g. `sudo apt install tftpd-hpa` for Ubuntu host.
453
407
StarFive # sf update ${loadaddr} 0x100000 $filesize
454
408
```
455
409
456
-
## APPENDIX V: Recovering Bootloader
410
+
## APPENDIX IV: Recovering Bootloader
457
411
458
412
The SPL and U-Boot are stored inside the SPI flash on board. There may be situations where you accidentally emptied the flash or if the flash is damaged on your board. In these situations, it's better to recover the bootloader.
0 commit comments