Message ID | 46373650.Ab4fQAR1kK@tool |
---|---|
State | Accepted |
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@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=FH5aSDxg; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=HI9tenI4; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=k/BFDefP; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49rKlG0ygdz9sSJ for <incoming@patchwork.ozlabs.org>; Tue, 23 Jun 2020 05:50:32 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; 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:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=lfR5zz8s+ksy8Hs1Xj30YDF/bCdFZC+kzvqZYG1L76Q=; b=FH5aSDxgeXnUC8Z+/st0KMeoBy 2ZczX1R1BP5hDyjNc0HpyZyb68RX4uT35fVTn7qrp6DFlRxWFnUvM67N7918Wct0ssIp3q964mTIH du2anVtwm+KUD4lLGEHrjkuPz9q5pl9WvYf6HxmyQXVwpfpXswKrfOTcGG85xgzpXGmTiW2Bf91j/ 9xeSajgnHqR4IQnTuMEWr6Fo0AtnXxTSBX+XuarDKbMbdpvqiSj3WCHcNno9fWtPHyIlXggHaTkaJ DUWGfFmDd3WzKlDPnT/OhZd6JTQfqnChE0XYuCsToHHdpKGKbQ6Tc8KDYpEBechzrJREF7PkR+4FU 1AVjzntQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnSPj-0004UU-SC; Mon, 22 Jun 2020 19:47:31 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnSPh-0004U8-VC for openwrt-devel@merlin.infradead.org; Mon, 22 Jun 2020 19:47:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=5cOzsHG+ppM9x5EfGGogSs9xqnV8xZ40n7uQWi6zH/4=; b=HI9tenI4QKFOZnH5Ee7zRA2Z7C /01ej1O5PXDaRkYCOv6qcgwwptGrFQNdbis/3Eqx4ontGOAE5Tu/UsPhKj86rBV2gyVXykRw41rF7 ZEJwSaa9BmmxyUdDE3M4o547NizioPPG7ywmOuq942KZN1Ea6nOZ7Ps+knVeCPW/a55khxvOL9dDE A0OQVm/p/eyG81DbjByO7fjH372ozyi7ezu0KE1ZiN47l2DfAG5/ctZgsyBNcAuARqsHVkSODACrs stP45GXSRcVk7PCrJeRh7BFOqZporqxCkBSVB02WZMLa8puJwyw/pYKyYWJyTMy0kWt7OOEkIeMre PFzotwAA==; Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnSPe-0003Be-Uo for openwrt-devel@lists.openwrt.org; Mon, 22 Jun 2020 19:47:29 +0000 Received: by mail-wm1-x343.google.com with SMTP id f18so756489wml.3 for <openwrt-devel@lists.openwrt.org>; Mon, 22 Jun 2020 12:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=5cOzsHG+ppM9x5EfGGogSs9xqnV8xZ40n7uQWi6zH/4=; b=k/BFDefPea5Qb3gD8mNWdFrmJjnBBXPWLf6fuEPZ+eMCDOzDgR69lw7aJGJjZU2iTi M6K3HbxC1OgwitmiNg8TClnJgRG77bRsEICu7SI3WjnccQcj1Qdvc2hG/LwSV38HLnK4 i+toy6HHbqFscl81w61Vs1MrWzmRY2Ht7FtbKLfTaUhd2aew6F44jV8FtYPn93YJdBWC yWmOpyOH8L9JVq8Lw9NM/+1WS0k4S0fSrrLMWoRG9qvG7+n0hzzk/SWQCPicMGHNlMfM 7MjAaGfFNV5HQsUsGHAIjwW00tU/H5190ZyfdcYMb3+iwzqAj9I65ZMAI3+L5t0AFhOp Wy5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=5cOzsHG+ppM9x5EfGGogSs9xqnV8xZ40n7uQWi6zH/4=; b=BqX0oa8wfxwDA6RL9ctbPSRxC5nGyHW5FwQF3d2qpiAx+9KvnM5bsBkFDYicGvLhoD M2wHv3c2IC+2dWVwbQfdQX2g2CEtQJDWTe87SmVxRlZacr5pBE21YE5s5J8TCg9+fKXX SYGqXJDYup+X9O0DzouHodTNt3czrVHYeTKYldQtQ2f4Sgk7fUAYZV2VT7hYhtFJSYTT z2z55Ki6qMqHRpvsImJpeRMYqOIjxZZtOD2ShIsezXMn0kMuVtkrkG8qgpgnhQwONkFA lFsrljUMFBSBvuerh22+OQ9uLVQZEFv8UgCp7u2U0NHVHxDXK2nCUG3Ve9ihLVrerGR2 dvgg== X-Gm-Message-State: AOAM532pOFaG2r2+ahVQdRspz1EWW4GA5XMAcvUiYAeb0cvn8DwdBiZ5 /YaliAsif5UHnn66pVjbtWr9k/i+ X-Google-Smtp-Source: ABdhPJxwThSsSxgD+kQ8ZuxkS+Rj7ZF0AXQGqaopY0Gh4RBOgkOM0fYE+znIJ0CU/QZLrgKqALA1jw== X-Received: by 2002:a7b:cf31:: with SMTP id m17mr19086706wmg.47.1592855184478; Mon, 22 Jun 2020 12:46:24 -0700 (PDT) Received: from tool.localnet ([213.177.196.114]) by smtp.googlemail.com with ESMTPSA id f16sm658223wmh.27.2020.06.22.12.46.19 for <openwrt-devel@lists.openwrt.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 12:46:20 -0700 (PDT) From: Daniel =?iso-8859-1?q?Gonz=E1lez?= Cabanelas <dgcbueu@gmail.com> To: openwrt-devel@lists.openwrt.org Subject: [PATCH v4] bcm63xx: R5010UNv2: fix flash partitions for 16MB flash Date: Mon, 22 Jun 2020 21:44:44 +0200 Message-ID: <46373650.Ab4fQAR1kK@tool> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200622_204727_113194_73C32910 X-CRM114-Status: UNSURE ( 8.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 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:343 listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [dgcbueu[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.infradead.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: <http://lists.infradead.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
[v4] bcm63xx: R5010UNv2: fix flash partitions for 16MB flash
|
expand
|
diff --git a/target/linux/bcm63xx/dts/bcm6328-nucom-r5010un-v2.dts b/target/linux/bcm63xx/dts/bcm6328-nucom-r5010un-v2.dts index 639cef3a7e..365a4552f2 100644 --- a/target/linux/bcm63xx/dts/bcm6328-nucom-r5010un-v2.dts +++ b/target/linux/bcm63xx/dts/bcm6328-nucom-r5010un-v2.dts @@ -94,20 +94,20 @@ #address-cells = <1>; #size-cells = <1>; - cfe@0 { + partition@0 { reg = <0x000000 0x010000>; label = "cfe"; read-only; }; - linux@10000 { - reg = <0x010000 0x7e0000>; + partition@10000 { + reg = <0x010000 0xfe0000>; label = "linux"; compatible = "brcm,bcm963xx-imagetag"; }; - nvram@7f0000 { - reg = <0x7f0000 0x010000>; + partition@ff0000 { + reg = <0xff0000 0x010000>; label = "nvram"; }; };
The router Nucom R5010UN v2 has the partitions defined for a 8MB flash, but the flash chip is 16MB size. We are wasting half of the flash. Fix it and use generic names for partitions. Fixes: 474cde61234c ("brcm63xx: probe SPI flash through DT") Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com> --- Changes in v4: - Patch refreshed - Now using generic node names for the partitions Changes in v3: - added missing SOB Changes in v2: - the mail client truncated the patch header, fixed target/linux/bcm63xx/dts/bcm6328-nucom-r5010un-v2.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)