sysutils/u-boot-starfive-visionfive2 2026.10 FreeBSD
Cross-build das u-boot for model starfive-visionfive2
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9f022e1fca- License
- GPLv2
- Categories
- sysutils
- Package size
- 639.7 KiB, 1758.8 KiB installed
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 |
|---|---|---|
| FreeBSD | sysutils/u-boot-starfive-visionfive2 | 2026.10 |
| MidnightBSD | sysutils/u-boot-starfive-visionfive2 | |
| HardenedBSD | sysutils/u-boot-starfive-visionfive2 | 2026.07 |
| GhostBSD | sysutils/u-boot-starfive-visionfive2 | 2026.07 |
Install
Binary package:
pkg install u-boot-starfive-visionfive2
From the ports tree:
cd /usr/ports/sysutils/u-boot-starfive-visionfive2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= u-boot-starfive-visionfive2>0:sysutils/u-boot-starfive-visionfive2
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2026.07 | 2026.07 | - | 2025.04_1 | 2026.07 |
| FreeBSD:14:quarterly | 2026.07 | 2026.07 | n/a | 2025.04 | 2026.07 |
| FreeBSD:15:latest | 2026.07 | 2026.07 | n/a | 2025.04_1 | 2025.04_1 |
| FreeBSD:15:quarterly | 2026.07 | 2026.07 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2026.07 | 2026.07 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${LOCALBASE}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin: sysutils/opensbi
The full lists below include those, and their dependencies in turn.
Build dependencies 40
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/bison
- devel/gettext-runtime
- devel/gmake
- devel/libffi
- devel/libtextstyle
- devel/libunistring
- devel/m4
- devel/pcre2
- devel/pkgconf
- devel/py-setuptools
- devel/py-setuptools-pkg
- devel/readline
- devel/riscv64-none-elf-gcc
- devel/swig
- dns/libidn2
- lang/perl5.42
- lang/python312
- lang/python315
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- misc/libuuid
- print/indexinfo
- security/gnutls
- security/libtasn1
- security/nettle
- security/p11-kit
- shells/bash
- sysutils/coreutils
- sysutils/dtc
- sysutils/opensbi
- sysutils/u-boot-tools
- textproc/expat2
- textproc/gsed
- textproc/libyaml
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Files
No file lists for this port.