From patchwork Thu May 26 21:08:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias Kresin X-Patchwork-Id: 626885 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rG1yg6DYkz9t5X for ; Fri, 27 May 2016 07:10:51 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kresin-me.20150623.gappssmtp.com header.i=@kresin-me.20150623.gappssmtp.com header.b=Bl5o/pn1; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b62Wq-0001lA-E0; Thu, 26 May 2016 21:09:16 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b62WY-0001Qu-Qs for lede-dev@lists.infradead.org; Thu, 26 May 2016 21:09:03 +0000 Received: by mail-wm0-x242.google.com with SMTP id a136so8978606wme.0 for ; Thu, 26 May 2016 14:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kresin-me.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=/9P2NqunPWO43mR5/syK9ZeZR9Xi6+OSeBsWb1rD5QQ=; b=Bl5o/pn1s0pzR6GupNUAiUPw2jKzrF3GNxjQ+876aYGfof+Z5pRAN8snOOtLynFzJY m7SSXfk+ukIA1Ox2D0UZdDoFnPg+KKwpEU9d0KyLWYt28Ys1hlnbBuV25gqliUwI8mIa kjTaC9lN3nqewexGXmFALfDEwkrtjuZRADWqmKb1+5a64PuA/Hy6GQg4oIt8AwXugUY/ qkgXomLiuRuUfsROJLvip/KHpoPbqehrJfImf2Oni1TT/7m+iXdtuOC2XG5COnPZz7fc FHU2/6nFIbeEsjFMjhunmv4hDOHflLNBKMQbDG2gXHT0OVCBgKG9L0uCRLt8ambCkoXb Zicw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=/9P2NqunPWO43mR5/syK9ZeZR9Xi6+OSeBsWb1rD5QQ=; b=Bj24OM2GZfy6N3pOuw/XfTzgHpcy/7hBS+6prRIbZH6JsGFQ9fP3XAoEs13w4nED3C aKJHJ7xzR1SLHVjA70V+o4+QAnXxvQ4LOyLYbsJPArPMZosh48CPM7iOfdJ+MLCNfifr x1BscssWQ5NnoUifaxbmF0BLNao6U2r0jgAU6N3zMFgqQfBOKuwgnKFUgzLg7W0N8B9i WIZ2wfwitcTY6PWduqyuB2FQvSNTipFlT0r2HuukOYziSv1ZCoHFQjDmdiErWzAwGXlx QH3O9gHrv1ZnJRur24fc2EyPeMMA67T1E/MtDsV6JGOPmWoU322l7ewiBfFkUbbcy+VM PILw== X-Gm-Message-State: ALyK8tKw8lUA3GXKsyfhnys7WBgPoOEBc74YhRmuyYP6Fhw9kDMY6meTigf7DoyDzI01Ww== X-Received: by 10.194.179.233 with SMTP id dj9mr11371332wjc.115.1464296917911; Thu, 26 May 2016 14:08:37 -0700 (PDT) Received: from desktop.wvd.kresin.me (p5DDC4E91.dip0.t-ipconnect.de. [93.220.78.145]) by smtp.gmail.com with ESMTPSA id y6sm5288755wmy.8.2016.05.26.14.08.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 May 2016 14:08:37 -0700 (PDT) From: Mathias Kresin To: lede-dev@lists.infradead.org Date: Thu, 26 May 2016 23:08:24 +0200 Message-Id: <1464296907-28020-6-git-send-email-dev@kresin.me> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1464296870-27976-1-git-send-email-dev@kresin.me> References: <1464296870-27976-1-git-send-email-dev@kresin.me> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160526_140859_192289_3CCE1B99 X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:242 listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -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 Subject: [LEDE-DEV] [PATCH 6/9] lantiq: VGV7519 - fix brn partition layout X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Use the brnboot partition layout as it is listed in the OpenWrt wiki article for this board. Configure the brnboot root selector for this device as well. Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/VGV7519BRN.dts | 54 +++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 4 deletions(-) diff --git a/target/linux/lantiq/dts/VGV7519BRN.dts b/target/linux/lantiq/dts/VGV7519BRN.dts index cc365ec..b225acf 100644 --- a/target/linux/lantiq/dts/VGV7519BRN.dts +++ b/target/linux/lantiq/dts/VGV7519BRN.dts @@ -8,14 +8,60 @@ localbus@0 { nor-boot@0 { partitions { + partition@0 { + label = "Boot"; + reg = <0x00000 0x40000>; + read-only; + }; + + partition@50000 { + label = "Certificate"; + reg = <0x50000 0x10000>; + read-only; + }; + partition@60000 { + label = "Special_Area"; + reg = <0x60000 0x10000>; + read-only; + }; + + partition@70000 { + label = " Reserve_0"; + reg = <0x70000 0x10000>; + read-only; + }; + partition@80000 { - label = "firmware"; + label = "Code_Image_0"; reg = <0x80000 0x780000>; + brnboot,root-id = <0x00>; read-only; }; - partition@880000 { - label = "rootfs_data"; - reg = <0x880000 0x780000>; + + partition@4000000 { + compatible = "brnboot,root-selector"; + label = "Primary_Setting"; + reg = <0x4000000 0x10000>; + read-only; + }; + + partition@4010000 { + label = "Configuration"; + reg = <0x4010000 0x60000>; + read-only; + }; + + partition@4070000 { + label = " Reserve_1"; + reg = <0x4070000 0x10000>; + read-only; + }; + + partition@4080000 { + label = "Code_Image_1"; + reg = <0x4080000 0x780000>; + brnboot,root-id = <0x01>; + read-only; }; }; };