diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-30 02:49:41 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-30 02:49:41 +0200 |
| commit | b576c1d477bf476f277d32ecf60c312e4a97490d (patch) | |
| tree | bd1756e7a0975fdb6b39c3e0237223ec36bd5da5 /docs/visionfive2.md | |
| parent | 7a23d95b6e432170d6575f515616e5936d53c85e (diff) | |
| download | kmi-b576c1d477bf476f277d32ecf60c312e4a97490d.tar.gz kmi-b576c1d477bf476f277d32ecf60c312e4a97490d.zip | |
clarify visionfive2 docs
Diffstat (limited to 'docs/visionfive2.md')
| -rw-r--r-- | docs/visionfive2.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/visionfive2.md b/docs/visionfive2.md index ede887f..250a844 100644 --- a/docs/visionfive2.md +++ b/docs/visionfive2.md @@ -5,12 +5,17 @@ Ideally I would fork StarFive's u-boot fork and add 'native' support for my kernel, but it turns out that their fork is at the time of writing borked and I wasn't able to get anything to boot with it. As such, we'll use their prebuilt -bootloader and boot in a more generic way. +bootloader and boot in a more generic way. I've used the binaries downloadable +from https://github.com/starfive-tech/VisionFive2/releases/tag/VF2_v3.0.4, +although they are a bit old by now and should probably try to update at some +point. The following is how to boot with an SD card. The board seems to support serial and ethernet booting, but I haven't looked into how they work. -1. Build `kmi` with `GENERIC_UBOOT=1`. +1. Build `kmi` with `GENERIC_UBOOT=1`. At the moment, SMP is broken on the + VisionFive2, so you'll need to comment out `smp_bringup(d, fdt);` in + `main.c`. 2. Create three partitions on an SD card of your choice: ``` @@ -21,7 +26,7 @@ sudo sgdisk \ /dev/sdX ``` -3. Prepare partitions with data: +3. Prepare partitions with data from the GitHub release: ``` sudo dd if=u-boot-spl.bin.normal.out of=/dev/sdX1 sudo dd if=visionfive2_fw_payload.img of=/dev/sdX2 |
