summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/u-boot-tinker/DESCR5
-rw-r--r--sysutils/u-boot-tinker/Makefile11
-rw-r--r--sysutils/u-boot-tinker/PLIST2
3 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/u-boot-tinker/DESCR b/sysutils/u-boot-tinker/DESCR
new file mode 100644
index 00000000000..b78dc60a384
--- /dev/null
+++ b/sysutils/u-boot-tinker/DESCR
@@ -0,0 +1,5 @@
+U-Boot is a bootloader for embedded boards based on PowerPC, ARM, MIPS and
+several other processors, which can be installed in a boot ROM and used to
+initialize and test the hardware or to download and run application code.
+
+This package provides U-Boot for the ASUS Tinker Board (S).
diff --git a/sysutils/u-boot-tinker/Makefile b/sysutils/u-boot-tinker/Makefile
new file mode 100644
index 00000000000..174529c526e
--- /dev/null
+++ b/sysutils/u-boot-tinker/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2019/09/07 18:27:46 tnn Exp $
+
+UBOOT_TARGET= tinker
+UBOOT_CONFIG= tinker-rk3288_defconfig
+UBOOT_BIN= u-boot-tinker-sd.bin
+
+post-build:
+ cd ${WRKSRC} && ./tools/mkimage -n rk3288 -T rksd -d ./spl/u-boot-spl-dtb.bin u-boot-tinker-sd.bin
+ cd ${WRKSRC} && cat ./u-boot-dtb.bin >> u-boot-tinker-sd.bin
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
diff --git a/sysutils/u-boot-tinker/PLIST b/sysutils/u-boot-tinker/PLIST
new file mode 100644
index 00000000000..97ea7211592
--- /dev/null
+++ b/sysutils/u-boot-tinker/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/09/07 18:27:46 tnn Exp $
+share/u-boot/tinker/u-boot-tinker-sd.bin