aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/rock-pi-4.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/rock-pi-4.conf')
-rw-r--r--conf/machine/rock-pi-4.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/conf/machine/rock-pi-4.conf b/conf/machine/rock-pi-4.conf
new file mode 100644
index 0000000..4cbfc3f
--- /dev/null
+++ b/conf/machine/rock-pi-4.conf
@@ -0,0 +1,28 @@
+# Copyright (C) 2020 Garmin Ltd. or its subsidaries
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: Rock Pi 4 RK3288
+#@DESCRIPTION: Rock Pi 4 is a Raspberry Pi 4 Alternative based on Rockchip RK3399 Processor.
+
+require conf/machine/include/rk3399.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3399-rock-pi-4.dtb"
+UBOOT_MACHINE = "rock-pi-4-rk3399_defconfig"
+
+WKS_FILE ?= "rock-pi-4.wks"
+IMAGE_FSTYPES += "wic wic.bmap"
+
+WKS_FILE_DEPENDS ?= " \
+ mtools-native \
+ dosfstools-native \
+ virtual/bootloader \
+ virtual/kernel \
+ "
+IMAGE_BOOT_FILES ?= "\
+ ${KERNEL_IMAGETYPE} \
+ "
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+
+MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"