git: 92d17fc29a8d - main - sysutils: Add u-boot for Pine64 Quartz-A and -B board

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Thu, 26 Sep 2024 07:17:15 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=92d17fc29a8de44442e7d996bb4220fd00cf3a85

commit 92d17fc29a8de44442e7d996bb4220fd00cf3a85
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-09-24 11:14:38 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-09-26 07:15:33 +0000

    sysutils: Add u-boot for Pine64 Quartz-A and -B board
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sysutils/Makefile                    | 2 ++
 sysutils/u-boot-quartz64-a/Makefile  | 7 +++++++
 sysutils/u-boot-quartz64-a/pkg-descr | 6 ++++++
 sysutils/u-boot-quartz64-b/Makefile  | 7 +++++++
 sysutils/u-boot-quartz64-b/pkg-descr | 6 ++++++
 5 files changed, 28 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 0f2236a64df5..eb4de93be275 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1552,6 +1552,8 @@
     SUBDIR += u-boot-qemu-arm
     SUBDIR += u-boot-qemu-arm64
     SUBDIR += u-boot-qemu-riscv64
+    SUBDIR += u-boot-quartz64-a
+    SUBDIR += u-boot-quartz64-b
     SUBDIR += u-boot-riotboard
     SUBDIR += u-boot-rock-pi-4
     SUBDIR += u-boot-rock64
diff --git a/sysutils/u-boot-quartz64-a/Makefile b/sysutils/u-boot-quartz64-a/Makefile
new file mode 100644
index 000000000000..208616aaf473
--- /dev/null
+++ b/sysutils/u-boot-quartz64-a/Makefile
@@ -0,0 +1,7 @@
+MASTERDIR=	${.CURDIR}/../u-boot-master
+
+MODEL=		quartz64-a
+BOARD_CONFIG=	quartz64-a-rk3566_defconfig
+FAMILY=		rk356X
+
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/u-boot-quartz64-a/pkg-descr b/sysutils/u-boot-quartz64-a/pkg-descr
new file mode 100644
index 000000000000..fcea82040ddc
--- /dev/null
+++ b/sysutils/u-boot-quartz64-a/pkg-descr
@@ -0,0 +1,6 @@
+U-Boot loader and related files for the Pine64 Quartz-A
+
+To install this bootloader on an sdcard just do:
+
+dd if=/usr/local/share/u-boot/u-boot-quartz-a/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync
+dd if=/usr/local/share/u-boot/u-boot-quartz-a/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync
diff --git a/sysutils/u-boot-quartz64-b/Makefile b/sysutils/u-boot-quartz64-b/Makefile
new file mode 100644
index 000000000000..68b3b5b20213
--- /dev/null
+++ b/sysutils/u-boot-quartz64-b/Makefile
@@ -0,0 +1,7 @@
+MASTERDIR=	${.CURDIR}/../u-boot-master
+
+MODEL=		quartz64-b
+BOARD_CONFIG=	quartz64-b-rk3566_defconfig
+FAMILY=		rk356X
+
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/u-boot-quartz64-b/pkg-descr b/sysutils/u-boot-quartz64-b/pkg-descr
new file mode 100644
index 000000000000..08b55a95f4f3
--- /dev/null
+++ b/sysutils/u-boot-quartz64-b/pkg-descr
@@ -0,0 +1,6 @@
+U-Boot loader and related files for the Pine64 Quartz-B
+
+To install this bootloader on an sdcard just do:
+
+dd if=/usr/local/share/u-boot/u-boot-quartz-b/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync
+dd if=/usr/local/share/u-boot/u-boot-quartz-b/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync