[yocto] [PATCH v2 05/10] conf/machine: add support for rk312x

Randy 'ayaka' Li ayaka at soulik.info
Tue Apr 23 06:25:09 PDT 2019


RK312X are a serial called RK audio. All of them sharing
the simliar hardware configure. A quad-core ARM Cortex-A7
processor with separately Neon and FPU coprocessor, they
also share a 256KB L2 Cache.

All chips in this serial have a Mali 400 MP2 GPU.

Signed-off-by: Randy 'ayaka' Li <ayaka at soulik.info>
---
 conf/machine/include/rk312x.inc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 conf/machine/include/rk312x.inc

diff --git a/conf/machine/include/rk312x.inc b/conf/machine/include/rk312x.inc
new file mode 100644
index 0000000..675c699
--- /dev/null
+++ b/conf/machine/include/rk312x.inc
@@ -0,0 +1,17 @@
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+# a serial of chips
+SOC_FAMILY = "rk312x"
+
+require conf/machine/include/tune-cortexa7.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "115200;ttyS2"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+SPL_BINARY ?= "u-boot-spl-nodtb.bin"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
-- 
2.20.1



More information about the yocto mailing list