Hi Jonathan,

The diff below build nanopi-r4s-rk3399 target.
dmesg: http://ix.io/3v1E

Index: sysutils/u-boot/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/u-boot/Makefile,v
retrieving revision 1.84
diff -u -p -u -p -r1.84 Makefile
--- sysutils/u-boot/Makefile    7 Jul 2021 11:58:37 -0000       1.84
+++ sysutils/u-boot/Makefile    5 Aug 2021 01:41:14 -0000
@@ -8,6 +8,7 @@ FLAVOR?=        arm
 
 COMMENT=       U-Boot firmware
 VERSION=       2021.07
+REVISION=      0
 DISTNAME=      u-boot-${VERSION}
 PKGNAME=       u-boot-${FLAVOR}-${VERSION:S/-//}
 FULLPKGNAME=   ${PKGNAME}
@@ -76,6 +77,7 @@ BOARDS=\
        mvebu_espressobin-88f3720 \
        mvebu_mcbin-88f8040 \
        nanopi-neo4-rk3399 \
+       nanopi-r4s-rk3399 \
        pinebook-pro-rk3399 \
        qemu_arm64 \
        rock64-rk3328 \
Index: sysutils/u-boot/patches/patch-configs_nanopi-r4s-rk3399_defconfig
===================================================================
RCS file: sysutils/u-boot/patches/patch-configs_nanopi-r4s-rk3399_defconfig
diff -N sysutils/u-boot/patches/patch-configs_nanopi-r4s-rk3399_defconfig
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/u-boot/patches/patch-configs_nanopi-r4s-rk3399_defconfig   5 Aug 
2021 01:41:14 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: configs/nanopi-r4s-rk3399_defconfig
+--- configs/nanopi-r4s-rk3399_defconfig.orig
++++ configs/nanopi-r4s-rk3399_defconfig
+@@ -39,7 +39,7 @@ CONFIG_REGULATOR_PWM=y
+ CONFIG_REGULATOR_RK8XX=y
+ CONFIG_PWM_ROCKCHIP=y
+ CONFIG_RAM_RK3399_LPDDR4=y
+-CONFIG_BAUDRATE=1500000
++CONFIG_BAUDRATE=115200
+ CONFIG_DEBUG_UART_SHIFT=2
+ CONFIG_SYSRESET=y
+ CONFIG_USB=y
Index: sysutils/u-boot/pkg/PFRAG.aarch64
===================================================================
RCS file: /cvs/ports/sysutils/u-boot/pkg/PFRAG.aarch64,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 PFRAG.aarch64
--- sysutils/u-boot/pkg/PFRAG.aarch64   16 Apr 2021 06:40:44 -0000      1.23
+++ sysutils/u-boot/pkg/PFRAG.aarch64   5 Aug 2021 01:41:14 -0000
@@ -33,6 +33,14 @@ share/u-boot/nanopi-neo4-rk3399/u-boot-r
 share/u-boot/nanopi-neo4-rk3399/u-boot.bin
 share/u-boot/nanopi-neo4-rk3399/u-boot.img
 share/u-boot/nanopi-neo4-rk3399/u-boot.itb
+share/u-boot/nanopi-r4s-rk3399/
+share/u-boot/nanopi-r4s-rk3399/idbloader.img
+share/u-boot/nanopi-r4s-rk3399/u-boot
+share/u-boot/nanopi-r4s-rk3399/u-boot-rockchip.bin
+share/u-boot/nanopi-r4s-rk3399/u-boot-spl.bin
+share/u-boot/nanopi-r4s-rk3399/u-boot.bin
+share/u-boot/nanopi-r4s-rk3399/u-boot.img
+share/u-boot/nanopi-r4s-rk3399/u-boot.itb
 share/u-boot/nanopi_a64/
 share/u-boot/nanopi_a64/sunxi-spl.bin
 share/u-boot/nanopi_a64/u-boot

Reply via email to