From: Sergey 'Jin' Bostandzhyan <[email protected]>

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 <[email protected]>
---
 README                           |  1 +
 conf/machine/tinker-board-s.conf | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 conf/machine/tinker-board-s.conf

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..0f7d80f
--- /dev/null
+++ b/conf/machine/tinker-board-s.conf
@@ -0,0 +1,27 @@
+# Copyright (C) 2018  Trevor Woerner
+# 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} \
+    "
-- 
2.24.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48338): https://lists.yoctoproject.org/g/yocto/message/48338
Mute This Topic: https://lists.yoctoproject.org/mt/71154174/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to