Skip to contentSkip to conversation

add new SoCs support

PATCH New ayaka 1 participant 10 messages Jun 20, 2019

lore
Share & tools
lore

ayaka

author
#0 lore raw

v3 cover add new SoCs support

Changelog
v2 Removing the settings applied for vendor kernel v2 Adding some SoCs which are supported by the upstream kernel v3 Adding new chip RK1808

Randy 'ayaka' Li (8):
conf/machine: add support for rk3399
conf/machine: add support for rk3328
conf/machine: add support for rv1108
conf/machine: add support for rk3036
conf/machine: add support for rk312x
conf/machine: add support for rk3326
conf/machine: add support for rk3368
conf/machine: add support for rk3308

Randy Li (1):
conf/machine: add support for rk1808

 conf/machine/evb-rk3328.conf       | 11 +++++++++++
 conf/machine/evb-rv1108.conf       | 10 ++++++++++
 conf/machine/excavator-rk3399.conf | 12 ++++++++++++
 conf/machine/firefly-rk3399.conf   | 14 ++++++++++++++
 conf/machine/include/rk1808.inc    | 17 +++++++++++++++++
 conf/machine/include/rk3036.inc    | 16 ++++++++++++++++
 conf/machine/include/rk312x.inc    | 17 +++++++++++++++++
 conf/machine/include/rk3308.inc    | 17 +++++++++++++++++
 conf/machine/include/rk3326.inc    | 18 ++++++++++++++++++
 conf/machine/include/rk3328.inc    | 18 ++++++++++++++++++
 conf/machine/include/rk3368.inc    | 17 +++++++++++++++++
 conf/machine/include/rk3399.inc    | 17 +++++++++++++++++
 conf/machine/include/rv1108.inc    | 16 ++++++++++++++++
 conf/machine/kylin-rk3036.conf     | 12 ++++++++++++
 14 files changed, 212 insertions(+)
 create mode 100644 conf/machine/evb-rk3328.conf
 create mode 100644 conf/machine/evb-rv1108.conf
 create mode 100644 conf/machine/excavator-rk3399.conf
 create mode 100644 conf/machine/firefly-rk3399.conf
 create mode 100644 conf/machine/include/rk1808.inc
 create mode 100644 conf/machine/include/rk3036.inc
 create mode 100644 conf/machine/include/rk312x.inc
 create mode 100644 conf/machine/include/rk3308.inc
 create mode 100644 conf/machine/include/rk3326.inc
 create mode 100644 conf/machine/include/rk3328.inc
 create mode 100644 conf/machine/include/rk3368.inc
 create mode 100644 conf/machine/include/rk3399.inc
 create mode 100644 conf/machine/include/rv1108.inc
 create mode 100644 conf/machine/kylin-rk3036.conf
Signature · 1 line
2.21.0
author
#1 lore raw

PATCH v3 1/9 conf/machine: add support for rk3399

From: Randy 'ayaka' Li <[email protected]>

RK3399 is a new generation powerful SoC from Rockchip, which has Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU.

---
 conf/machine/excavator-rk3399.conf | 12 ++++++++++++
 conf/machine/firefly-rk3399.conf   | 14 ++++++++++++++
 conf/machine/include/rk3399.inc    | 17 +++++++++++++++++
 3 files changed, 43 insertions(+)
 create mode 100644 conf/machine/excavator-rk3399.conf
 create mode 100644 conf/machine/firefly-rk3399.conf
 create mode 100644 conf/machine/include/rk3399.inc
conf/machine/excavator-rk3399.conf new file +12 -0
new file mode 100644
index 0000000..8506a50
@@ -0,0 +1,12 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: EXCAVATOR 3399
+
+include conf/machine/include/rk3399.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3399-sapphire-excavator.dtb"
+UBOOT_MACHINE = "evb-rk3399_defconfig"
+
+GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
conf/machine/firefly-rk3399.conf new file +14 -0
new file mode 100644
index 0000000..4e35c3d
@@ -0,0 +1,14 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: Firefly RK3399
+#@DESCRIPTION: Firefly-RK3399 is a Six-Core 64-bit High-Performance Platform.
+#http://www.t-firefly.com/en/
+
+include conf/machine/include/rk3399.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3399-firefly.dtb"
+UBOOT_MACHINE = "evb-rk3399_defconfig"
+
+GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
conf/machine/include/rk3399.inc new file +17 -0
new file mode 100644
index 0000000..9237616
@@ -0,0 +1,17 @@
+# Copyright (C) 2019 SUMOMO Computer Association
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk3399"
+
+require conf/machine/include/tune-cortexa72.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
Signature · 1 line
2.21.0
author
#2 lore raw

