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>
Subject: [PATCH v3 2/9] conf/machine: add support for rk3328
Date: Thu, 20 Jun 2019 19:19:04 +0800	[thread overview]
Message-ID: <20190620111911.4736-3-ayaka@soulik.info> (raw)
In-Reply-To: <20190620111911.4736-1-ayaka@soulik.info>

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

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

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

diff --git a/conf/machine/evb-rk3328.conf b/conf/machine/evb-rk3328.conf
new file mode 100644
index 0000000..ae2c0f8
--- /dev/null
+++ b/conf/machine/evb-rk3328.conf
@@ -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"
diff --git a/conf/machine/include/rk3328.inc b/conf/machine/include/rk3328.inc
new file mode 100644
index 0000000..de5c9f4
--- /dev/null
+++ b/conf/machine/include/rk3328.inc
@@ -0,0 +1,18 @@
+# Copyright (C) 2017 Randy Li <ayaka@soulik.info>
+# 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"
-- 
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 ` ayaka [this message]
2019-06-20 11:19 ` [PATCH v3 3/9] conf/machine: add support for rv1108 ayaka
2019-06-20 11:19 ` [PATCH v3 4/9] conf/machine: add support for rk3036 ayaka
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-3-ayaka@soulik.info \
    --to=ayaka@soulik.info \
    --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.