From patchwork Sun Nov 20 04:19:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enrico Mioso X-Patchwork-Id: 1706693 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=TIsrXB2V; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=qcyILAei; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NFHRs3cXBz23lt for ; Sun, 20 Nov 2022 15:22:29 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=a3264mF5UNHbgcLlbSKtPkXfX8SVBLCp8mT4Nwr9Y8w=; b=TIsrXB2VuzkXVh pwg3oO3fMRcbF6BgEcqwAEBgKuCsCGXr8rZIpAHReWbY/iKrrs8Kk7ZrBA0VJym+ZrnVW/VItqwWn 4c1bqzzFYHzanAunEPdTVsPHSscFtJTYeq61sCSAmRJvdchHHA8/GBRAAQls3R4N9jbal0yKzj6bt 2cSmNZ2RX3c56x3dLADLROyieq+YxikVCRmbr3O4EyjroENln6Eqbr0nZPq/YDcmsoMtb5Js8GrNz V+FiF2bZmT45Uq2XABwVq092dddIa8ddN0NPDNUEDVAGxIX0ovuL2AtZIzFvJ61hXqmdxHpoyzZI3 8ylKs6gZtFHWUUMZs0NQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1owbnf-001veT-Gj; Sun, 20 Nov 2022 04:19:23 +0000 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1owbnd-001vdi-0K for openwrt-devel@lists.openwrt.org; Sun, 20 Nov 2022 04:19:22 +0000 Received: by mail-io1-xd2e.google.com with SMTP id r81so6598940iod.2 for ; Sat, 19 Nov 2022 20:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xaFSo4kv+Oeg+1bYD1N/9LyryOswt9Qlx1AF4GKnwRI=; b=qcyILAei5MTPBaxM8RUbEWeZrHUCMrHIJSkIi12Lr+acxqmIaoGNQSaTNdMbW4Tpgd ojPoRedJ5CY5tZ7DJ+6RmbmIpGPyUHMmNf7DaJic7epL6OXLlLV4c4op6jloFcDsPiWj OIne4ReDvM8bONqN2yekVPvIvPB1hBzu6R70viefo87oIi+8X1YYH553Lx1QoizGgs+e ovzP8lflnuaaF69TEV42OMKnS36wR5GIQ1xej00Zuv7DFV8grb0lIJkCYee9DsOYsKDo uy8NcE8U+QHj2FVSPQnRazBdGmCMQhK3jJLkc63HaKS5AqX0iCbDQiB+P384TkmUNrmU 4+tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xaFSo4kv+Oeg+1bYD1N/9LyryOswt9Qlx1AF4GKnwRI=; b=6QXpHHgeQwCA3iIwistaV+1oAHrPQQfY6RjLBAcfD5Q6ZU92N58Yk0qSvdVEzatvtp c4eaVHhrxatPMcCYREwb+NoWi5ZTPs9ust1E1puDjJandZAKWdA7+MsgKrIxLmRVa0Aw vTbAQ6wdJI9gVif3+0JODmGqa5FCDGIzx8ZMvBiegFFmAGO+lfQ842q3EaKoxo2+Nwv1 QVzb1t/WpYnf9j9Jf+LrA/q4+bIacHHTEcWAYpJaf2Pl+jYfnAMtY2tU9I8DLqyJyTpd DEMfDQzmrURj170DhIvsU+0RDwXBz1wWkb4RWJj4qUq84ERmdj2Wzb1+FHdtAyt398cl jV6g== X-Gm-Message-State: ANoB5pnIVj4teNoj+xuTQ+luu+9NYByjUO/bTS7vTaow6WIoMDfc0vSf WJVpZquDg3INXsKp+IrvVLDjU3qn4f77LA== X-Google-Smtp-Source: AA0mqf5kquSxgy2FjiqE9k/owOOOP+NuZtNGqRl4xVvkUyTSQuF1BrHsW/QDBci8UNAZNasbt0NFLA== X-Received: by 2002:a02:6657:0:b0:375:4a9b:181a with SMTP id l23-20020a026657000000b003754a9b181amr5849476jaf.233.1668917959076; Sat, 19 Nov 2022 20:19:19 -0800 (PST) Received: from localhost.localdomain ([2a01:4f9:c010:5d73::1]) by smtp.gmail.com with ESMTPSA id e23-20020a0566380cd700b00363dfbb145asm2778066jak.30.2022.11.19.20.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Nov 2022 20:19:18 -0800 (PST) From: Enrico Mioso To: openwrt-devel@lists.openwrt.org Cc: Enrico Mioso Subject: [PATCH] mvebu: harmonize GL.iNet GL-MV1000 MTD partitions layout with vendor Date: Sun, 20 Nov 2022 05:19:06 +0100 Message-Id: <20221120041906.1120449-1-mrkiko.rs@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221119_201921_085885_B965D4C9 X-CRM114-Status: UNSURE ( 8.32 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The GL-MV1000 ships with a 16MB spi-nor flash, containing a copy of the stock GL.iNet firmware. Add the corresponding flash areas, so our view matches the one of the in-flash stock firmware. Signed-off-by: Enrico Mioso --- .../dts/marvell/armada-3720-gl-mv1000.dts | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:d2e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [mrkiko.rs[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The GL-MV1000 ships with a 16MB spi-nor flash, containing a copy of the stock GL.iNet firmware. Add the corresponding flash areas, so our view matches the one of the in-flash stock firmware. Signed-off-by: Enrico Mioso --- .../dts/marvell/armada-3720-gl-mv1000.dts | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts index acf15e8ca9..72d7267ccd 100644 --- a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts +++ b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts @@ -96,7 +96,7 @@ partition@f0000 { label = "u-boot-env"; - reg = <0Xf0000 0x8000>; + reg = <0xf0000 0x8000>; read-only; }; @@ -105,6 +105,24 @@ reg = <0xf8000 0x8000>; read-only; }; + + partition@100000 { + label = "gl-firmware-dtb"; + reg = <0x100000 0x10000>; + read-only; + }; + + partition@110000 { + label = "gl-firmware"; + reg = <0x110000 0xef0000>; + read-only; + }; + + partition@ef0000 { + label = "gl-firmware-jffs2"; + reg = <0xef0000 0x110000>; + read-only; + }; }; }; };