From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0CE16E00DFF; Thu, 20 Jun 2019 04:19:23 -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 6F8CDE00B18 for ; Thu, 20 Jun 2019 04:19:21 -0700 (PDT) Received: from misaki.sumomo.pri (unknown [IPv6:2001:470:b30d:2:c604:15ff:0:56c]) by kozue.soulik.info (Postfix) with ESMTPA id 0C85D100B70; Thu, 20 Jun 2019 20:20:50 +0900 (JST) From: ayaka To: yocto@yoctoproject.org Date: Thu, 20 Jun 2019 19:19:03 +0800 Message-Id: <20190620111911.4736-2-ayaka@soulik.info> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190620111911.4736-1-ayaka@soulik.info> References: <20190620111911.4736-1-ayaka@soulik.info> MIME-Version: 1.0 Cc: Randy 'ayaka' Li Subject: [PATCH v3 1/9] conf/machine: add support for rk3399 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: Thu, 20 Jun 2019 11:19:23 -0000 Content-Transfer-Encoding: 8bit From: Randy 'ayaka' Li RK3399 is a new generation powerful SoC from Rockchip, which has Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU. Signed-off-by: Randy 'ayaka' Li --- 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 diff --git a/conf/machine/excavator-rk3399.conf b/conf/machine/excavator-rk3399.conf new file mode 100644 index 0000000..8506a50 --- /dev/null +++ b/conf/machine/excavator-rk3399.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: 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" diff --git a/conf/machine/firefly-rk3399.conf b/conf/machine/firefly-rk3399.conf new file mode 100644 index 0000000..4e35c3d --- /dev/null +++ b/conf/machine/firefly-rk3399.conf @@ -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" diff --git a/conf/machine/include/rk3399.inc b/conf/machine/include/rk3399.inc new file mode 100644 index 0000000..9237616 --- /dev/null +++ b/conf/machine/include/rk3399.inc @@ -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" -- 2.21.0