Message ID | 20240702152004.731953-1-mrkiko.rs@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=CVgs//5d; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Asf99rLK; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WD68M4tHMz1xpN for <incoming@patchwork.ozlabs.org>; Wed, 3 Jul 2024 01:21:55 +1000 (AEST) 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:References:In-Reply-To: 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: List-Owner; bh=ftBoc49FI/OqXG9sZK+SSbHN2yotGsBOrAChoy49B1o=; b=CVgs//5djnZtf0 bZ6V33wL8wZ4hMsxHsjWA5JndEOyBcs2ioJQPD2X2eQl9e6oaZiEpaVw5pUljEw3qKhmnJLX4ATQA JQgEtf1OuezE02i+AFIrujdLUyHYuEBZa3iyo0we0px3mY0zm43vY4wcVUfQAbgSQJuEBc+WeWdur XaWTo8yYtaSFu1wxIyTSg7ga8YfSVfvWyTI8ZLq+AkP2woaTLsXiS7EVwstStweV1scEGiEy+8sYv QyznfKUjm6uzSdz6yqc1WZY+vu2sjWfx5ioTcq/iidHVuf101bsYzYRJ5FjN1fUKayZFWJaCTRbYm bVr82NvpWBK2YfXkApxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOfJP-00000007Bh6-2Z37; Tue, 02 Jul 2024 15:20:55 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOfJM-00000007Bg8-2ft7 for openwrt-devel@lists.openwrt.org; Tue, 02 Jul 2024 15:20:53 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a6fe617966fso397374466b.1 for <openwrt-devel@lists.openwrt.org>; Tue, 02 Jul 2024 08:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719933650; x=1720538450; darn=lists.openwrt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SAxrWHUo4S23i5oMAOXhyV0Tj2ThHblmW+C00Vo7Fhk=; b=Asf99rLKBnc9outQ6Qbt5B7bANpEkFjW4M7+OSlOB96MLKI0eWSW8Ew8vRQKgOwXEv Ybf5qY4pTYJ0CudbCmDjsgyrq0BxeKTXtsPfoGjcZJe6r/Gfdblk2zys18W+TJ+AHUAz Kru7f8G0Ye7AslaOQ1CTUNk4zLHZAeiDmjaM9z1/CPGPF4Ee3Vzn/NeqF3PV7Rs34v9u 8lpyyrTmkIcJRxgGO3y5KU4bDNYKSiuYxumRzQUoJLWtlUliuB7Vsty1QDCxVdprlcef 2lA6cFBUclEDAt8FgmS9RZPRwQD/ZUKN1uclCKr8FdBWT4wrw0DBHrzeI9jRyvNYUKzF /s3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719933650; x=1720538450; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SAxrWHUo4S23i5oMAOXhyV0Tj2ThHblmW+C00Vo7Fhk=; b=c9XcCjgrfd/drMJbdHKw8HMzZOET726rtCguz1zgCldEOBGdSP9PrlZWL5GbzlAHbh PEGjIM7u3RWp0rlsq67s0yByQz1OBWovuc8mfzJaM1mJrhklUz4NbXv9MDsODZTlC08F VJ4yEDF9TrVAXa2BKoRmNiqnsMofr14e6uiFCpH8Ek5Yta9aOQfzFw7SDOWiEllpV/Vi tWQ5pEu8pGzqejp/FbGDQWxSuVH7/OYBo8wBKUudUQ3n8xiZ4c2m4ge0809FZhbvGMwq TXt2PvW8Z03G2y9T3QJyt+yBsKEVyjPEEA9eW82/rhjLuW6C4Dhrg2U9KnlokLtZTfIg 573Q== X-Gm-Message-State: AOJu0Yz0xAq/DNcGFUNNYWtYigf8rJRAWf2sXhoULChQHWB0apEIIpem aNGvvXTTEN8QzY858oqne19df7y8m5A6VtOznyb2fU2f+RQBIwroR79fMr9J X-Google-Smtp-Source: AGHT+IFQjiT5bSkGnaE9D57rI6I97atWrE71rIzTpM7/ZS/lseILU+LQGe7XHRr3BTm8Kb/2mhEdWQ== X-Received: by 2002:a17:907:970e:b0:a6f:51b3:cbbd with SMTP id a640c23a62f3a-a7514462e10mr708350866b.4.1719933649375; Tue, 02 Jul 2024 08:20:49 -0700 (PDT) Received: from localhost.localdomain (u-k-77-240-224.4bone.mynet.it. [77.240.224.17]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a752a48edb4sm172255466b.208.2024.07.02.08.20.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 08:20:49 -0700 (PDT) From: Enrico Mioso <mrkiko.rs@gmail.com> To: OpenWrt Development List <openwrt-devel@lists.openwrt.org> Cc: Enrico Mioso <mrkiko.rs@gmail.com> Subject: [PATCH V2] mvebu: enable CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y config option Date: Tue, 2 Jul 2024 17:18:28 +0200 Message-ID: <20240702152004.731953-1-mrkiko.rs@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240701073943.3886539-2-mrkiko.rs@gmail.com> References: <20240701073943.3886539-2-mrkiko.rs@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240702_082052_698257_72108DCD X-CRM114-Status: GOOD ( 10.44 ) 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: Enable the CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE kernel option to allow for U-Boot environment writing. This might be hiding a problem somewhere else, since the w25q128fw chip supports 32K erases, sti [...] 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 [2a00:1450:4864:20:0:0:0:634 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from 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 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [mrkiko.rs(at)gmail.com] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
[V2] mvebu: enable CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y config option
|
expand
|
diff --git a/target/linux/mvebu/config-6.6 b/target/linux/mvebu/config-6.6 index 88e5fff4d9..a4572d8a89 100644 --- a/target/linux/mvebu/config-6.6 +++ b/target/linux/mvebu/config-6.6 @@ -270,6 +270,7 @@ CONFIG_MTD_NAND_ECC_SW_HAMMING=y CONFIG_MTD_NAND_MARVELL=y CONFIG_MTD_RAW_NAND=y CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y CONFIG_MTD_SPLIT_FIRMWARE=y CONFIG_MTD_UBI=y CONFIG_MTD_UBI_BEB_LIMIT=20
Enable the CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE kernel option to allow for U-Boot environment writing. This might be hiding a problem somewhere else, since the w25q128fw chip supports 32K erases, still this change makes it much easier to switch the GL-MV1000 boot media without an UART cable connection. Thanks to @robimarko and @hacks for the precious hints and suggesting a better approach. Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com> --- target/linux/mvebu/config-6.6 | 1 + 1 file changed, 1 insertion(+)