From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=google.com (client-ip=2a00:1450:4864:20::52c; helo=mail-ed1-x52c.google.com; envelope-from=osk@google.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="COq4BPmx"; dkim-atps=neutral Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 46RqZv6DdjzDqHg for ; Tue, 10 Sep 2019 00:01:25 +1000 (AEST) Received: by mail-ed1-x52c.google.com with SMTP id v38so13057780edm.7 for ; Mon, 09 Sep 2019 07:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VaBE61BB5p3R0WxaYYXFQ7eNf5dxGZPkxXppKPrG12g=; b=COq4BPmxPKK5wpHzUBl40eUaK2UBm+2UxYl+2YCpHuMh6JkND8bwdwujyd0ZF1mEMT yZk/fTQLs57Av7IU+wCK334y5E0QqjtGkGEZKkuxoYz6WHQmskwQIRYIfqNT8dIVlqfA a2FM3GGYLqpBC5KsOaT6MJIj3j7lOWg1cl8tkDKygM+0kxpAo2t6RKonckQiYvowBUUe Q+d4CiNqKOEaNGKQlTzUfJGrlAJm6qPZrTMfeTUaejO5L4aLnjvV7a1IOBDMYrF21rzE 0H6YPUN10UiVtpC1yo0rLdAve5GdxvHVa1mIdrZ1d2gzpm1kzAlayRcP12sUrHhfUcb9 7T7A== 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=VaBE61BB5p3R0WxaYYXFQ7eNf5dxGZPkxXppKPrG12g=; b=XzIfSO5n+JVMCsotevo5nnsr422JBFt4P5m5VdCAA5LGv5u4p1yVPvcQmIdWeL877G h41j7F+vIbneFKHuq1txWJ+OGmBWfcaY6XNQev8C2fgIBrW1NmH8e7ftcx0B6ck5JTJC mnr1pkymP/NmUb89zSJIa2hrvz36taKS66ne9eTbf6WESrVZthcJs8iPiGJ/1I/rOP72 R/3SB73nv+znpfISjaw9w1ToUS/7Cn0Ry7TEVzYNqHaDE2NRT5UIzq7H39aHPn2S/oO9 MLuUvXZTVMr+/CL0YaIyrSuPUlymkXkTnYnnEht0pnJvoDZIR/KlYtlc03fEYmHNLMOf zAbw== X-Gm-Message-State: APjAAAXq7BNpv0Wjy3f7BsaZUbFYCS4P09KzaIeXtEQl0YkXd2g9aEdG 7N/h/w/nGT2KUVMTE4TPNQs+MQZszAJd9Cj31PGSLQ== X-Google-Smtp-Source: APXvYqwF6MAaIF63N+wmfPuvotwdAcTo9sK0Mq85S+qrPE7P552SO6Wl2DTJ1fgFtqf76ujO3E5jdwFggic+XawMnus= X-Received: by 2002:a50:d718:: with SMTP id t24mr22110627edi.168.1568037681623; Mon, 09 Sep 2019 07:01:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Oskar Senft Date: Mon, 9 Sep 2019 10:01:05 -0400 Message-ID: Subject: Re: phosphor-ipmi-flash: Update over eSPI interface To: Harry Sung1 Cc: Patrick Venture , Andrew MS1 Peng , "openbmc@lists.ozlabs.org" Content-Type: multipart/alternative; boundary="0000000000000265ea05921f39e6" 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: , X-List-Received-Date: Mon, 09 Sep 2019 14:01:29 -0000 --0000000000000265ea05921f39e6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Harry What's the behavior on eSPI? I assume you still have the aspeed-lpc-ctrl enabled, right? Thanks Oskar. On Mon, Sep 9, 2019 at 4:41 AM Harry Sung1 wrote: > Hi Patrick, > > > > I found =E2=80=9Cphosphor-ipmi-flash=E2=80=9D have not support flash over= eSPI yet. > > May I ask if you have any plans to support flash over eSPI? > > > > I have done a simple test about shared memory between host and BMC : > > The shared memory is work after I set ESPI084 (source address) and ESPI08= 8 > (target address) registers. > > But it has an limitation that only 256 bytes are available on each page > (4KB). > > > For example, if host address starts to write from 0xFE0B0000 (BMC reserve= d > enough memory already) > > Writable area are: > > 0xFE0B0000 ~ 0xFE0B00FF > > 0xFE0B1000 ~ 0xFE0B10FF > > 0xFE0B2000 ~ 0xFE0B20FF > > 0xFE0B3000 ~ 0xFE0B30FF > > =E2=80=A6 > > =E2=80=A6 > > =E2=80=A6 > > > > > > Thanks, > Harry > --0000000000000265ea05921f39e6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Harry

What's the behavior on eSP= I? I assume you still have the aspeed-lpc-ctrl enabled, right?
Thanks
Oskar.

On Mon, Sep 9, 2019 at 4:41 AM Ha= rry Sung1 <hsung1= @lenovo.com> wrote:

Hi Patrick,

=C2=A0

I found =E2=80=9Cphosphor-ipmi-= flash=E2=80=9D have not support flash over eSPI yet.

May I ask if you have any plans= to support flash over eSPI?

=C2=A0

I have done a simple test about= shared memory between host and BMC :

The shared memory is work after= I set ESPI084 (source address) and ESPI088 (target address) registers.<= /u>

But it has an limitation that o= nly 256 bytes are available on each page (4KB).


For example, if host address starts to write from 0xFE0B0000 (BMC reserved = enough memory already)

Writable area are:

0xFE0B000= 0 ~ 0xFE0B00FF

0xFE0B100= 0 ~ 0xFE0B10FF

0xFE0B200= 0 ~ 0xFE0B20FF

0xFE0B300= 0 ~ 0xFE0B30FF

=E2=80=A6<= /p>

=E2=80=A6<= /p>

=E2=80=A6<= /p>

=C2=A0

=C2=A0

Thanks,
Harry

--0000000000000265ea05921f39e6--