From patchwork Mon Oct 23 20:33:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Herpai X-Patchwork-Id: 829631 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="RDIV17bk"; 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 3yLSmM0fhsz9sRV for ; Tue, 24 Oct 2017 07:33:55 +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:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HiDRfY+flscoAegYQn7kGkA9/G2Vkjcu8mc9IHvXCYk=; b=RDIV17bkDM4kb9 QX3WHe3F4XTelwj7UOB9lP2sa2NMVRITf7V5GqQRXCNJm+KBL2KWFJK8REAWrmXJQ23w/uzWwDKNu 9CLqYXEJuLM9NWccjyAxqejQYn20Ojsvz5F55Xvd1nCz1+Bqjw/NMKFM+LbXYHYb+76vkeSPRYGKy g3RkkkBLwmro8vm+EU04eMCgJPQhAWzfVyaipliGdI6aoo/0SRroB3o8I+fXBts/O7p26pI0q+Hhk MZ9f1LyBGqHh8YrxLjvpi/zjfz1xBwVctuG9ap2QXx4q9GIG+0on91e6obYNUwAdAy9YJH4YjUdK5 WPmU7KGhNFAJ/Vi167cA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e6jPi-0002eS-Ll; Mon, 23 Oct 2017 20:33:34 +0000 Received: from wigyori-1-pt.tunnel.tserv1.bud1.ipv6.he.net ([2001:470:1f1a:93::2] helo=trabant.uid0.hu) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e6jPf-000222-7K for lede-dev@lists.infradead.org; Mon, 23 Oct 2017 20:33:33 +0000 Received: from wigyori by trabant.uid0.hu with local (Exim 4.84_2 #1 (Debian)) id 1e6jPF-0007LW-0K from ; Mon, 23 Oct 2017 22:33:05 +0200 From: Zoltan HERPAI To: lede-dev@lists.infradead.org Date: Mon, 23 Oct 2017 22:33:00 +0200 Message-Id: <1508790780-26625-1-git-send-email-wigyori@uid0.hu> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171023_133331_538209_1AD0CDA6 X-CRM114-Status: UNSURE ( 4.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH] sunxi: add Orange Pi 2 support 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: hauke@hauke-m.de, Zoltan HERPAI MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org - H3 @ 1.3 GHz - 1GiB DDR3 - 10/100Mbps Ethernet - Realtek RTL8189ETV wifi - 4 USB 2.0 Difference to the "Orange Pi Plus" is the lack of Gbit ethernet and lack of onboard flash. Signed-off-by: Zoltan HERPAI --- package/boot/uboot-sunxi/Makefile | 7 +++++++ target/linux/sunxi/image/cortex-a7.mk | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index 50c6b06..b0737b7 100644 --- a/package/boot/uboot-sunxi/Makefile +++ b/package/boot/uboot-sunxi/Makefile @@ -144,6 +144,12 @@ define U-Boot/orangepi_plus BUILD_DEVICES:=sun8i-h3-orangepi-plus endef +define U-Boot/orangepi_2 + BUILD_SUBTARGET:=cortexa7 + NAME:=Orange Pi 2 (H3) + BUILD_DEVICES:=sun8i-h3-orangepi-2 +endef + define U-Boot/pangolin BUILD_SUBTARGET:=cortexa7 NAME:=Theobroma A31-yQ7 devboard @@ -179,6 +185,7 @@ UBOOT_TARGETS := \ nanopi_neo \ orangepi_r1 \ orangepi_plus \ + orangepi_2 \ pangolin \ pine64_plus diff --git a/target/linux/sunxi/image/cortex-a7.mk b/target/linux/sunxi/image/cortex-a7.mk index d0b7aa0..d219a1d 100644 --- a/target/linux/sunxi/image/cortex-a7.mk +++ b/target/linux/sunxi/image/cortex-a7.mk @@ -136,6 +136,15 @@ endef TARGET_DEVICES += sun8i-h3-orangepi-plus +define Device/sun8i-h3-orangepi-2 + DEVICE_TITLE:=Xunlong Orange Pi 2 + DEVICE_PACKAGES:=kmod-rtc-sunxi + SUPPORTED_DEVICES:=xunlong,orangepi-2 + SUNXI_DTS:=sun8i-h3-orangepi-2 +endef + +TARGET_DEVICES += sun8i-h3-orangepi-2 + define Device/sun7i-a20-pcduino3 DEVICE_TITLE:=LinkSprite pcDuino3