From patchwork Thu Apr 13 15:09:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ram Chandra Jangir X-Patchwork-Id: 750490 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3w3kkm5G2jz9s8Q for ; Fri, 14 Apr 2017 01:10:56 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="j1IopkoG"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=codeaurora.org header.i=@codeaurora.org header.b="D+AoPhtM"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="D+AoPhtM"; dkim-atps=neutral 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=CiW0yz/+S3ZTvJ6YCbGZLGyiy0jGMd0yhf/dME4CVqk=; b=j1IopkoGileklf bl1Zx7LBGnyLTSbIlRQKpZAS4tD/wG/aBaOkTupwKeEmNL1ABsCMDXyEd9UHUUJCtuM383NCb/wzZ EjZFrG29mxn9NE3mrfhnpbk9tc+k1iBztgYcvMeu5y3daVtWjcHx+J0lx8QOy3SydzuUoz+xRbRsH sFzNrIipydwJ/2APlUF8pTbCY/L2V37JVZiz6wVGbhkTTQB8nFoCJEYSrlz6ryoyI5ZO7e1faKcTw MxnkpMgh3wlq4sLxxzU6vOsQw590ZeF9YNeRDROwaHkrFmTHzGULKjd5pVVXB6smKtT1d9YySdSVN aiiDZFvBFCGQ1Kdqx9wQ==; 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 1cygOI-0004Pw-N1; Thu, 13 Apr 2017 15:10:34 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cygOE-0004OT-V2 for lede-dev@lists.infradead.org; Thu, 13 Apr 2017 15:10:33 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B1DB260D80; Thu, 13 Apr 2017 15:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1492096209; bh=2YuK8qoS6uJ8zLUM0E9L4cMY13fD2fX8XX7AmN6qBis=; h=From:To:Cc:Subject:Date:From; b=D+AoPhtMQVj8bIe3qF9BIWdZ7bufuPDEHAAYHskV3T7HIRZrhvDEM2stI8eF1ccYd Ur/0H8kWVe45oy1fG6044boDUdfiSb0/KvHF75MussAtA875kEtIx9VaBmgwYMJwtB uuheJW46gWM9+SAe9r5Hl/Ih7ByI9iacyolx9ajc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from chen-lnxbld23.qualcomm.com (unknown [202.46.23.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: rjangi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1D78960D5F; Thu, 13 Apr 2017 15:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1492096209; bh=2YuK8qoS6uJ8zLUM0E9L4cMY13fD2fX8XX7AmN6qBis=; h=From:To:Cc:Subject:Date:From; b=D+AoPhtMQVj8bIe3qF9BIWdZ7bufuPDEHAAYHskV3T7HIRZrhvDEM2stI8eF1ccYd Ur/0H8kWVe45oy1fG6044boDUdfiSb0/KvHF75MussAtA875kEtIx9VaBmgwYMJwtB uuheJW46gWM9+SAe9r5Hl/Ih7ByI9iacyolx9ajc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1D78960D5F Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rjangir@codeaurora.org From: Ram Chandra Jangir To: lede-dev@lists.infradead.org Date: Thu, 13 Apr 2017 20:39:52 +0530 Message-Id: <1492096192-19869-1-git-send-email-rjangir@codeaurora.org> X-Mailer: git-send-email 2.7.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170413_081031_051331_EE3D8395 X-CRM114-Status: GOOD ( 11.72 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [198.145.29.96 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Subject: [LEDE-DEV] [PATCH 1/2] ipq806x: Add support for ipq806x as subtarget 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: Ram Chandra Jangir MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Currently IPQ has IPQ806x and IPQ40xx SoC's available, So we can add both of them as subtargets. Signed-off-by: Ram Chandra Jangir --- target/linux/ipq806x/Makefile | 1 + target/linux/ipq806x/config-4.9 | 8 ++++---- target/linux/ipq806x/image/Makefile | 2 ++ target/linux/ipq806x/ipq806x/config-default | 4 ++++ target/linux/ipq806x/ipq806x/target.mk | 7 +++++++ 5 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 target/linux/ipq806x/ipq806x/config-default create mode 100644 target/linux/ipq806x/ipq806x/target.mk diff --git a/target/linux/ipq806x/Makefile b/target/linux/ipq806x/Makefile index e78273c..5a5551c 100644 --- a/target/linux/ipq806x/Makefile +++ b/target/linux/ipq806x/Makefile @@ -8,6 +8,7 @@ BOARDNAME:=Qualcomm Atheros IPQ806X FEATURES:=squashfs nand ubifs fpu CPU_TYPE:=cortex-a15 CPU_SUBTYPE:=neon-vfpv4 +SUBTARGETS:=ipq806x MAINTAINER:=John Crispin KERNEL_PATCHVER:=4.9 diff --git a/target/linux/ipq806x/config-4.9 b/target/linux/ipq806x/config-4.9 index 072ab6a..bb1f141 100644 --- a/target/linux/ipq806x/config-4.9 +++ b/target/linux/ipq806x/config-4.9 @@ -159,7 +159,7 @@ CONFIG_DMA_VIRTUAL_CHANNELS=y CONFIG_DTC=y CONFIG_DT_IDLE_STATES=y # CONFIG_DWMAC_GENERIC is not set -CONFIG_DWMAC_IPQ806X=y +# CONFIG_DWMAC_IPQ806X is not set CONFIG_DYNAMIC_DEBUG=y CONFIG_EARLY_PRINTK=y CONFIG_EDAC_ATOMIC_SCRUB=y @@ -256,7 +256,7 @@ CONFIG_IOMMU_HELPER=y # CONFIG_IOMMU_IO_PGTABLE_LPAE is not set CONFIG_IOMMU_SUPPORT=y CONFIG_IPQ_GCC_4019=y -CONFIG_IPQ_GCC_806X=y +# CONFIG_IPQ_GCC_806X is not set # CONFIG_IPQ_LCC_806X is not set CONFIG_IRQCHIP=y CONFIG_IRQ_DOMAIN=y @@ -371,13 +371,13 @@ CONFIG_PERF_USE_VMALLOC=y CONFIG_PGTABLE_LEVELS=2 CONFIG_PHYLIB=y # CONFIG_PHY_QCOM_APQ8064_SATA is not set -CONFIG_PHY_QCOM_IPQ806X_SATA=y +# CONFIG_PHY_QCOM_IPQ806X_SATA is not set # CONFIG_PHY_QCOM_UFS is not set CONFIG_PINCTRL=y CONFIG_PINCTRL_APQ8064=y # CONFIG_PINCTRL_APQ8084 is not set CONFIG_PINCTRL_IPQ4019=y -CONFIG_PINCTRL_IPQ8064=y +# CONFIG_PINCTRL_IPQ8064 is not set # CONFIG_PINCTRL_MDM9615 is not set CONFIG_PINCTRL_MSM=y # CONFIG_PINCTRL_MSM8660 is not set diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile index de6ddb6..9af2e5a 100644 --- a/target/linux/ipq806x/image/Makefile +++ b/target/linux/ipq806x/image/Makefile @@ -250,7 +250,9 @@ define Device/VR2600v IMAGE/sysupgrade.bin := pad-extra 512 | append-kernel | pad-to $$$${KERNEL_SIZE} | append-rootfs | pad-rootfs | append-metadata endef +ifeq ($(SUBTARGET),ipq806x) TARGET_DEVICES += AP148 AP148-legacy C2600 D7800 DB149 EA8500 FRITZ4040 R7500 \ R7500v2 R7800 NBG6817 VR2600v +endif $(eval $(call BuildImage)) diff --git a/target/linux/ipq806x/ipq806x/config-default b/target/linux/ipq806x/ipq806x/config-default new file mode 100644 index 0000000..424c2c6 --- /dev/null +++ b/target/linux/ipq806x/ipq806x/config-default @@ -0,0 +1,4 @@ +CONFIG_DWMAC_IPQ806X=y +CONFIG_IPQ_GCC_806X=y +CONFIG_PHY_QCOM_IPQ806X_SATA=y +CONFIG_PINCTRL_IPQ8064=y diff --git a/target/linux/ipq806x/ipq806x/target.mk b/target/linux/ipq806x/ipq806x/target.mk new file mode 100644 index 0000000..837d27d --- /dev/null +++ b/target/linux/ipq806x/ipq806x/target.mk @@ -0,0 +1,7 @@ + +SUBTARGET:=ipq806x +BOARDNAME:=QCA IPQ806x based boards + +define Target/Description + Build firmware image for IPQ806x SoC devices. +endef