summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Filla <freebsd@sysctl.cz>2025-04-24 09:56:44 +0200
committerEmmanuel Vadot <manu@FreeBSD.org>2025-04-24 10:09:24 +0200
commit16fe63bc08d80cb27fcbc072fe10a30de12444f4 (patch)
tree764ebe2715135dec909e94ddcdc1875df8b423f0
parentregression: bump packages known to trigger the pkg 2.1.1 regression (diff)
sysutils/u-boot-radxa-zero3: Add new port
Add a new u-boot port for the RK3566 based radxa zero3e, zero3 board. PR: 286290
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/u-boot-radxa-zero3/Makefile7
-rw-r--r--sysutils/u-boot-radxa-zero3/pkg-descr6
3 files changed, 14 insertions, 0 deletions
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