git: 16fe63bc08d8 - main - sysutils/u-boot-radxa-zero3: Add new port

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Thu, 24 Apr 2025 08:10:35 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16fe63bc08d80cb27fcbc072fe10a30de12444f4

commit 16fe63bc08d80cb27fcbc072fe10a30de12444f4
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2025-04-24 07:56:44 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2025-04-24 08:09:24 +0000

    sysutils/u-boot-radxa-zero3: Add new port
    
    Add a new u-boot port for the RK3566 based radxa zero3e, zero3 board.
    
    PR:     286290
---
 sysutils/Makefile                     | 1 +
 sysutils/u-boot-radxa-zero3/Makefile  | 7 +++++++
 sysutils/u-boot-radxa-zero3/pkg-descr | 6 ++++++
 3 files changed, 14 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 560d9b8fb2ec..6ba2f69edbdb 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1449,6 +1449,7 @@
     SUBDIR += u-boot-quartz64-a
     SUBDIR += u-boot-quartz64-b
     SUBDIR += u-boot-riotboard
+    SUBDIR += u-boot-radxa-zero3
     SUBDIR += u-boot-rock-pi-4
     SUBDIR += u-boot-rock64
     SUBDIR += u-boot-rockpro64
diff --git a/sysutils/u-boot-radxa-zero3/Makefile b/sysutils/u-boot-radxa-zero3/Makefile
new file mode 100644
index 000000000000..11181e89bd9f
--- /dev/null
+++ b/sysutils/u-boot-radxa-zero3/Makefile
@@ -0,0 +1,7 @@
+MASTERDIR=	${.CURDIR}/../u-boot-master
+
+MODEL=		radxa-zero3
+BOARD_CONFIG=	radxa-zero-3-rk3566_defconfig
+FAMILY=		rk356X
+
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/u-boot-radxa-zero3/pkg-descr b/sysutils/u-boot-radxa-zero3/pkg-descr
new file mode 100644
index 000000000000..b757fd864b0f
--- /dev/null
+++ b/sysutils/u-boot-radxa-zero3/pkg-descr
@@ -0,0 +1,6 @@
+U-Boot loader and related files for the radxa zero3e, zero3w
+
+To install this bootloader on an sdcard just do:
+
+dd if=/usr/local/share/u-boot/u-boot-radxa-zero3/idbloader.img of=/path/to/sdcarddevice seek=64 conv=sync
+dd if=/usr/local/share/u-boot/u-boot-radxa-zero3/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync