git: 7fb860ab8aa0 - main - sysutils/u-boot-starfive-visionfive2: fix description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Feb 2024 16:15:47 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7fb860ab8aa0f3ac3688d44fdc4364c8358f3413
commit 7fb860ab8aa0f3ac3688d44fdc4364c8358f3413
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-02-01 16:09:13 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-02-01 16:09:13 +0000
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/Makefile | 2 ++
sysutils/u-boot-starfive-visionfive2/pkg-descr | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sysutils/u-boot-starfive-visionfive2/Makefile b/sysutils/u-boot-starfive-visionfive2/Makefile
index 101a17f18a02..73ce621a2a2b 100644
--- a/sysutils/u-boot-starfive-visionfive2/Makefile
+++ b/sysutils/u-boot-starfive-visionfive2/Makefile
@@ -1,5 +1,7 @@
MASTERDIR= ${.CURDIR}/../u-boot-master
+U_BOOT_SLAVE_PORTREVISION_2024.01= 1
+
MODEL= starfive-visionfive2
BOARD_CONFIG= starfive_visionfive2_defconfig
FAMILY= starfive
diff --git a/sysutils/u-boot-starfive-visionfive2/pkg-descr b/sysutils/u-boot-starfive-visionfive2/pkg-descr
index a3fc9635157c..a8ff1c374ff2 100644
--- a/sysutils/u-boot-starfive-visionfive2/pkg-descr
+++ b/sysutils/u-boot-starfive-visionfive2/pkg-descr
@@ -5,8 +5,8 @@ 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
+# 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 \