From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79F2DC56202 for ; Mon, 9 Nov 2020 17:29:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 06F7D21D46 for ; Mon, 9 Nov 2020 17:29:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="x6R8Hsep"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nwt8yOV2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06F7D21D46 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=P828Lsv0qGU+m2Ufefwnd2Hhp0YAzG2f7+y7oNnQz1E=; b=x6R8Hsep9Q/Ip8rd1C4aoSHom N7QNLs0k+nP1Lo+eMxPQB8J2k+5/oOL5UqmlU1Rt74O+Bcz58rgtoRZSd3BkaaNr5WuLsA0WguXVp Lj+fO9ECCjf82bESRZRqNI47UiqW1El96cwQV+3Ms5heLqVr63pyxwfJfp+ThJuFbZEDGLJk1hF6g gacYi5SsvMppbSF1tjnGFuluI1gtqgz/pqhjgo0bRxQ3tWv9j2Z2gkzB1ZMZv8Ff7hj86B3CdfA6D Sgu91spkpByVi5Bd/L+MWye+dqtfjW6NQMHnDm2TBZORVlFZzST44eHGkQE5v/DAK/UwjJ3JjsIuV HmyEVLPkA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcAyM-0004DE-BD; Mon, 09 Nov 2020 17:28:54 +0000 Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcAyJ-0004B1-4h for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 17:28:52 +0000 Received: by mail-lf1-x144.google.com with SMTP id u18so13535252lfd.9 for ; Mon, 09 Nov 2020 09:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oob/x6TgbSkIzBqStoRcBvlxDjkg5j4q3OalbOiwR7k=; b=nwt8yOV2OTG2ahjQwYOnUEq41venCHBjAIe1HrKvZtbjCkQRX3EFt+ZZHCrKKUUDtT vbrnhoIbeKSkewOHy7hSGjVR7EZlHvqkid/pllq1f5Ho1vG4R8A/ld0N32CtbLtKJfKB waziUWOsXQpXJuPgGFa65MTkG+FuzU0b3Ck3rqvX13B843l2PenlCwwMMBD6vqVnrwyr 5S+Gb6vPBie3zBJXdpd5mZ1YXfCRFLAHIsospYWuyolMt2PZbDLzXwGF4Oe7/2DTEZ9F JY94p9nJ8mt/VG2IN8/woawnytMF5cIF9KxasuQenOeMe0qmZsCOY1Os06OIYJjpc9IN fGfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oob/x6TgbSkIzBqStoRcBvlxDjkg5j4q3OalbOiwR7k=; b=bM5CZHprLvRbLX1O2fdDVbLHrHJ+2y/fhGF8ofgI5xN0gQFHXx1bgxT7LP4c5HPGUG 3pGML4Nq/5iDvO96vy+Jb8gUVGXa5LwhSe9JXv+FrjFtOizgwmV+cnJxNM2jvJbHG0Ji kxe4EI2mBlmDvOomNTgFfEMfMPbr59+MsbdItjMBF1YlDK4qsT/XtA9L7QVaI8IxV6za XwSoBKNmF54+RBGqCOaAIyjhELKDTn3tZVlCHDISPOfAVpMt/VUk9znBRWqLyJOuJERD 9YqChIB24BzmUPMCmyaA7NQwbPKqMe60RycbR47RnPVUNd1wXHehgyKtl7L4GizfoYQL FOEw== X-Gm-Message-State: AOAM530fhy/iZ8JfX1GOCwZAPvhJMFS9vMn9aLYsCMWHcmmUh+co8Ffy 2Id4qvnjn8xxHvjZ6MC1qVM= X-Google-Smtp-Source: ABdhPJzPG+Hasa7/HT5fpa2KLVVDf2BZ4VQ1pJwjqvsImle0uqW7VevhyqTA41Rp1oSUY3tyjrwo7g== X-Received: by 2002:a19:90b:: with SMTP id 11mr6487389lfj.316.1604942926195; Mon, 09 Nov 2020 09:28:46 -0800 (PST) Received: from elitebook.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.googlemail.com with ESMTPSA id j64sm299533lfd.104.2020.11.09.09.28.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Nov 2020 09:28:45 -0800 (PST) Subject: Re: [PATCH v2] ARM: dts: BCM5301X: Linksys EA9500 add fixed partitions To: Vivek Unune References: <20201101200804.2460-1-npcomplete13@gmail.com> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Message-ID: Date: Mon, 9 Nov 2020 18:28:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201101200804.2460-1-npcomplete13@gmail.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_122851_250213_F3C3B52F X-CRM114-Status: GOOD ( 16.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, florian.fainelli@broadcom.com, Hauke Mehrtens , linux-kernel@vger.kernel.org, Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 01.11.2020 21:08, Vivek Unune wrote: > This router has dual paritions to store trx firmware image and > dual partitions for nvram. The second one in each of these cases acts > as a backup store. I'm quite sure CFE is supposed to flash new firmware to the backup partition and then mark it as main one. The old firmware partition becomes a new backup then. That means you need to check which partition bootloader used to handle partitioning properly. > + partition@200000 { > + label = "firmware"; > + reg = <0x0200000 0x01D00000>; > + compatible = "brcm,trx"; > + }; > + > + partition@1F00000 { > + label = "failsafe"; > + reg = <0x01F00000 0x01D00000>; > + read-only; > + }; Here you assume CFE always boots from the first firmware partition. Unless EA9500 CFE does sth stupid it seems like a 50% - 50% guess. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel