notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
u-boot-sifive-fu540 Cross-build das u-boot for model sifive-fu540
2024.07 sysutils on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2024.01_1Version of this port present on the latest quarterly branch.
Maintainer: uboot@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-12-17 18:12:10
Last Update: 2024-09-01 07:36:05
Commit Hash: 894c84e
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: GPLv2
WWW:
https://www.denx.de/wiki/U-Boot
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (6 items)
Collapse this list.
  1. share/u-boot/u-boot-sifive-fu540/u-boot.itb
  2. share/u-boot/u-boot-sifive-fu540/u-boot-spl.bin
  3. share/u-boot/u-boot-sifive-fu540/README
  4. /usr/local/share/licenses/u-boot-sifive-fu540-2024.07/catalog.mk
  5. /usr/local/share/licenses/u-boot-sifive-fu540-2024.07/LICENSE
  6. /usr/local/share/licenses/u-boot-sifive-fu540-2024.07/GPLv2
Collapse this list.
Dependency lines:
  • u-boot-sifive-fu540>0:sysutils/u-boot-sifive-fu540
To install the port:
cd /usr/ports/sysutils/u-boot-sifive-fu540/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/u-boot-sifive-fu540
  • pkg install u-boot-sifive-fu540
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: u-boot-sifive-fu540
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1727176237 SHA256 (u-boot/u-boot-2024.07.tar.bz2) = f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f SIZE (u-boot/u-boot-2024.07.tar.bz2) = 26086110

Packages (timestamps in pop-ups are UTC):
u-boot-sifive-fu540
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2024.072024.072020.102024.072024.07---
FreeBSD:13:quarterly2024.072024.07-2024.072024.072023.102023.102023.10
FreeBSD:14:latest2024.072024.07-2024.072024.072023.01-2023.01
FreeBSD:14:quarterly2024.072024.07-2024.072024.072023.102023.102023.10
FreeBSD:15:latest2024.072024.07n/a2024.07n/a2024.01_12024.01_12024.01_1
Master port: sysutils/u-boot-master
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. fw_dynamic.bin : sysutils/opensbi
  2. gsed : textproc/gsed
  3. swig : devel/swig
  4. dtc>=1.4.1 : sysutils/dtc
  5. mkimage : sysutils/u-boot-tools
  6. py311-setuptools-pkg>=0 : devel/py-setuptools-pkg@py311
  7. riscv64-none-elf-gcc : devel/riscv64-none-elf-gcc
  8. e2fsprogs-libuuid>=0 : misc/e2fsprogs-libuuid
  9. gnutls>=0 : security/gnutls
  10. bison : devel/bison
  11. gmake>=4.4.1 : devel/gmake
  12. python3.11 : lang/python311
  13. pkgconf>=1.3.0_1 : devel/pkgconf
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_u-boot-sifive-fu540
USES:
bison compiler:c11 gmake python:build pkgconfig shebangfix ssl tar:bz2
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. ftp://ftp.denx.de/pub/u-boot/
  2. https://ftp.denx.de/pub/u-boot/
Collapse this list.

Number of commits found: 17

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
This is a slave port. You may also want to view the commits to the master port: sysutils/u-boot-master
CommitCreditsLog message
2024.04
01 Sep 2024 07:36:05
commit hash: 894c84eab41eec03feda98c03a31684d17a9713bcommit hash: 894c84eab41eec03feda98c03a31684d17a9713bcommit hash: 894c84eab41eec03feda98c03a31684d17a9713bcommit hash: 894c84eab41eec03feda98c03a31684d17a9713b files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
sysutils/u-boot-*: Clean up unnecessary U_BOOT_SLAVE_PORTREVISION_*
2024.01_1
15 Jan 2024 17:33:30
commit hash: 3d68246d28be42fd4c86a277ec44013a60fda71ecommit hash: 3d68246d28be42fd4c86a277ec44013a60fda71ecommit hash: 3d68246d28be42fd4c86a277ec44013a60fda71ecommit hash: 3d68246d28be42fd4c86a277ec44013a60fda71e files touched by this commit
Mitchell Horne (mhorne) search for other commits by this committer
sysutils/opensbi: update to v1.4

Release notes/info:
https://github.com/riscv-software-src/opensbi/releases/tag/v1.4

Bump dependent u-boot ports.

Sponsored by:	The FreeBSD Foundation
2023.01_1
03 Aug 2023 16:05:13
commit hash: 652b56fe24733b9882bd496cb925c05bb40882f0commit hash: 652b56fe24733b9882bd496cb925c05bb40882f0commit hash: 652b56fe24733b9882bd496cb925c05bb40882f0commit hash: 652b56fe24733b9882bd496cb925c05bb40882f0 files touched by this commit
Mitchell Horne (mhorne) search for other commits by this committer
sysutils/opensbi: update to v1.3.1

Add a patch to work around an assembler error with clang 16.0. This will
be submitted upstream.

As usual, bump revision of dependent u-boot ports.

Reviewed by:	jrtc27, lwhsu (previous version)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D40915
2022.10_1
03 Jan 2023 15:33:47
commit hash: b594a4b70c0719165896b87fdd0350bc100a9878commit hash: b594a4b70c0719165896b87fdd0350bc100a9878commit hash: b594a4b70c0719165896b87fdd0350bc100a9878commit hash: b594a4b70c0719165896b87fdd0350bc100a9878 files touched by this commit
Mitchell Horne (mhorne) search for other commits by this committer
sysutils/opensbi: update to version 1.2

