Port details |
- u-boot-sifive-fu540 Cross-build das u-boot for model sifive-fu540
- 2024.07 sysutils =2 2024.01_1Version of this port present on the latest quarterly branch.
- Maintainer: uboot@FreeBSD.org
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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):
- Master port: sysutils/u-boot-master
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- fw_dynamic.bin : sysutils/opensbi
- gsed : textproc/gsed
- swig : devel/swig
- dtc>=1.4.1 : sysutils/dtc
- mkimage : sysutils/u-boot-tools
- py311-setuptools-pkg>=0 : devel/py-setuptools-pkg@py311
- riscv64-none-elf-gcc : devel/riscv64-none-elf-gcc
- e2fsprogs-libuuid>=0 : misc/e2fsprogs-libuuid
- gnutls>=0 : security/gnutls
- bison : devel/bison
- gmake>=4.4.1 : devel/gmake
- python3.11 : lang/python311
- 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:
|
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 |
Commit | Credits | Log message |
2024.04 01 Sep 2024 07:36:05 |
Li-Wen Hsu (lwhsu) |
sysutils/u-boot-*: Clean up unnecessary U_BOOT_SLAVE_PORTREVISION_* |
2024.01_1 15 Jan 2024 17:33:30 |
Mitchell Horne (mhorne) |
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 |
Mitchell Horne (mhorne) |
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 |
Mitchell Horne (mhorne) |
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 |
Li-Wen Hsu (lwhsu) |
sysutils/u-boot-sifive-*: Remove unneeded U_BOOT_SLAVE_PORTREVISION_* |
2022.04_2 10 Sep 2022 17:41:16 |
Stefan Eßer (se) 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 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
2022.04_2 28 Jun 2022 20:15:40 |
Mitchell Horne (mhorne) |
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 |
Emmanuel Vadot (manu) |
sysutils/u-boot: Update to 2022.04 |
2021.07_1 19 Jan 2022 21:15:34 |
Mitchell Horne (mhorne) |
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 |
Emmanuel Vadot (manu) |
sysutils/u-boot: Update to 2021.07 |
2021.04 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2021.04 07 Apr 2021 07:57:52 |
Emmanuel Vadot (manu) |
sysutils/u-boot-*: Update to 2021.04 |
2020.10_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2020.10_1 04 Feb 2021 15:27:39 |
mhorne |
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 |
mhorne |
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 |