Unable to read or write from system SPI flash memory.

AKASH G J akashgj91 at gmail.com
Fri Feb 15 16:33:06 AEDT 2019


I just powered off the entire board. After that the data is not present in
the SPI1 flash. But before power-off it was there.

We are using OpenBMC Linux version 4.18.7 and pflash v6.1

On Fri, Feb 15, 2019 at 4:58 AM Andrew Jeffery <andrew at aj.id.au> wrote:

> On Thu, 14 Feb 2019, at 14:59, AKASH G J wrote:
> > I am using the following command to write data to SPI1 flash.
> > *pflash -e -a 0 -f -p <filename>*
> >
> > On Thu, Feb 14, 2019 at 4:13 AM Andrew Jeffery <andrew at aj.id.au> wrote:
> >
> > > On Wed, 13 Feb 2019, at 19:24, AKASH G J wrote:
> > > > Hi all,
> > > >
> > > > We have a test board containing BMC Aspeed AST-2500. It contains BMC
> > > flash
> > > > memory, SPI1 flash memory and SPI2 flash memory. we are using zaius
> > > machine
> > > > configuration for building Linux. When I am trying to write to SPI1
> flash
> > > > at address 30000000 using pflash tool, the modified data is not
> reflected
> > > > after reboot.
>
> A reboot of what? The host or the BMC? Does this mean that the expected
> data
> is present after the pflash but before the reboot of whichever system
> you're
> talking about here?
>
> What are the versions of the BMC kernel and pflash tool that you're using?
>
> Andrew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190215/81d43ee3/attachment.htm>


More information about the openbmc mailing list