PATCH v3 2/9 conf/machine: add support for rk3328

In reply to ayaka

From: Randy 'ayaka' Li <[email protected]>

The RK3328 is a SoC with Quad-core Cortex-A53 for Smart OTT/IPTV.

---
 conf/machine/evb-rk3328.conf    | 11 +++++++++++
 conf/machine/include/rk3328.inc | 18 ++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 conf/machine/evb-rk3328.conf
 create mode 100644 conf/machine/include/rk3328.inc
conf/machine/evb-rk3328.conf new file +11 -0
new file mode 100644
index 0000000..ae2c0f8
@@ -0,0 +1,11 @@
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: EVB 3388
+
+include conf/machine/include/rk3328.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3328-evb.dtb"
+UBOOT_MACHINE = "evb-rk3328_defconfig"
+
+GPTIMG_APPEND = "console=ttyS2,1500000n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init"
conf/machine/include/rk3328.inc new file +18 -0
new file mode 100644
index 0000000..de5c9f4
@@ -0,0 +1,18 @@
+# Copyright (C) 2017 Randy Li <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+# RK3228H is the same SoC as rk3328.
+SOC_FAMILY = "rk3328"
+
+require conf/machine/include/tune-cortexa53.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
Signature · 1 line
2.21.0
author
#3 lore raw

PATCH v3 3/9 conf/machine: add support for rv1108

In reply to ayaka

From: Randy 'ayaka' Li <[email protected]>

RV1108 is a SoC specific for video enhanced and recording. It is embedded with a DSP for digital process and an ARM Cortex-A7 single core processor for system and application.

---
 conf/machine/evb-rv1108.conf    | 10 ++++++++++
 conf/machine/include/rv1108.inc | 16 ++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 conf/machine/evb-rv1108.conf
 create mode 100644 conf/machine/include/rv1108.inc
conf/machine/evb-rv1108.conf new file +10 -0
new file mode 100644
index 0000000..3e85d80
@@ -0,0 +1,10 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: EVB rv1108
+
+include conf/machine/include/rv1108.inc
+
+KERNEL_DEVICETREE = "rv1108-evb.dtb"
+UBOOT_MACHINE = "evb-rk3288_defconfig"
conf/machine/include/rv1108.inc new file +16 -0
new file mode 100644
index 0000000..c1bb584
@@ -0,0 +1,16 @@
+# Copyright (C) 2019 Randy 'ayaka' Li <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rv1108"
+
+require conf/machine/include/tune-cortexa7.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;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"
Signature · 1 line
2.21.0
author
#4 lore raw

PATCH v3 4/9 conf/machine: add support for rk3036

In reply to ayaka

From: Randy 'ayaka' Li <[email protected]>

RK3036 is a SoC from Rockchip which has Dual-Core
ARM Cortex-A7 CPU, for low-end OTT TV Box.

Supporting video acceleration for the HEVC and AVC up to 1080P video. With a HDMI sink.

---
 conf/machine/include/rk3036.inc | 16 ++++++++++++++++
 conf/machine/kylin-rk3036.conf  | 12 ++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 conf/machine/include/rk3036.inc
 create mode 100644 conf/machine/kylin-rk3036.conf
