summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2019-09-07 18:27:46 +0000
committertnn <tnn@pkgsrc.org>2019-09-07 18:27:46 +0000
commitbef2e721e68a17fe1f1cf03de914ea78d5069e06 (patch)
tree35e9f249237c366f458b8716594e32bdd5b07459
parent98df790a186fb1f90614c90c2568f52059573354 (diff)
downloadpkgsrc-bef2e721e68a17fe1f1cf03de914ea78d5069e06.tar.gz
sysutils/u-boot-tinker: U-Boot for ASUS Tinker Board
-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