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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0842CC433F5 for ; Fri, 29 Oct 2021 12:40:11 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 4A01C6117A for ; Fri, 29 Oct 2021 12:40:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4A01C6117A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=bytedance.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Hghpc5rX5z2ynS for ; Fri, 29 Oct 2021 23:40:08 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bytedance-com.20210112.gappssmtp.com header.i=@bytedance-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=vzw5fMFn; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=bytedance.com (client-ip=2607:f8b0:4864:20::231; helo=mail-oi1-x231.google.com; envelope-from=yulei.sh@bytedance.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bytedance-com.20210112.gappssmtp.com header.i=@bytedance-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=vzw5fMFn; dkim-atps=neutral Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Hghnv317Mz2xg3 for ; Fri, 29 Oct 2021 23:39:25 +1100 (AEDT) Received: by mail-oi1-x231.google.com with SMTP id o83so13124392oif.4 for ; Fri, 29 Oct 2021 05:39:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UdqT61vnqCSX2+6/mMKG07G4L9n9Q8W5V35VFx1tqEU=; b=vzw5fMFnp1Z3l/sx8s5m/sL1mD+H++ZnXUg3kxEwvRZV6uwWelcceoh1l9FBsIWcX2 YyykvAMhLenjgWmVgkJV92yZcdblbElMb6zgKmzAwE7R6O8g1YtShSY4oa6kU2C1+Sqs rb7La0G0cF+yjwd9b9/7E11LZLCM16r1AuALJp1VqeSFogmT7KP05htTpO/yJO/ePFGG 03etchEOFSuc7lxEIzlIiNfE3f2ZqOLtPNMxIVW62H6esPYZM4G/M2in0+ukB1I/v+jL VwNTGZNAnEmIJiPd8ikoWugPcyOSUCsdIo58C06Pji4KV5pLBH9rBnmEvE2mzaFv8jAj LuIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UdqT61vnqCSX2+6/mMKG07G4L9n9Q8W5V35VFx1tqEU=; b=FqYza/08HLtSbkJrbykFQqpsEqoO3jm1RU/MriDsZVCyloucQP77rFRNvdV/4F/NUr s5MLQWBYbumPEFkUhTROdoA43/DDGapZOfQTPe5Ycgox5QxF/ptwJChbfslDq1X0TDrI EEcyYtBUwHRCLd4qe3jWdYmYv0IQrCKa4wii62I90fVHgzlS9juW55WI2WCf8SYQumTI ZefVWY6tZ/qolr+l5yt7T0QRjdBriGPIZ/txAeoUF3VpjLbNcoa/kBFlp887+K79nMj2 QBUU2JBnwNKnQpuSC8QNh4B37ZBNa1ImlStufR6pV2Ky1R9LqeJ0RaKJuqzNC3irdh1a Gomg== X-Gm-Message-State: AOAM533w2AeylgMPfOp9dRFltT6qCFLdyYCI/DEfrMZh4lQd6aTlh+wb 8Vps1HAG+r8lRzrMsLGI1GlftBkBsNL3CnKOf6dRTA== X-Google-Smtp-Source: ABdhPJxccySo8HY0g6zNh2fMgS2txoBh7NpT4Y2Zrh7dEzw9xvVrBlq7/SMLFY+/g9pN109BwVF2B/gCSaUJISCh6UI= X-Received: by 2002:aca:60c1:: with SMTP id u184mr13273270oib.50.1635511160916; Fri, 29 Oct 2021 05:39:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Lei Yu Date: Fri, 29 Oct 2021 20:39:10 +0800 Message-ID: Subject: Re: [External] Fix u-boot 2016.07 env fail on 64MB layout To: Thang Nguyen Content-Type: text/plain; charset="UTF-8" X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: OpenBMC Maillist Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Please refer to https://lore.kernel.org/openbmc/CAGm54UGMSVkT=3WLVLrJwcW8OGcQJZOGYnhVvOrF1qVC7xtdvA@mail.gmail.com/ In short, it's suggested to use the u-boot-aspeed-sdk recipe instead of u-boot-aspeed for the 64MiB layout. On Fri, Oct 29, 2021 at 7:16 PM Thang Nguyen wrote: > > Hi, > My platform uses Aspeed2500 BMC with 64MB SPI-NOR. Since the change in > BMC SPI-NOR layout at > https://github.com/openbmc/linux/commit/985c3f59cc645c397726ad4ca0872cfaf7ef2579, > the patch > meta-phosphor/aspeed-layer/recipes-bsp/u-boot/files/0001-configs-ast-Add-redundnant-env.patch > becomes incorrect for 64MB layout (but still correct for 32MB SPI-NOR > layout). > Do you have any idea on correcting it for 64MB layout? > > Thanks, > Thang Q. Nguyen -- BRs, Lei YU