Unable to read or write from system SPI flash memory.

AKASH G J akashgj91 at gmail.com
Tue Feb 19 15:22:32 AEDT 2019


I flashed OpenBMC image to system flash using pflash. After power-off, I
tried to boot the BMC (Aspeed AST-2500) from the system flash. For that I
used the command *bootm <system flash address>* in u-boot prompt. That
gives error "no image found".

On Tue, Feb 19, 2019 at 5:33 AM Andrew Jeffery <andrew at aj.id.au> wrote:

>
>
> On Mon, 18 Feb 2019, at 15:04, AKASH G J wrote:
> > I wrote a bootable version of OpenBMC Linux image in system SPI flash.
> >
> > I tried to boot it before power-off, it was successfully booted. Then I
> > tried to boot the same, that time it was unsuccessful.
>
> But you just said you flashed an OpenBMC image to the system flash.
> That's never going to work. You need the host firmware on the host
> flash to successfully boot the host, and OpenBMC is not the host
> firmware.
>
> Am I understanding you correctly?
>
> >
> > Do I need to make any change in the Linux device tree for resolving this
> issue?
> >
> > On Mon, Feb 18, 2019 at 8:15 AM Andrew Jeffery <andrew at aj.id.au> wrote:
> > >
> > >
> > >  On Fri, 15 Feb 2019, at 16:03, AKASH G J wrote:
> > >  > 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.
> > >
> > >  How were you verifying the data was there before the poweroff?
> > >
> > >  >
> > >  > We are using OpenBMC Linux version 4.18.7 and pflash v6.1
> > >
> > >  Thanks for the versions. Should be handy as we dig deeper.
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190219/c81e75da/attachment.htm>


More information about the openbmc mailing list