diff --git a/404.html b/404.html index 8289a18..d87ed1d 100644 --- a/404.html +++ b/404.html @@ -13,7 +13,7 @@ - + @@ -108,6 +108,8 @@
rv64gc
rv64imafdcbx
mkdocs.yml # The configuration file.\ndocs/\n index.md # The documentation homepage.\n ... # Other markdown pages, images and other files.\n
The VisionFive 2 SBC is the second generation of SBC in the VisionFive SBC lineup. This lineup of SBCs contains SoCs with the CPUs that use the RISC-V open computing ISA.
This Wiki contains the necessary information a user needs to know before using Rocky Linux on the VisionFive 2 SBC.
At the time of writing this Wiki, the software support is still being upstreamed by the hardware vendor. More details about their upstreaming efforts and the merge status of each component can be viewed at rvspace.org.
Following are the necessary arch/board specific software repositories. These are here for curious tinkerers and Rocky Linux maintainers. Suffice to say, as a normal user, you are not expected to touch/compile any of these items
TBD
u-boot (package name: TBD)
linux (package name: TBD)
third party software tools/drivers (package name: TBD)
To install Rocky Linux on the VisionFive 2 SBC, there is one pre-requisite that needs to be satisfied. That is to update the board firmware to v2.11.5.
Editor's note: StarFive (the hardware vendor) is almost done sending in mainlining patches for u-boot and we should be able to switch to upstream u-boot soon. Our u-boot package for the VisionFive 2 should automatically update the board firmware to whatever version we support. But the following section is present nonetheless, for the users who have an outdated firmware than what we (Rocky Linux) have a minimum spec bar for.
visionfive2_fw_payload.img
sudo dd if=sdcard.img conv=sync status=progress bs=1M of=/dev/sdX
mkdir temp-dir
sudo mount /dev/sdX4 temp-dir
sudo cp u-boot-spl.bin.normal.out visionfive2_fw_payload.img temp-dir/root/
sudo sync; sudo sync; sudo sync; sudo sync;
sudo umount temp-dir
Eject the SD card from your computer, insert it in your VisionFive 2 and power it up. The green LED should start blinking to indicate successful board power-up.
Plug the network cable in the Ethernet port that is next to the HDMI port. (The other port has DHCP-related issues with early firmware.)
ssh root@<IP_ADDRESS> (passwd: starfive)
ssh root@<IP_ADDRESS>
starfive
Run the command cat /proc/mtd and you should have the following output:
cat /proc/mtd
dev: size erasesize name\nmtd0: 00020000 00001000 \"spl\"\nmtd1: 00300000 00001000 \"uboot\"\nmtd2: 00100000 00001000 \"data\"\n
If and only if the partition information given above matches with yours, update the spl and uboot partitions using the following commands:
spl
uboot
flashcp -v u-boot-spl.bin.normal.out /dev/mtd0\nflashcp -v visionfive2_fw_payload.img /dev/mtd1\n
The board firmware has now been updated!
A Rocky Linux image