Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B97B1E00D13; Tue, 23 Apr 2019 06:25:34 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from kozue.soulik.info (kozue.soulik.info [108.61.200.231]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 095BCE00A62 for ; Tue, 23 Apr 2019 06:25:31 -0700 (PDT) Received: from misaki.sumomo.pri (unknown [IPv6:2001:470:b30d:2:c604:15ff:0:d51]) by kozue.soulik.info (Postfix) with ESMTPA id 5F680101FC6; Tue, 23 Apr 2019 22:25:45 +0900 (JST) From: Randy 'ayaka' Li To: yocto@yoctoproject.org Date: Tue, 23 Apr 2019 21:25:06 +0800 Message-Id: <20190423132514.21996-3-ayaka@soulik.info> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190423132514.21996-1-ayaka@soulik.info> References: <20190423132514.21996-1-ayaka@soulik.info> MIME-Version: 1.0 Cc: Randy 'ayaka' Li , romain.perier@gmail.com Subject: [PATCH v2 02/10] conf/machine: add support for rk3328 X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2019 13:25:34 -0000 Content-Transfer-Encoding: 8bit The RK3328 is a SoC with Quad-core Cortex-A53 for Smart OTT/IPTV. Signed-off-by: Randy 'ayaka' Li --- 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 +# 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.20.1