Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp110566pxb; Fri, 16 Apr 2021 00:36:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbIFsuRgUIuq6S1XdH3BCuEgzYbFle/rOj1uh4r2dM0Yg9g8S37HhV6OGkbEjgjTleXWvo X-Received: by 2002:a17:906:c297:: with SMTP id r23mr7281499ejz.48.1618558593016; Fri, 16 Apr 2021 00:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618558593; cv=none; d=google.com; s=arc-20160816; b=fu3U/vHBv53i8S1W7AkfBnMTyK/sHHJ03HMNX1nH1I5/w82+HA3YYb4m7GvzBmxzOO 2DA6T6d4nNyt2Atw+SHMZwxiZwvzlTJcc7Ry2RhXVBDUwvAT+HPoS9QljZ2jfEzLP+ql WztjfIpVe4jc+AsTOMWR4gqE+ZcIo3UyqFGg7Kgbq6rsqodAHaVkFFDsYNvUXGPftXrA PnnpfiuYtHOjHjZIezm5oDbWS3mKsi8hzJHgLVqTrtoixUZF57T2mpI7J42CflL2mh55 /+BrKvfPPmXSNWz6bIbFtFlriofLiFYTlR8lLo/Il3lhX/IbdVOyl7BCTDB/3zaXYUIH YgNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tJD4Wffy8UFddOPkdi2YXR6U7i7vtfGmTFUKn6fdSpQ=; b=eNXexYuT8JsKp08R8A5H6p1OLB1YEXzg36RZV4TJOaPu2Jxq8UlokgUCgpuBefqFfd beifkkSLLd6auRM//cQ33Iph+RNe/2vH9huIbSfeYxIi4vGQqDnC4BZEpfrrDlMKDbOc DyHwQDwGlav8qOrt0cmIwTFRKfnWTqAShju8tMvRIf9ZAeHV53NniNCGyxrF7KdZIfmC rWwlk1QgFcQCc7jxGmya5MyYFLiQI8Ajix2uueV53MVHDdAxDE0rC7G8l2svxwzW6gCY apq4HtmI4HmyP38ffvS0Rlizg3V4RzWVvYJjV7gDv9VHE59e9cV3JvC05axzy7l9FQNJ ALiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=G+yNnwMn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zm10si4178084ejb.623.2021.04.16.00.36.10; Fri, 16 Apr 2021 00:36:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=G+yNnwMn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239519AbhDPHfl (ORCPT + 99 others); Fri, 16 Apr 2021 03:35:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239201AbhDPHfk (ORCPT ); Fri, 16 Apr 2021 03:35:40 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EB0FC061574 for ; Fri, 16 Apr 2021 00:35:13 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id n184so948903oia.12 for ; Fri, 16 Apr 2021 00:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tJD4Wffy8UFddOPkdi2YXR6U7i7vtfGmTFUKn6fdSpQ=; b=G+yNnwMnLDElOBnF2B2+GxANp7XTkHj2DLoP/s3CNBCAi6w7gglXHy8oFGuZ6Qp2Qm OkeIpoc212lPbkc1hyJkm4A51KOcLo2OlS6K9uJ5dEF7gXETSsxiw5XJDsJgsXb3s2oE lTp4C8qSueJ08ORlfJ2m5xth4v57F+vKbyegAMM9luRp1wBe//U+v9gUr3+lZXdesng9 WwQpdi/QHfafpxLKTrJMbumRxFxzlDgN3ecEtb/fdhrAiLMY2USct0BXoIde0q8IFcLB IWa4uZRPhHVPfVLPtQM/ta90PyYBStMFJkJZJ9KNDBnVYP5W6ET3vQKd71EAnaMFp0Hu 7rPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tJD4Wffy8UFddOPkdi2YXR6U7i7vtfGmTFUKn6fdSpQ=; b=heuAM+B3lbVv3OFir37gbOLsp5JL0ZxZhIySOTiTthwGSCz921g2leMh+/TGTIBBOh 5E/A2Wxh1BtPZMGuM/w6ishdQXn15fy3yz1+SBGRh86y7I4lyFvftnXe9Do+vugyEwaz wjrmJGfV51spqq/gWgDTdYF08KDZq+zK6MBrTFKwKBC1+lB07Erli4K9LOvlFFxGP3KB Imh2+SvYDJmrvBUZANVN/vAEzMn0fb9azHOTGr0y+GOPz8qEQtBv3qYFi/21tmht6qTY stHxCG7W0d3OFrz9nhLAlHRGiQuwPiz5qWQ8i5x9lKhuyjlwGJzBcjetaBxViA42grgO DKdA== X-Gm-Message-State: AOAM530WbfQa5YeKMiEl3ihmORTPATBiA3DbWZF3vuegbTqquuvlPo2U eTCYq/mR4Ldnw16xQeIbTcajmj01OQSC0CLaf7uFyg== X-Received: by 2002:a05:6808:d50:: with SMTP id w16mr5521425oik.28.1618558512880; Fri, 16 Apr 2021 00:35:12 -0700 (PDT) MIME-Version: 1.0 References: <20210316085932.2601-1-troy_lee@aspeedtech.com> In-Reply-To: From: Lei Yu Date: Fri, 16 Apr 2021 15:35:01 +0800 Message-ID: Subject: Re: [External] Re: [PATCH v1] ARM: dts: Fix 64MiB OpenBMC flash layout and aspeed-ast2600-evb.dts To: Joel Stanley Cc: Troy Lee , John Wang , Rob Herring , Andrew Jeffery , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list , leetroy@gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 16, 2021 at 11:03 AM Joel Stanley wrote: > > On Tue, 16 Mar 2021 at 08:59, Troy Lee wrote: > > > > Aspeed AST2600 u-boot requires 600KiB+ flash space. Sharing the same > > openbmc-flash-layout-64.dtsi requires to resize the flash partition. > > > > The updated flash layout as follows: > > - u-boot: 896 KiB > > - u-boot-env: 128 KiB > > - kernel: 9MiB > > - rofs: 32 MiB > > - rwfs: 22 MiB > > Changing the 64MB layout will break the systems that are already using > this layout. I'll get the Bytedance people to chime in, as theirs is > the only system using this layout so far. > > John, Lei? Because the kernel's offset is updated, several other changes are required: 1. The related offsets, which is already sent to https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/39343 2. The u-boot patch to update the `bootm` address and make sure it only applies to the 64MiB layout. Without the above two changes, I would suggest holding the merge. -- BRs, Lei YU