From 022877f4387e24a99e1965a89219238e7f85b3e7 Mon Sep 17 00:00:00 2001 From: Sergey 'Jin' Bostandzhyan Date: Tue, 11 Feb 2020 04:52:24 +0100 Subject: [PATCH] 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 --- 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..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} \ + "