BSD Ports

sysutils/u-boot-sifive-fu540 2024.07 DragonFly

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

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
sysutils
Package size
313.0 KiB, 727.4 KiB installed

Description

U-Boot loader and related files for the HiFive Unleashed (FU540).

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 it with the sysutils/gdisk port or package.

Assuming an SD card device in /dev/da2, execute: sgdisk --clear --set-alignment=2 \ --new=1:34:2081 --change-name=1:loader1 --typecode=1:5B193300-FC78-40CD-8002-E86C45580B47 \ --new=2:2082:10273 --change-name=2:loader2 --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-fu540/u-boot-spl.bin of=/dev/da2p1 conv=sync dd if=/usr/local/share/u-boot/u-boot-sifive-fu540/u-boot.itb of=/dev/da2p2 conv=sync

WWW: https://www.denx.de/wiki/U-Boot

In the other systems

The newest version among them is 2026.10, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlysysutils/u-boot-sifive-fu5402024.07none known-[email protected]-
FreeBSDsysutils/u-boot-sifive-fu5402026.10 newestnone known-[email protected]2026-07-09
MidnightBSDsysutils/u-boot-sifive-fu540no data---
HardenedBSDsysutils/u-boot-sifive-fu5402026.07no data-[email protected]-
GhostBSDsysutils/u-boot-sifive-fu5402026.07no data-[email protected]-

Install

Binary package:

pkg install u-boot-sifive-fu540

From DPorts:

cd /usr/dports/sysutils/u-boot-sifive-fu540 && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.