aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey 'Jin' Bostandzhyan <jin@mediatomb.cc>2020-02-11 04:52:24 +0100
committerTrevor Woerner <twoerner@gmail.com>2020-02-11 10:20:58 -0500
commit022877f4387e24a99e1965a89219238e7f85b3e7 (patch)
tree6a94a2dd5f80378e2aa7d7a9734a0cbe1daa5cc1
parent1aea373d8876b2f7faae2704f7bc70465c59dc13 (diff)
downloadmeta-rockchip-022877f4387e24a99e1965a89219238e7f85b3e7.tar.gz
meta-rockchip-022877f4387e24a99e1965a89219238e7f85b3e7.tar.bz2
meta-rockchip-022877f4387e24a99e1965a89219238e7f85b3e7.zip
Add tinker-board-s machine configuration
Asus Tinker Board-S has emmc on mmcblk1, this is also the default configuration when building the image. If you need an image for booting from the sd card set RK_BOOT_DEVICE to mmcblk0 Signed-off-by: Sergey Bostandzhyan <jin@mediatomb.cc>
-rw-r--r--README1
-rw-r--r--conf/machine/tinker-board-s.conf27
2 files changed, 28 insertions, 0 deletions
diff --git a/README b/README
index 983d946..d7a42fe 100644
--- a/README
+++ b/README
@@ -16,6 +16,7 @@ Status of supported boards:
builds and boots gpt image:
rock-pi-4
tinker-board
+ tinker-board-s
vyasa-rk3288
firefly-rk3288
builds:
diff --git a/conf/machine/tinker-board-s.conf b/conf/machine/tinker-board-s.conf
new file mode 100644
index 0000000..a7fe2fc
--- /dev/null
+++ b/conf/machine/tinker-board-s.conf
@@ -0,0 +1,27 @@
+# Copyright (C) 2020 Sergey Bostandzhyan
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: Tinker-S RK3288
+#@DESCRIPTION: ASUS Tinker Board is a Raspberry Pi 3 Alternative based on Rockchip RK3288 Processor.
+
+require conf/machine/include/rk3288.inc
+
+KERNEL_DEVICETREE = "rk3288-tinker-s.dtb"
+UBOOT_MACHINE = "tinker-s-rk3288_defconfig"
+
+RK_BOOT_DEVICE ?= "mmcblk1"
+
+WKS_FILE = "tinker-board.wks"
+IMAGE_FSTYPES += "wic wic.bmap"
+
+WKS_FILE_DEPENDS ?= " \
+ mtools-native \
+ dosfstools-native \
+ virtual/bootloader \
+ virtual/kernel \
+ "
+IMAGE_BOOT_FILES ?= "\
+ ${KERNEL_IMAGETYPE} \
+ ${KERNEL_DEVICETREE} \
+ "