With this version, stop providing the library and header files
altogether. I do not think they are useful at this time.

Bump associate u-boot port revisions.

Reviewed by:	lwhsu
Approved by:	lwhsu (ports)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37934
2022.10
23 Oct 2022 06:38:20
commit hash: c5fd305e76d323ebb370ae6784c5e69c01c37e3acommit hash: c5fd305e76d323ebb370ae6784c5e69c01c37e3acommit hash: c5fd305e76d323ebb370ae6784c5e69c01c37e3acommit hash: c5fd305e76d323ebb370ae6784c5e69c01c37e3a files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
sysutils/u-boot-sifive-*: Remove unneeded U_BOOT_SLAVE_PORTREVISION_*
2022.04_2
10 Sep 2022 17:41:16
commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Author: Tobias Kortkamp
Fix WWW in parent/child ports

Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
 a) just using the pkg-descr from the parents
 b) or had their own separate pkg-descr with custom WWW

Use WWW?= in parents when the child's WWW is different.

Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.

Approved by:	portmgr (implicit)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022.04_2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2022.04_2
28 Jun 2022 20:15:40
commit hash: 8a0d40f973dbc5961cbb8a44123c8c2317031d33commit hash: 8a0d40f973dbc5961cbb8a44123c8c2317031d33commit hash: 8a0d40f973dbc5961cbb8a44123c8c2317031d33commit hash: 8a0d40f973dbc5961cbb8a44123c8c2317031d33 files touched by this commit
Mitchell Horne (mhorne) search for other commits by this committer
sysutils/opensbi: update to version 1.1

Bump the PORTREVISION of dependent u-boot ports.

Reviewed by:	lwhsu
Approved by:	lwhsu (ports)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D35616
2022.04
03 May 2022 08:10:43
commit hash: ecad553edaec865109f79d42e711e1c93b44e3a1commit hash: ecad553edaec865109f79d42e711e1c93b44e3a1commit hash: ecad553edaec865109f79d42e711e1c93b44e3a1commit hash: ecad553edaec865109f79d42e711e1c93b44e3a1 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot: Update to 2022.04
2021.07_1
19 Jan 2022 21:15:34
commit hash: b0216f3b4482137d573f9d6f7789504d302fc47bcommit hash: b0216f3b4482137d573f9d6f7789504d302fc47bcommit hash: b0216f3b4482137d573f9d6f7789504d302fc47bcommit hash: b0216f3b4482137d573f9d6f7789504d302fc47b files touched by this commit
Mitchell Horne (mhorne) search for other commits by this committer
sysutils/opensbi: update to version v1.0

As the fu540 platform has been removed with this version, fall back to
building the generic platform only. Keep the platform logic around in
the Makefile in case we need it in the future.

Switch to building with base system clang+binutils.

Bump the PORTREVISION for sysutils/u-boot-sifive-fu540.

Reviewed by:	jrtc27, lwhsu (previous version both)
Approved by:	lwhsu (ports)
Tested by:	Klaus Küchemann <maciphone2@googlemail.com>
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33845
2021.07
07 Jul 2021 16:18:40
commit hash: 1dec3639fd0cdb9cb2054d5e92d5e2f4dbf32360commit hash: 1dec3639fd0cdb9cb2054d5e92d5e2f4dbf32360commit hash: 1dec3639fd0cdb9cb2054d5e92d5e2f4dbf32360commit hash: 1dec3639fd0cdb9cb2054d5e92d5e2f4dbf32360 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot: Update to 2021.07
2021.04
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021.04
07 Apr 2021 07:57:52
commit hash: a361eabce3cfe911380ecc45d270512abada86aacommit hash: a361eabce3cfe911380ecc45d270512abada86aacommit hash: a361eabce3cfe911380ecc45d270512abada86aacommit hash: a361eabce3cfe911380ecc45d270512abada86aa files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
sysutils/u-boot-*: Update to 2021.04
2020.10_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2020.10_1
04 Feb 2021 15:27:39
Revision:564036Original commit files touched by this commit
mhorne search for other commits by this committer
sysutils/opensbi: update to v0.9

This change adds a patch to disable the PMP for the sifive/fu540 target,
which is a workaround to a PMP errata in the chip. The OpenSBI update
itself is quite minor.

Bump the dependent port, sysutils/u-boot-sifive-fu540.

Reviewed by:	lwhsu, kp
Approved by:	lwhsu (ports)
Tested by:	Klaus Kuchemann (maciphone2@googlemail.com)
Differential Revision:	https://reviews.freebsd.org/D28471
2020.10
17 Dec 2020 18:12:02
Revision:558309Original commit files touched by this commit
mhorne search for other commits by this committer
Add sysutils/u-boot-sifive-fu540: u-boot for the HiFive Unleashed

Tested by:	Klaus Kuchemann <maciphone2@googlemail.com>
Reviewed by:	manu, Klaus Kuchemann
Approved by:	manu (uboot, ports)
Differential Revision:	https://reviews.freebsd.org/D25737

Number of commits found: 17