[Skiboot] [PATCH 3/4] libflash: blocklevel backend for MBOX flash access
Stewart Smith
stewart at linux.vnet.ibm.com
Wed Feb 22 17:49:38 AEDT 2017
Michael Neuling <mikey at neuling.org> writes:
> From: Cyril Bur <cyril.bur at au1.ibm.com>
>
> The use MBOX protocol to request flash access from the BMC. Then
> read/write to the 'flash' through windows it creates on LPC FW space.
>
> Reference implementation of the mbox flash daemon for BMC userspace:
> https://github.com/cyrilbur-ibm/mboxbridge
>
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> ---
> libflash/Makefile.inc | 2 +-
> libflash/mbox-flash.c | 576 ++++++++++++++++++++++++++++++++++++++++++++++++++
> libflash/mbox-flash.h | 24 +++
> 3 files changed, 601 insertions(+), 1 deletion(-)
> create mode 100644 libflash/mbox-flash.c
> create mode 100644 libflash/mbox-flash.h
Breaks booting POWER8 systems, e.g. Habanero with:
[ 12.101042815,3] MBOX-FLASH: BMC NOT RESPONDING 12 second wait
...
[ 31.001198232,3] MBOX-FLASH: BMC NOT RESPONDING 31 second wait
[ 31.103688026,3] MBOX-FLASH: Timeout waiting for BMC
[ 31.103755305,3] MBOX-FLASH: Error waiting for BMC
[ 31.103828069,3] PLAT: Failed to open init PNOR driver
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list