sysutils/u-boot-sifive-fu740 MidnightBSD
- System
- MidnightBSD
- Repository
- mports
- Categories
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
The newest version among them is 2026.10, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | sysutils/u-boot-sifive-fu740 | no data | - | - | - | |
| FreeBSD | sysutils/u-boot-sifive-fu740 | 2026.10 newest | none known | - | [email protected] | 2026-07-09 |
| HardenedBSD | sysutils/u-boot-sifive-fu740 | 2026.07 | no data | - | [email protected] | - |
| GhostBSD | sysutils/u-boot-sifive-fu740 | 2026.07 | no data | - | [email protected] | - |
Install
Binary package:
mport install
From mports:
cd /usr/mports/sysutils/u-boot-sifive-fu740 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= >0:sysutils/u-boot-sifive-fu740
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.