From patchwork Tue Jul 2 16:09:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enrico Mioso X-Patchwork-Id: 1955505 X-Patchwork-Delegate: robimarko@gmail.com Return-Path: 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=g/6VBTCo; 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=eLJ6Jrql; 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 4WD7F76tHzz1xqd for ; 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=h2DN47N8fmFj/06o71yZn9PkpjIIp2Jf1jPK7fyWx5c=; b=g/6VBTCoRhGCeM d0vXlg8asJGUAPVPXfFtmeJJaSmHhUvj+DNcAzUDywvV565hLo3o/wRuNXIPT49DMJP8km6a47Q7y 1vQxoTu7C7ofFbS5wu3vn/lZI9xl36yMecOtv9t0iw8J4cAnvZrGEwLwhI0MT1IDA23LXafdAuhHM IxbEhUabSndpSG+U1gqEWyACtZ7n/57ILBlYJ1D+RqCaAutYUeJco1xheFZ7/EhO0v1ShlTSd9HHo iHNgZg+l/k55OVWOmpJRPBAMd9TBsi7zSAo/lH32IBmBjNfR8vOH35ReP8MNina7exepphx50/NUi K8WdKYhdxBML+9Z77bfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOg4g-00000007KcE-0zfi; Tue, 02 Jul 2024 16:09:46 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOg4c-00000007KaS-0ex0 for openwrt-devel@lists.openwrt.org; Tue, 02 Jul 2024 16:09:43 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2ec61eeed8eso54670731fa.0 for ; Tue, 02 Jul 2024 09:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719936580; x=1720541380; 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=nS8Un57YH9F7oJhZoaMjN34sqPJZpD9KNV52ebseiAE=; b=eLJ6JrqlrSDK6twlaC39hkvet9Fdk3fKVx0BG1+m7VRD9jQasgjO6/4ESDTs0+uAF4 6wroiD/i0j41GmTVhZdwoEZc9jtAgdOgzl7Pgb645UiXJyrkVoVWjEMEPbd6NVCQNQMg apkhhcx9j2+nthIB1QjKkNZWyO1eB1o0U7n+dcnjFH/8sG1zeKQFLdVjgxSHGscSJ6/f FrfnYQuwXdS07XaBvV73MxKmhfY/ygaWPKIYdEULUIzr9Em+02qTtf+rKr301vXbWNuC XO4PzClFbk5bF7nVeFHBz3J/gambXZCOrqYwJkY+Isus/nP8xKfM0zqBQ30vSXVJ3q0O Utkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719936580; x=1720541380; 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=nS8Un57YH9F7oJhZoaMjN34sqPJZpD9KNV52ebseiAE=; b=ovQHXc/Bg4YK52GmruX1DorimHFj0QUTOOp2PENPMbdJum321+ykmF66/AL4x6Wpmm COViEdGUpeduYqYJoEttEyPMWmmI5hgTHUBwQtp49ziFfMrFoN19Wi5eJG2fixcpdOGt GafHCaPyw4+5QYmaF7A67WEWnL0eqnqKMU5HjtlIrl7Li2nXb+fnF39/4aszAivni530 zy8bZU/Bx+aACl217H+SYj/+G1KuN0kB2JY/Gy0BXjOo7OcyvBOwUT5D+2PG/iy55rKB enghrwXyYQAp/eqmHGFZZl24LzTW6nLNeL0RAicnP06Tfv2hAXzxKsBqKatn0fHh5Bs8 8B5A== X-Gm-Message-State: AOJu0YzCFYYY7o+rmDFcdCmSEQQbtDuhaW2sAlv5yKAErW5Z/cFZr3uV O+jREUvLDwcpETw3kndLcK5MtIrPpmuiLKCLZz3yxuMDQEn6iwyWDausVjlW X-Google-Smtp-Source: AGHT+IHHjyHqjclPMqw+cF/wvF+GwHRuA+mGTQPc7kglzI+CQkjUA4+FnOCWOnHzdTOHP4Q+BAcFMQ== X-Received: by 2002:a2e:8216:0:b0:2ec:1a8b:c374 with SMTP id 38308e7fff4ca-2ee5e6bcb2fmr57564001fa.45.1719936580063; 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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 09:09:39 -0700 (PDT) From: Enrico Mioso To: OpenWrt Development List Cc: Enrico Mioso Subject: [PATCH V2 1/3] mvebu: GL-MV1000: add custom boot script Date: Tue, 2 Jul 2024 18:09:07 +0200 Message-ID: <20240702160924.732179-2-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_202710_CFD08950 X-CRM114-Status: GOOD ( 14.08 ) 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: This allows booting from internal eMMC or SD card just changing the U-Boot mmc_dev variable. In particular, setting mmc_dev to 1 will result in booting from the SD card. Setting the variable to 0 will [...] 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:22b 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 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 This allows booting from internal eMMC or SD card just changing the U-Boot mmc_dev variable. In particular, setting mmc_dev to 1 will result in booting from the SD card. Setting the variable to 0 will result in internal eMMC boot (the default). Should the variable be unset or an error condition occur while reading from SD card, internal MMC booting will be tried. Signed-off-by: Enrico Mioso --- target/linux/mvebu/image/cortexa53.mk | 1 + target/linux/mvebu/image/gl-mv1000.bootscript | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 target/linux/mvebu/image/gl-mv1000.bootscript diff --git a/target/linux/mvebu/image/cortexa53.mk b/target/linux/mvebu/image/cortexa53.mk index afe8d9ce21..2a3b5ee11e 100644 --- a/target/linux/mvebu/image/cortexa53.mk +++ b/target/linux/mvebu/image/cortexa53.mk @@ -3,6 +3,7 @@ define Device/glinet_gl-mv1000 DEVICE_VENDOR := GL.iNet DEVICE_MODEL := GL-MV1000 SOC := armada-3720 + BOOT_SCRIPT := gl-mv1000 endef TARGET_DEVICES += glinet_gl-mv1000 diff --git a/target/linux/mvebu/image/gl-mv1000.bootscript b/target/linux/mvebu/image/gl-mv1000.bootscript new file mode 100644 index 0000000000..be93aa36a0 --- /dev/null +++ b/target/linux/mvebu/image/gl-mv1000.bootscript @@ -0,0 +1,28 @@ +# Boot script for GL.iNet GL-MV1000 to make it easier to boot from eMMC or SD +# card. + +setenv bootargs "root=PARTUUID=@ROOT@-02 rw rootwait" + +if test -n "${console}"; then + setenv bootargs "${bootargs} ${console}" +fi + +# Should mmc_dev not be present, default to internal MMC boot +if test -z "${mmc_dev}"; then + setenv mmc_dev 0 +fi + +setenv mmcdev "${mmc_dev}" + +if test -n "${fdt_addr_r}"; then + setenv fdt_addr ${fdt_addr_r} +fi + +if test -n "${kernel_addr_r}"; then + setenv kernel_addr ${kernel_addr_r} +fi + +load mmc ${mmcdev}:1 ${fdt_addr} @DTB@.dtb +load mmc ${mmcdev}:1 ${kernel_addr} Image + +booti ${kernel_addr} - ${fdt_addr} From patchwork Tue Jul 2 16:09:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enrico Mioso X-Patchwork-Id: 1955507 X-Patchwork-Delegate: robimarko@gmail.com Return-Path: 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 ; 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 ; 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 To: OpenWrt Development List Cc: Enrico Mioso 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 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 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 --- target/linux/mvebu/config-6.6 | 1 + 1 file changed, 1 insertion(+) 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 From patchwork Tue Jul 2 16:09:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enrico Mioso X-Patchwork-Id: 1955506 X-Patchwork-Delegate: robimarko@gmail.com Return-Path: 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=sgB36Yai; 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=U3LLrHzG; 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 4WD7F80z90z1xqg for ; 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=f80b7z0d5GDHxaGFHSL0WZiFkyTbDtU/XmlMm+NIXZ4=; b=sgB36Yai9rC8QS lKLxxWZ5ATA/AQ1tpq8RcsdBrt+psyo9Ys4ka3xePdOvnWaG3H5osCLv9KK0GqNRCXLllr3UDuN/l OqKotkU8T76qNMEKhEuTHGkAZVnkuIuyypVD1S+TxUpq9a6c/NKZDRl5I6rd57bIWhG/TSE5t3BPI ir0K3RQss0GohsRspEvJA9hawFJlS4Ur+BJoizTe6Y17ySY15s5kTz7sigt189YCO1BntCRIayh+f Fu8L7XsXIcfZivoF67yL7/K7AdL3ukuXQU/MMjnyQMK4EZPQFa+NgdRL4vR3h74NbcZSUhQe4vvD5 AMOzFUB5k3NUAphYnCyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOg4i-00000007Kd7-3dYq; Tue, 02 Jul 2024 16:09:48 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOg4d-00000007Kaj-0Abs for openwrt-devel@lists.openwrt.org; Tue, 02 Jul 2024 16:09:44 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-367601ca463so2540953f8f.0 for ; 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=r6VGlxgcCslBvUHbg917vCe0suzFv0leUj2DClN9TaA=; b=U3LLrHzG5UqLjt5YTbDPYs6+ZNfJdPpkpAx4ztqHdOp0zMQnJTvZcS1yZB2wB1Fesb pXaqRe+GSm7unGj+pgtlp0yu9VhO6gS9IN0CN15WTSA9qqKm939qGSpSuUm96Sm67lB6 J9u/73m/oiYeO24F6LnkR1tQCKANECYJxkdYxikC88V7VNfgpVbkN3J+sF06tJ6Wyyzc CE8QGAastxKlLP6QgiRq79HNkcgwzxQ2rgOjF0jiFnyb9m7TttvHxsA624Y6ujss1qxV aev/3D+sPteVxuFysRCdlmdxnXwNdmaXKtEKmNTvh2mM5pgJKS4SSX/3zrXOl50CJ542 7iMA== 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=r6VGlxgcCslBvUHbg917vCe0suzFv0leUj2DClN9TaA=; b=oYLobsJ6IEhoC5F1ptUwXFI2bMidMybB+ODTbGV+eKWi22Fys5pZ1fz0ghPqckd3Va o5oZI8NqoKHHANZtje9jYHkmejcf35wXmiynkPEQUd1vNiEW+9ZokoxpsjsxrrC/7gRS 67iwVkrPpkBjWlI+bgNMAsidVrCSqHA1kdNpVAFcDBPqpX7LMVKR6TuaMYZ43nHZSzjP x5OYnd2ZnbiPcuoo2yMCI8clApEN1CakVdD/u9PbgyUku6F2jle2G5tvpgcUkajlBtrP x0ZhcZaZakxdz78S19pWObF0qrvcCrbblFi3bgi+DdF1cuHeiGHz5ArebZ7iCD2DlPy9 uxaQ== X-Gm-Message-State: AOJu0YyMFteZL8bZbTSWjbKJ9M5hYREy2qrmvoeqBPgJ8Y2DogEwvBqD W8BNKfX9mmgtldLbIWjLtg3g/zpHRB21Da1mAniqxbxj6BHIfpnspNVAra2J X-Google-Smtp-Source: AGHT+IEBmumDSHtOM3j9MMjnxtkUw/BR6D7e6sYphjcqddGTN302lDEUVFLtFj6QlYWc+JleazVfvQ== X-Received: by 2002:a05:6000:d51:b0:360:9e68:d9e1 with SMTP id ffacd0b85a97d-367756bd5d6mr6279632f8f.40.1719936581283; Tue, 02 Jul 2024 09:09:41 -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:41 -0700 (PDT) From: Enrico Mioso To: OpenWrt Development List Cc: Enrico Mioso Subject: [PATCH V2 3/3] mvebu: GL-MV1000: let u-boot-env be writable again Date: Tue, 2 Jul 2024 18:09:09 +0200 Message-ID: <20240702160924.732179-4-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_090943_086384_0F0B02A3 X-CRM114-Status: UNSURE ( 9.49 ) 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: Allows easily changing boot media for GL-MV1000. Signed-off-by: Enrico Mioso --- .../arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/mvebu/files-6.6/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/target/linux/mvebu/files-6.6/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts index 07400fce3a..e [...] 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:431 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 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 Allows easily changing boot media for GL-MV1000. Signed-off-by: Enrico Mioso --- .../arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/mvebu/files-6.6/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/target/linux/mvebu/files-6.6/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts index 07400fce3a..e098ede75f 100644 --- a/target/linux/mvebu/files-6.6/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts +++ b/target/linux/mvebu/files-6.6/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts @@ -100,7 +100,6 @@ partition@f0000 { label = "u-boot-env"; reg = <0xf0000 0x8000>; - read-only; }; factory: partition@f8000 {