U-Boot loader and related files for the StarFive VisionFive v2 (JH7110).
The SD card must be formatted with a GPT partition scheme, and expects two
specific GUID partition types for the SPL and FIT image.
Assuming an SD card device in /dev/da2, execute:
# gpart create -s gpt da2
# gpart add -l spl -t \!2E54B353-1271-4842-806F-E436D6AF6985 -b 2m -s 2m da2
# gpart add -l uboot -t \!BC13C2FF-59E6-4262-A352-B275FD6F7172 -b 4m -s 4m da2
Now, copy the u-boot files to the SD card with dd(1).
dd if=/usr/local/share/u-boot/u-boot-starfive-visionfive2/u-boot-spl.bin.normal.out \
of=/dev/da2p1 conv=sync
dd if=/usr/local/share/u-boot/u-boot-starfive-visionfive2/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/u-boot-starfive-visionfive2: fix description
Some interactive shells (csh, zsh) will try to interpret the '!' at the
beginning of the partition type as a previous command. Unconditionally
escape this in the example commands, as it can be a source of confusion.
PR: 276765
Reported by: rdunkle@smallcatbrain.com
Sponsored by: The FreeBSD Foundation
sysutils/u-boot-starfive-visionfive2: new port
Create a u-boot port for the VisionFive 2 RISC-V SBC.
Reviewed by: manu
Approved by: manu (ports)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D43517