From patchwork Thu Dec 28 17:21:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antony Antony X-Patchwork-Id: 853496 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Si5XOnf+"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="O0Axlmoh"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z6xST5q6gz9s7M for ; Fri, 29 Dec 2017 04:25:29 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jyd/4h58se6smQTnGGgMnQESoB9E443RQFIGAbNBQZ4=; b=Si5XOnf+uP8fhB kfreeuQ1+m+l4v+YwDdDJuVshdyMUuL1JhXNOleAAfJ1A3fHhvhjkhmT9sdnPgzJWMgeTLuGnp4WL vILhVvTwCVoPYVBV83Qgsea8KdRVSXdAel1ZnhbgRhUYnFiNvxZsTKcUbd1SIzQlCVjdVyPHInoUv tvNMHXe6HiT7vVc8hC/Fska326m+Ob4+g5qoqBmfsz7+7EUXhL4xD/yDe231DuKUXdUxsUz8QgzS8 SlJN39sLrkriufAah1/USJ/SsbLfwO86CfyjBqWANZ1TwqSJxCvGBntY5DbHJIANsMIzRUf3AdnZV P/BXnMxPQamlJi6PFaxQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eUbvZ-0004Lv-F7; Thu, 28 Dec 2017 17:25:09 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eUbvB-0004LM-Ij for lede-dev@bombadil.infradead.org; Thu, 28 Dec 2017 17:24:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JzU6ALRa5iquu89OVZ9HukoFAX+EY9E+edFktrW6s8g=; b=O0AxlmohyWPfnFiuzYFBPUxgZ 74GOmndYXtkDYfN2Al3MvbP2uaXWCzikFoEQYOlGxGIkXrBT6ZP2UGy9WO6uwdNEjWORQuA6OrRfZ CL8Ni0gYGoEkr65Bk8e51+KPW058hB+jCR1/1wdiruNurBBLxcA+L9Mzfi87kr9uQpuPQrYpibQMl li7mkv4pFMqxAB5ijmLR+ToUAweSf4t1BM6Cso23yFPfVSgxAPX7R3Wfhm4WeUueCQ/zPLFHKwdQT sv0YnspbX9HkFwMXP9UUDzNWcrDNP3FeiPiuqQYeGE855Ep2WKwVFSz+PbWzGWDBqROYwF1u+215P 5K9mHL1ow==; Received: from lb2-smtp-cloud8.xs4all.net ([194.109.24.25]) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eUbv6-0004rq-K8 for lede-dev@lists.infradead.org; Thu, 28 Dec 2017 17:24:42 +0000 Received: from localhost.localdomain ([83.163.117.153]) by smtp-cloud8.xs4all.net with ESMTPA id Ubs2eg69ng5cRUbs4erA0J; Thu, 28 Dec 2017 18:21:32 +0100 From: Antony Antony To: Hauke Mehrtens , "LEDE dev" Date: Thu, 28 Dec 2017 18:21:15 +0100 Message-Id: <20171228172118.92917-2-antony@phenome.org> X-Mailer: git-send-email 2.11.0 (Apple Git-81) In-Reply-To: <20171228172118.92917-1-antony@phenome.org> References: <20171228172118.92917-1-antony@phenome.org> X-CMAE-Envelope: MS4wfN25I6CJAA/gtXafRLC7kDB0W76m2uq9xqNva1/lqNib+w1aRnPo4VSuQ9EzvWnzHgTKc9OF4AlpZCBXUIFX8jbgl/gmUx4S9h8CfMb1DKgdppzwKt52 ghe8MDeXNA5bbs9cHstWH9OIBGuKdgiSj3HjLdhP+7tvbQCVjua46OvNSzAerhZHlJ6mhj/9/742wSjA2l6hRYHE+nnlUOHIQpu83wjG66xzi6a4Jx8CtqrT RLpxqvSrMu+vbcERutndKw== X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [194.109.24.25 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [194.109.24.25 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Subject: [LEDE-DEV] [PATCH hauke/kernel-4.14-sunxi 1/4] sunxi: add support for NanoPi NEO Plus2 board X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Antony Antony MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org arm64: allwinner: h5: NanoPi NEO Plus2 DT support Add initial DT for NanoPi NEO Plus2 by FriendlyARM - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU - 1 GB DDR3 RAM - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) - micro SD card slot - Gigabit Ethernet (external RTL8211E-VB-CG chip) - 802.11 b/g/n WiFi, Bluetooth 4.0 (Ampak AP6212A module) - 2x USB 2.0 host ports & 2x USB via headers Signed-off-by: Antony Antony --- package/boot/uboot-sunxi/Makefile | 9 +++++++++ target/linux/sunxi/image/cortex-a53.mk | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index 056300e..9ec8e24 100644 --- a/package/boot/uboot-sunxi/Makefile +++ b/package/boot/uboot-sunxi/Makefile @@ -168,6 +168,14 @@ define U-Boot/pangolin UENV:=pangolin endef +define U-Boot/nanopi_neo_plus2 + BUILD_SUBTARGET:=cortexa53 + NAME:=NanoPi NEO Plus2 (H5) + BUILD_DEVICES:=sun50i-h5-nanopi-neo-plus2 + DEPENDS:=+PACKAGE_u-boot-nanopi-neo-plus2:arm-trusted-firmware-sunxi + UENV:=a64 +endef + define U-Boot/pine64_plus BUILD_SUBTARGET:=cortexa53 NAME:=Pine64 Plus A64 @@ -197,6 +205,7 @@ UBOOT_TARGETS := \ Lamobo_R1 \ nanopi_m1_plus \ nanopi_neo \ + nanopi_neo_plus2 \ orangepi_r1 \ orangepi_plus \ orangepi_2 \ diff --git a/target/linux/sunxi/image/cortex-a53.mk b/target/linux/sunxi/image/cortex-a53.mk index bbb253f..eb31aa8 100644 --- a/target/linux/sunxi/image/cortex-a53.mk +++ b/target/linux/sunxi/image/cortex-a53.mk @@ -7,6 +7,16 @@ # ifeq ($(SUBTARGET),cortexa53) +define Device/sun50i-h5-nanopi-neo-plus2 + DEVICE_TITLE:=Nanopi NEO Plus2 (H5) + SUPPORTED_DEVICES:=nanopi-neo-plus2 + SUNXI_DTS:=allwinner/sun50i-h5-nanopi-neo-plus2 + KERNEL_NAME := Image + KERNEL := kernel-bin +endef + +TARGET_DEVICES += sun50i-h5-nanopi-neo-plus2 + define Device/sun50i-a64-pine64-plus DEVICE_TITLE:=Pine64 Plus A64 SUPPORTED_DEVICES:=pine64,pine64-plus