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
sysutils/opensbi: update to v1.8.1
In this update, drop the PMP workaround patch for FU540. This will be
fixed in the src tree.
As usual, bump dependent u-boot ports.
Tested by: Klaus Küchemann <maciphone2@googlemail.com>
Reviewed by: lwhsu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54421
sysutils/opensbi: update to v1.6
Remove the port platform OPTIONS in favor of the 'generic' platform
only. This has been the only one we've shipped with for a few versions
now.
This cleans up the Makefile, but more to the point, there is some kind
of build regression with the new version that doing the make and install
in a single step seems to fix.
Bump dependent u-boot ports.
Sponsored by: The FreeBSD Foundation
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
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
sysutils/u-boot-sifive-fu740: Add upstream DTS patch for DA9063 RTC support
This allows the DA9063 RTC driver to probe and attach (and exposes other
MFD children too, but we don't have drivers for them). It also includes
a couple of miscellaneous improvements synced from the Linux DTS,
fixing the compatible string for the on-board QSPI flash and adding the
card detect GPIO for the QSPI SD card.
Reviewed by: manu
Approved by: manu (uboot, ports)
Differential Revision: https://reviews.freebsd.org/D36556
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)
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)
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 )
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
sysutils/u-boot-sifive-fu740: add new port
This adds a u-boot variant for the HiFive Unmatched board.
Reviewed by: manu
Approved by: manu (ports, uboot)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35171