BSD Ports

sysutils/u-boot-sifive-fu740 2026.10 FreeBSD

Cross-build das u-boot for model sifive-fu740

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9f022e1fca
License
GPLv2
Categories
sysutils
Package size
482.3 KiB, 1085.0 KiB installed

Description

U-Boot loader and related files for the HiFive Unmatched (FU740).

The SD card must be formatted with a GPT partition scheme, and expects two specific GUID partition types for the SPL and FIT image.

Note: due to limitations in gpart(8), sgdisk(8) should be used instead. Install the sysutils/gdisk port or package.

Assuming an SD card device in /dev/da2, execute: sgdisk -g --clear --set-alignment=1 \ --new=1:34:2081 --change-name=1:spl --typecode=1:5B193300-FC78-40CD-8002-E86C45580B47 \ --new=2:2082:10273 --change-name=2:uboot --typecode=2:2E54B353-1271-4842-806F-E436D6AF6985 \ /dev/da2

Now, copy the u-boot files to the SD card with dd(1). dd if=/usr/local/share/u-boot/u-boot-sifive-fu740/u-boot-spl.bin of=/dev/da2p1 conv=sync dd if=/usr/local/share/u-boot/u-boot-sifive-fu740/u-boot.itb of=/dev/da2p2 conv=sync

In the other systems

SystemPortVersion
FreeBSDsysutils/u-boot-sifive-fu7402026.10
MidnightBSDsysutils/u-boot-sifive-fu740
HardenedBSDsysutils/u-boot-sifive-fu7402026.07
GhostBSDsysutils/u-boot-sifive-fu7402026.07

Install

Binary package:

pkg install u-boot-sifive-fu740

From the ports tree:

cd /usr/ports/sysutils/u-boot-sifive-fu740/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	u-boot-sifive-fu740>0:sysutils/u-boot-sifive-fu740

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