Message ID | 20240702160924.732179-3-mrkiko.rs@gmail.com |
---|---|
State | Accepted |
Delegated to: | Robert Marko |
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=pfZHRU+W; 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=bA9MOqwY; 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 4WD7F808Wsz1xqf for <incoming@patchwork.ozlabs.org>; Wed, 3 Jul 2024 02:11:06 +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=pfZHRU+W3XvylX 3VPKhCzfi4uvTs9VM9tp47OXyrSNYJS3b4REpVyINStoE7Iv9sy0AfdMbEKnVtro+Dyw0xvlEr7Dm HGLO7Rrg6llb165a9cCzBmiB0HU9+Mp7RrHeg7AkLAlzcUvf9jFl+/qrFm1xwTWsdwmZFoJhzrmrM G/Nsc5ly/FdT/B5xhYicnTJrbODS2Gyucv0Oc5ydxBqszRG8jqxkN8FT917OoyhJ73GRYEumdX5eL sCXJ1xOLnBZ/zBqHfqGcfT+MD8UFM7iqqU52ln2RQ+rhvQ6gxIPAyLstse+o0rnef2kLCFy4RcCfX 8uaIKST0J8svC2Mo2efg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOg4h-00000007Kcm-2OAJ; Tue, 02 Jul 2024 16:09:47 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOg4c-00000007Kaf-3ama for openwrt-devel@lists.openwrt.org; Tue, 02 Jul 2024 16:09:44 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-52d259dbe3cso4647050e87.0 for <openwrt-devel@lists.openwrt.org>; Tue, 02 Jul 2024 09:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719936581; x=1720541381; 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=bA9MOqwYLSjTJc+xczBuT6jMfD6wTLwsvDlZhXxY1pbA/DB146fyEG8sidYHRTIwAi bwR0Tc5mo2fNreldt7FvQxTCOyu1gC5dm/ej5yhud8YoRyJDva7/U1zEzYUFU20LVEiD SYYZx6esmphhkeD49AIYmnx8PmFq4ilwELTEq03qxhnSVAUoD7cXya+PH7GPOxu6tPAz Z23+4QirJNO6OmtJs/Lf9rWDIzj98RibAg4WvdJ1A/a3RXTN4spAJGXbcflkbZ/gntbZ hWl2bRuIsm7OR70pqWgP0bmvwHTlw/NdIe/MNbxLpgwwwX1ORH6SA+lQQUtRTuI/jxUj f+Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719936581; x=1720541381; 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=YH4t3ospBE96mdmj0goHD/1mEtVArwSS+RxI3W2Vl85ACsNvGp/4+MBmlSdbrwlQ/a m5/UYWFxf6OMEId602/rKPfPKdXD8HO1VPWs5F5p6GH//F1FxHqesZ2rj3olEIFR5MTt uQxQi012YnFuYb8tGiyljMd4vgImxjhPICVHOMQfcBIKIRSfUUyXkk4ky+5KJ4/Eu5H3 SP7bejNiqUq6uQmZTjNoleTlTWuyMbJHReC1E3nWxXimyqRTz2y7blHVbj7pthW5a6vV OG/hBUFxlc6DQFBnZN+44KUpU+bfXZgP5n2FLRi5D5CnOdzDcTLxXTdujsvtLJa5TJsd 9kXw== X-Gm-Message-State: AOJu0YyxyTotKR3yqoJRoUkeJ/eNFhTZ4Lj+DMySnFghToBVRCkUQSVe ASsx+oJwSy6nbIoaSHulLTB5QZGbDm7ECrlWhxAQkaYC+cgkum6N49xMcWWc X-Google-Smtp-Source: AGHT+IHAPlwCgMv4DSILakPjYje0y2xVwT80pue8qyyYX4VxIMK+Q2pmSc5JSK2w4NT/mj6g8FZF+Q== X-Received: by 2002:ac2:4e06:0:b0:52c:dac3:392b with SMTP id 2adb3069b0e04-52e82685f72mr6643101e87.33.1719936580678; Tue, 02 Jul 2024 09:09:40 -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 ffacd0b85a97d-36789fd7a0esm1854837f8f.104.2024.07.02.09.09.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 09:09:40 -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 2/3] mvebu: enable CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y config option Date: Tue, 2 Jul 2024 18:09:08 +0200 Message-ID: <20240702160924.732179-3-mrkiko.rs@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240702160924.732179-1-mrkiko.rs@gmail.com> References: <20240702160924.732179-1-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_090942_900325_BB471C72 X-CRM114-Status: UNSURE ( 9.80 ) 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: 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:12a 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 |
Enhance GL-MV1000 support
|
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(+)