BSD Ports

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

SystemPortVersion
FreeBSDsysutils/u-boot-starfive-visionfive22026.10
MidnightBSDsysutils/u-boot-starfive-visionfive2
HardenedBSDsysutils/u-boot-starfive-visionfive22026.07
GhostBSDsysutils/u-boot-starfive-visionfive22026.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2026.072026.07-2025.04_12026.07
FreeBSD:14:quarterly2026.072026.07n/a2025.042026.07
FreeBSD:15:latest2026.072026.07n/a2025.04_12025.04_1
FreeBSD:15:quarterly2026.072026.07n/an/an/a
FreeBSD:16:latest2026.072026.07n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Files

No file lists for this port.

Commit history 1

DateCommitCreditsLog message
9f022e1fca Mitchell Horne sysutils/opensbi: update to v1.9
Bump dependent u-boot ports. Sponsored by: The FreeBSD Foundation