Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2023 16:57:53 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6929dd2f2de6 - main - sysutils/u-boot-nanopi-r2s: Add new port
Message-ID:  <202312091657.3B9GvruT015139@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6929dd2f2de6cd531c9ecd00b1853cf008a567e4

commit 6929dd2f2de6cd531c9ecd00b1853cf008a567e4
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-12-09 16:56:47 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-12-09 16:57:45 +0000

    sysutils/u-boot-nanopi-r2s: Add new port
    
    U-boot port for the Nanopi R2S, a small RK3328 board.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sysutils/Makefile                    | 1 +
 sysutils/u-boot-nanopi-r2s/Makefile  | 9 +++++++++
 sysutils/u-boot-nanopi-r2s/pkg-descr | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 66ad9955f864..80b4aed6f3df 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1501,6 +1501,7 @@
     SUBDIR += u-boot-nanopi-neo
     SUBDIR += u-boot-nanopi-neo-air
     SUBDIR += u-boot-nanopi-neo2
+    SUBDIR += u-boot-nanopi-r2s
     SUBDIR += u-boot-nanopi-r4s
     SUBDIR += u-boot-olimex-a20-som-evb
     SUBDIR += u-boot-olinuxino-lime
diff --git a/sysutils/u-boot-nanopi-r2s/Makefile b/sysutils/u-boot-nanopi-r2s/Makefile
new file mode 100644
index 000000000000..e5d009b914f6
--- /dev/null
+++ b/sysutils/u-boot-nanopi-r2s/Makefile
@@ -0,0 +1,9 @@
+MASTERDIR=	${.CURDIR}/../u-boot-master
+
+MODEL=		nanopi-r2s
+BOARD_CONFIG=	nanopi-r2s-rk3328_defconfig
+FAMILY=		rk3328
+
+UBOOT_EXTRA_TARGETS=	u-boot.itb
+
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/u-boot-nanopi-r2s/pkg-descr b/sysutils/u-boot-nanopi-r2s/pkg-descr
new file mode 100644
index 000000000000..a70d0aad6293
--- /dev/null
+++ b/sysutils/u-boot-nanopi-r2s/pkg-descr
@@ -0,0 +1,5 @@
+U-Boot loader and related files for the Nanopi R2S.
+
+To install this bootloader on an sdcard just do:
+dd if=/usr/local/share/u-boot/u-boot-nanopi-r2s/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync
+dd if=/usr/local/share/u-boot/u-boot-nanopi-r2s/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312091657.3B9GvruT015139>