All of lore.kernel.org
 help / color / mirror / Atom feed
From: ayaka <ayaka@soulik.info>
To: yocto@yoctoproject.org
Cc: Randy 'ayaka' Li <ayaka@soulik.info>, Randy Li <randy.li@rock-chips.com>
Subject: [PATCH v3 4/9] conf/machine: add support for rk3036
Date: Thu, 20 Jun 2019 19:19:06 +0800	[thread overview]
Message-ID: <20190620111911.4736-5-ayaka@soulik.info> (raw)
In-Reply-To: <20190620111911.4736-1-ayaka@soulik.info>

From: Randy 'ayaka' Li <ayaka@soulik.info>

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.

Signed-off-by: Randy 'ayaka' Li <ayaka@soulik.info>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
---
 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

diff --git a/conf/machine/include/rk3036.inc b/conf/machine/include/rk3036.inc
new file mode 100644
index 0000000..196f5a3
--- /dev/null
+++ b/conf/machine/include/rk3036.inc
@@ -0,0 +1,16 @@
+# Copyright (C) 2018 Randy 'ayaka' Li <ayaka@soulik.info>
+# 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"
diff --git a/conf/machine/kylin-rk3036.conf b/conf/machine/kylin-rk3036.conf
new file mode 100644
index 0000000..e47a3be
--- /dev/null
+++ b/conf/machine/kylin-rk3036.conf
@@ -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"
-- 
2.21.0



  parent reply	other threads:[~2019-06-20 11:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-20 11:19 [meta-rockchip] [PATCH v3 0/9] add new SoCs support ayaka
2019-06-20 11:19 ` [PATCH v3 1/9] conf/machine: add support for rk3399 ayaka
2019-06-20 11:19 ` [PATCH v3 2/9] conf/machine: add support for rk3328 ayaka
2019-06-20 11:19 ` [PATCH v3 3/9] conf/machine: add support for rv1108 ayaka
2019-06-20 11:19 ` ayaka [this message]
2019-06-20 11:19 ` [PATCH v3 5/9] conf/machine: add support for rk312x ayaka
2019-06-20 11:19 ` [PATCH v3 6/9] conf/machine: add support for rk3326 ayaka
2019-06-20 11:19 ` [PATCH v3 7/9] conf/machine: add support for rk3368 ayaka
2019-06-20 11:19 ` [PATCH v3 8/9] conf/machine: add support for rk3308 ayaka
2019-06-20 11:19 ` [PATCH v3 9/9] conf/machine: add support for rk1808 ayaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190620111911.4736-5-ayaka@soulik.info \
    --to=ayaka@soulik.info \
    --cc=randy.li@rock-chips.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.