| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | 18-Apr-2025 | - | ||||
| overlay/boot/extlinux/ | 18-Apr-2025 | - | ||||
| patches/ | 18-Apr-2025 | - | ||||
| genimage.cfg | A D | 18-Apr-2025 | 480 | 24 | 19 | |
| genimage_spi-nor.cfg | A D | 18-Apr-2025 | 429 | 37 | 29 | |
| linux_defconfig | A D | 18-Apr-2025 | 5.7 KiB | 235 | 234 | |
| post-image.sh | A D | 18-Apr-2025 | 145 | 5 | 2 | |
| readme.txt | A D | 18-Apr-2025 | 1.4 KiB | 57 | 36 |
readme.txt
1Starfive VisionFive2 2==================== 3 4The VisionFive2 is a low-cost RISC-V 64-bit based platform, powered by a 5Starfive JH7110 processor. 6 7https://doc-en.rvspace.org/Doc_Center/visionfive_2.html 8 9How to build 10============ 11 12$ make visionfive2_defconfig 13$ make 14 15Once the build process is finished you will have two images 16in the output/images/ directory: 17- sdcard.img 18- spi-nor.img 19 20How to write the SPI NOR flash 21============================= 22 23If you have a booting device use u-boot and tftp: 24 25 # tftpboot 0x82000000 spi-nor.img 26 # sf probe 27 # sf update 0x82000000 0x0 {filesize} 28 29Otherwise, follow the recovery instruction: 30 31https://doc-en.rvspace.org/VisionFive2/Quick_Start_Guide/VisionFive2_SDK_QSG/recovering_bootloader%20-%20vf2.html 32 33How to write the SD card 34======================== 35 36Copy the bootable "sdcard.img" onto an SD card with "dd": 37 38 $ sudo dd if=output/images/sdcard.img of=/dev/sdX 39 40Preparing the board 41=================== 42 43Connect a TTL UART cable to pin 6 (GND), 8 (TX) and 10 (RX). 44 45Use the correct mode for booting: 46- SD card RGPIO_0=1, GRPIO_1=0 47- SPI NOR flash RGPIO_0=1, GRPIO_1=1 48 49Note that Buildroot puts the bootloader both in SPI NOR and on the SD card, 50so after flashing as instructed above, either boot mode should work. 51 52https://doc-en.rvspace.org/VisionFive2/Quick_Start_Guide/VisionFive2_SDK_QSG/boot_mode_settings.html 53 54Insert your SD card. 55 56Power-up the board using an USB-C cable. 57