From patchwork Tue Jan 9 07:18:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabor Juhos X-Patchwork-Id: 857278 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="EcBeU6Co"; 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 3zG3Rs57q7z9sBZ for ; Tue, 9 Jan 2018 18:19:37 +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=iXNvYw8+tK5KCgAgMBrHmVu7mxP97YdHC+eOREBDPtQ=; b=EcBeU6CoFWkx43 qxRfXKoe9/q1WAo6JyxpkEnkFeRg23wtufpMQiKgBtOlZPCBcjx6jt5Dt1cptIraLFCxC6FFnMlRD quTr7p0TGsXD9lTzDIVe4aobA2WyfloGcINJ9288H38JeQAqmXMVpHlAsTz8y3k8M6KxYVBRHzfYb 2OtkPaJUJ3Fr1WAngrCsh4bfrpTrmlT2vIkY/cz/MuNkTuEDAae3HuKMHpYgbJyNDSGpZuIPtmspn l58wXYvwFDR5yiwC8mir2u3cZJmLznm2ui1PpCCGtVzjH3hnl8dsnOY1PKqw3Yzts6zx5Ss5CRuhA WOl2uTwE7CCBDHOVARtg==; 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 1eYoC0-0004yj-PN; Tue, 09 Jan 2018 07:19:28 +0000 Received: from arrakis.dune.hu ([78.24.191.176]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eYoBe-0004mW-GC for lede-dev@lists.infradead.org; Tue, 09 Jan 2018 07:19:09 +0000 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 6F979B80192; Tue, 9 Jan 2018 08:18:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost.localdomain (91.83.26.34.pool.invitel.hu [91.83.26.34]) by arrakis.dune.hu (Postfix) with ESMTPSA; Tue, 9 Jan 2018 08:18:36 +0100 (CET) From: Gabor Juhos To: lede-dev@lists.infradead.org Date: Tue, 9 Jan 2018 08:18:14 +0100 Message-Id: <20180109071816.27940-2-juhosg@freemail.hu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180109071816.27940-1-juhosg@freemail.hu> References: <20180109071816.27940-1-juhosg@freemail.hu> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180108_231906_781410_C07965A0 X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [78.24.191.176 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (juhosg[at]freemail.hu) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH 1/3] ar71xx/mikrotik: disable unused ethernet switch and phy drivers 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: Gabor Juhos MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Disable the drivers for the following ethernet switches: Realtek RTL8306 Realtek RTL8366/8367 Marvell 88E6060 (DSA) Marvell 88E6063 (DSA) Also disable the phy driver for Marvell PHYs. None of the supported RouterBOARDs are using any device which needs these drivers. Disable the DSA framework too, because it is not required by the remaining switch drivers. This reduces the compressed kernel size by ~20KB. Signed-off-by: Gabor Juhos --- target/linux/ar71xx/mikrotik/config-default | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index 7a2e9186af..815ac60e68 100644 --- a/target/linux/ar71xx/mikrotik/config-default +++ b/target/linux/ar71xx/mikrotik/config-default @@ -220,6 +220,7 @@ CONFIG_GPIO_LATCH=y # CONFIG_INTEL_XWAY_PHY is not set CONFIG_LEDS_RB750=y CONFIG_LZO_DECOMPRESS=y +# CONFIG_MARVELL_PHY is not set # CONFIG_MTD_CFI is not set CONFIG_MTD_CFI_I2=y # CONFIG_MTD_CYBERTAN_PARTS is not set @@ -243,7 +244,10 @@ CONFIG_MTD_UBI_BLOCK=y # CONFIG_MTD_UBI_FASTMAP is not set # CONFIG_MTD_UBI_GLUEBI is not set CONFIG_MTD_UBI_WL_THRESHOLD=4096 +# CONFIG_NET_DSA is not set CONFIG_RLE_DECOMPRESS=y +# CONFIG_RTL8306_PHY is not set +# CONFIG_RTL8366_SMI is not set # CONFIG_SOC_AR913X is not set # CONFIG_SOC_AR933X is not set # CONFIG_SOC_QCA956X is not set From patchwork Tue Jan 9 07:18:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabor Juhos X-Patchwork-Id: 857279 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="ISezQbDq"; 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 3zG3S73DX5z9s8J for ; Tue, 9 Jan 2018 18:19:51 +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=1+yrS4Nqoxso5ySmUm3vXQVBTyiVFqUsv3+CteA9V3g=; b=ISezQbDqh9gALp dQSUhFwcmZZmUyZCoiFYSzEbZSy/VwOHTTd3LlbhU3WXGnA8zAUYe+MnSAoG9WMC8O6YEAe0efrbe IFpPUIg/yfnCVDMyntzaOd+hBBLdejIbXvgeecN3G7FJV/5hWlCn9qGgRwjGJWXXqn2kgnRtt7Zk1 yZIcRf/8IR6pJvh8XHtKHWxQAwNZ0N+e9Mik+4tMxr+foQ+IH+7iScJ6gr1pvFR+DIqOA9+COEA9E YTT7rrMQ0lP1j+Vl+5aGImoSyhMD4G8OorTQmbUqiiPwpmMtjeW5ukkcxrEPRMkZ046mbp4qApm6L klYmywoHYNkQIfWPO3FQ==; 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 1eYoCI-0005Bt-CK; Tue, 09 Jan 2018 07:19:46 +0000 Received: from arrakis.dune.hu ([78.24.191.176]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eYoBf-0004mZ-9B for lede-dev@lists.infradead.org; Tue, 09 Jan 2018 07:19:11 +0000 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id B61D0B801E9; Tue, 9 Jan 2018 08:18:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost.localdomain (91.83.26.34.pool.invitel.hu [91.83.26.34]) by arrakis.dune.hu (Postfix) with ESMTPSA; Tue, 9 Jan 2018 08:18:36 +0100 (CET) From: Gabor Juhos To: lede-dev@lists.infradead.org Date: Tue, 9 Jan 2018 08:18:15 +0100 Message-Id: <20180109071816.27940-3-juhosg@freemail.hu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180109071816.27940-1-juhosg@freemail.hu> References: <20180109071816.27940-1-juhosg@freemail.hu> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180108_231907_561772_D7E4B374 X-CRM114-Status: UNSURE ( 6.73 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [78.24.191.176 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (juhosg[at]freemail.hu) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH 2/3] ar71xx/mikrotik: disable unused MTD partitioning and split drivers 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: Gabor Juhos MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Reduces the compressed kernel size by ~2.5KB. Signed-off-by: Gabor Juhos --- target/linux/ar71xx/mikrotik/config-default | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index 815ac60e68..da0c9dacc9 100644 --- a/target/linux/ar71xx/mikrotik/config-default +++ b/target/linux/ar71xx/mikrotik/config-default @@ -223,6 +223,7 @@ CONFIG_LZO_DECOMPRESS=y # CONFIG_MARVELL_PHY is not set # CONFIG_MTD_CFI is not set CONFIG_MTD_CFI_I2=y +# CONFIG_MTD_CMDLINE_PARTS is not set # CONFIG_MTD_CYBERTAN_PARTS is not set CONFIG_MTD_MAP_BANK_WIDTH_1=y CONFIG_MTD_MAP_BANK_WIDTH_4=y @@ -233,10 +234,15 @@ CONFIG_MTD_NAND_ECC=y CONFIG_MTD_NAND_RB4XX=y CONFIG_MTD_NAND_RB750=y CONFIG_MTD_NAND_RB91X=y +# CONFIG_MTD_OF_PARTS is not set # CONFIG_MTD_REDBOOT_PARTS is not set CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y # CONFIG_MTD_SPLIT_EVA_FW is not set +# CONFIG_MTD_SPLIT_LZMA_FW is not set +# CONFIG_MTD_SPLIT_SEAMA_FW is not set # CONFIG_MTD_SPLIT_TPLINK_FW is not set +# CONFIG_MTD_SPLIT_UIMAGE_FW is not set +# CONFIG_MTD_SPLIT_WRGG_FW is not set # CONFIG_MTD_TPLINK_PARTS is not set CONFIG_MTD_UBI=y CONFIG_MTD_UBI_BEB_LIMIT=20 From patchwork Tue Jan 9 07:18:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabor Juhos X-Patchwork-Id: 857277 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="f4gYIjRa"; 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 3zG3RS3MLzz9s8J for ; Tue, 9 Jan 2018 18:19:16 +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=fNRg+B1YCAzxhVAIiYnblpV30xxtGanpl2gXT9+oU4k=; b=f4gYIjRaEr1bA3 kmdlJuJagajh53xPClPzDoU7wtGKOX8VpEw48cZ8vfdZDJNVw0RlkszOXP5xgOEkaDMBG2yrfJPGz Y0nPXXPRC9do+QtlElhdY4Gg203ZtkzIwzyfK/YHdbu9NcxokKQM0ipHJzm6L/Q9/1vI8joKC/kmM OJ1F9t+drT1WH35+NDIhtGdH2+U6cQdcL/mjZYbNwIIxpx1NBU8Ai016YE3lhUp2Qt9D+Skxb1VB9 26djqvEieJW0JZQcvEaY/jlSnDz3pNWEEFvhnd05GdrI0ZdUuKoZm1P3iSRXtSB298a/BvmZ5mTSe AukNKJLfBNT/lCC3MpVA==; 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 1eYoBk-0004pH-JB; Tue, 09 Jan 2018 07:19:12 +0000 Received: from arrakis.dune.hu ([78.24.191.176]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eYoBe-0004ma-PU for lede-dev@lists.infradead.org; Tue, 09 Jan 2018 07:19:09 +0000 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 04599B80E2C; Tue, 9 Jan 2018 08:18:37 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost.localdomain (91.83.26.34.pool.invitel.hu [91.83.26.34]) by arrakis.dune.hu (Postfix) with ESMTPSA; Tue, 9 Jan 2018 08:18:36 +0100 (CET) From: Gabor Juhos To: lede-dev@lists.infradead.org Date: Tue, 9 Jan 2018 08:18:16 +0100 Message-Id: <20180109071816.27940-4-juhosg@freemail.hu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180109071816.27940-1-juhosg@freemail.hu> References: <20180109071816.27940-1-juhosg@freemail.hu> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180108_231907_077129_708634D9 X-CRM114-Status: UNSURE ( 7.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [78.24.191.176 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (juhosg[at]freemail.hu) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH 3/3] ar71xx/mikrotik: disable TP-Link TL-WR810N v2 board 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: Gabor Juhos MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It does not belongs to the MikroTik boards. Signed-off-by: Gabor Juhos --- target/linux/ar71xx/mikrotik/config-default | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index da0c9dacc9..a77813d23d 100644 --- a/target/linux/ar71xx/mikrotik/config-default +++ b/target/linux/ar71xx/mikrotik/config-default @@ -171,6 +171,7 @@ CONFIG_ATH79_MACH_RBSXTLITE=y # CONFIG_ATH79_MACH_TL_WR802N_V1 is not set # CONFIG_ATH79_MACH_TL_WR802N_V2 is not set # CONFIG_ATH79_MACH_TL_WR810N is not set +# CONFIG_ATH79_MACH_TL_WR810N_V2 is not set # CONFIG_ATH79_MACH_TL_WR840N_V2 is not set # CONFIG_ATH79_MACH_TL_WR841N_V1 is not set # CONFIG_ATH79_MACH_TL_WR841N_V8 is not set