sysutils/u-boot-starfive-visionfive2 MidnightBSD
- System
- MidnightBSD
- Repository
- mports
- Categories
Description
U-Boot loader and related files for the StarFive VisionFive v2 (JH7110).
The SD card must be formatted with a GPT partition scheme, and expects two specific GUID partition types for the SPL and FIT image.
Assuming an SD card device in /dev/da2, execute: # gpart create -s gpt da2 # gpart add -l spl -t \!2E54B353-1271-4842-806F-E436D6AF6985 -b 2m -s 2m da2 # gpart add -l uboot -t \!BC13C2FF-59E6-4262-A352-B275FD6F7172 -b 4m -s 4m da2
Now, copy the u-boot files to the SD card with dd(1). dd if=/usr/local/share/u-boot/u-boot-starfive-visionfive2/u-boot-spl.bin.normal.out \ of=/dev/da2p1 conv=sync dd if=/usr/local/share/u-boot/u-boot-starfive-visionfive2/u-boot.itb \ of=/dev/da2p2 conv=sync
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | sysutils/u-boot-starfive-visionfive2 | |
| FreeBSD | sysutils/u-boot-starfive-visionfive2 | 2026.10 |
| HardenedBSD | sysutils/u-boot-starfive-visionfive2 | 2026.07 |
| GhostBSD | sysutils/u-boot-starfive-visionfive2 | 2026.07 |
Install
Binary package:
mport install
From mports:
cd /usr/mports/sysutils/u-boot-starfive-visionfive2 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= >0:sysutils/u-boot-starfive-visionfive2
Dependencies
As this port's Makefile names them.
Build 1
${LOCALBASE}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin: sysutils/opensbi
No port depends on this one.