conf/machine/include/rk3036.inc new file +16 -0
new file mode 100644
index 0000000..196f5a3
@@ -0,0 +1,16 @@
+# Copyright (C) 2018 Randy 'ayaka' Li <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk3036"
+
+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"
conf/machine/kylin-rk3036.conf new file +12 -0
new file mode 100644
index 0000000..e47a3be
@@ -0,0 +1,12 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+#@TYPE: Machine
+#@NAME: Kylin rk3036
+
+include conf/machine/include/rk3036.inc
+
+KERNEL_DEVICETREE = "rk3036-kylin.dtb"
+UBOOT_MACHINE = "kylin-rk3036_defconfig"
+
+GPTIMG_APPEND = "console=ttyS2,115200n8 rw root=PARTUUID=69DAD710-2CE4 rootfstype=ext4 init=/sbin/init"
Signature · 1 line
2.21.0
author
#5 lore raw

PATCH v3 5/9 conf/machine: add support for rk312x

In reply to ayaka

From: Randy 'ayaka' Li <[email protected]>

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.

---
 conf/machine/include/rk312x.inc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 conf/machine/include/rk312x.inc
conf/machine/include/rk312x.inc new file +17 -0
new file mode 100644
index 0000000..675c699
@@ -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"
Signature · 1 line
2.21.0
author
#6 lore raw

PATCH v3 6/9 conf/machine: add support for rk3326

In reply to ayaka

From: Randy 'ayaka' Li <[email protected]>

RK3326 is a high-performance quad-core application processor, it supports both H.264 and H.265 decoding up to 1920x1080@30fps.

---
 conf/machine/include/rk3326.inc | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 conf/machine/include/rk3326.inc
conf/machine/include/rk3326.inc new file +18 -0
new file mode 100644
index 0000000..1208b65
@@ -0,0 +1,18 @@
+# Copyright (C) 2019 SUMOMO Computer Association
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+# PX30 is the same SoC as rk3326.
+SOC_FAMILY = "rk3326"
+
+require conf/machine/include/tune-cortexa35.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
Signature · 1 line
2.21.0
author
#7 lore raw

PATCH v3 7/9 conf/machine: add support for rk3368

In reply to ayaka

From: Randy 'ayaka' Li <[email protected]>

RK3368 is integrated with a qual-core Cortex-A53 processor and separately NEON coprocessor.

RK3368 supports H.264 decoder up to 4Kx2K@30fps, H.265 decoder by 4Kx2K@60fps.

---
 conf/machine/include/rk3368.inc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 conf/machine/include/rk3368.inc
conf/machine/include/rk3368.inc new file +17 -0
new file mode 100644
index 0000000..1738f74
@@ -0,0 +1,17 @@
+# Copyright (C) 2019 SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk3368"
+
+require conf/machine/include/tune-cortexa53.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
Signature · 1 line
2.21.0
author
#8 lore raw

PATCH v3 8/9 conf/machine: add support for rk3308

In reply to ayaka

From: Randy 'ayaka' Li <[email protected]>

RK3308 is a high-performance quad-core application processor designed for intelligent voice interaction.

---
 conf/machine/include/rk3308.inc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 conf/machine/include/rk3308.inc
conf/machine/include/rk3308.inc new file +17 -0
new file mode 100644
index 0000000..81e4def
@@ -0,0 +1,17 @@
+# Copyright (C) SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk3308"
+
+require conf/machine/include/tune-cortexa35.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
Signature · 1 line
2.21.0
author
#9 lore raw

PATCH v3 9/9 conf/machine: add support for rk1808

In reply to ayaka

From: Randy Li <[email protected]>

RK1808 is an ARM processor with a neural network process unit, which can acceleration the inference of deep learning.

---
 conf/machine/include/rk1808.inc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 conf/machine/include/rk1808.inc
conf/machine/include/rk1808.inc new file +17 -0
new file mode 100644
index 0000000..6edd67c
@@ -0,0 +1,17 @@
+# Copyright (C) SUMOMO Computer Assocation
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SOC_FAMILY = "rk1808"
+
+require conf/machine/include/tune-cortexa35.inc
+require conf/machine/include/soc-family.inc
+require conf/machine/include/rockchip-defaults.inc
+
+SERIAL_CONSOLES = "1500000;ttyS2"
+KERNEL_IMAGETYPE = "Image"
+KBUILD_DEFCONFIG = "defconfig"
+
+PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip"
+
+IMAGE_FSTYPES = "rockchip-gpt-img"
+IMAGE_CLASSES = "rockchip-gpt-img"
Signature · 1 line
2.21.0