Unable to read or write from system SPI flash memory.

Andrew Jeffery andrew at aj.id.au
Fri Feb 15 10:28:08 AEDT 2019


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


More information about the openbmc mailing list