- Introduction
Tutorial for installing openKylin on VisionFive2
- Preparations
A TF card larger than 32G
A TF card reader
OS Image of openKylin VisionFive2
OS image download link:
There are other mirror sites at the bottom of the page, from which you can also download
- Install the system
Run the following command, Unzip the image archive to obtain the image file
unxz openKylin-1.0-visionfive2-riscv64.img.xz
Format the TF card with Disk Utility and burn the image to the TF card
You can use a burning tool such as BalenaEtcher directly, or you can execute a command
sudo dd if=</path/to/image.img> of=/dev/mmcblk0 bs=1M status=progress
Replace </path/to/image.img> with the path to the image file
- Allocate TF card space
Run the following command to allocate the remaining space of the TF card to the root partition:
sudo apt install cloud-utils
sudo growpart /dev/sdb4
sudo resize2fs /dev/sdb4
Note: you need to confirm what your TF card device number is first, do not copy the command directly
- Boot for the first time
Insert the burned TF card into the card slot, replace it with SDIO boot mode, and power on
For more information about the boot mode switching, see
You can use a plastic rod or pin or the like to operate, no force is required, and you can just pull it gently
- Notes
Do not change or add APT repositories at will
Don’t sudo apt upgrade
- Reference
openKylin RISC-V安装指南:https://gitee.com/openkylin/docs/blob/master/社区开发指南/riscv上安装openKylin.md
VisionFive2启动模式:启动模式设置
My English level is not very good, if there are grammatical errors in the article, please point it out, I will try to correct it