[OpenPower-Firmware] How to flash openPOWER on a Habanero system (8348-21C)

Dan Horák dan at danny.cz
Wed Jan 27 04:39:43 AEDT 2021


On Tue, 26 Jan 2021 17:46:52 +0100
Nick Singer <nsinger at suse.de> wrote:

> Hello everybody,
> 
> I'm currently trying to update petitboot as it can't find (newer?) grub
> entries any longer. For this I successfully build openPOWER with the
> latest version which still has Habanero support (tag v2.5).
> 
> From what I found out so far I need to use the pflash utility
> (https://github.com/open-power/skiboot/tree/master/external/pflash) to
> flash this newer build. Unfortunately this results in the following error:

have you tried flashing the PNOR from the BMC? IIRC that's how I have
updated mine.


		Dan
 
> nsinger at QA-Power8-4-kvm:~/git/skiboot/external/pflash> sudo ./pflash -e
> -p /home/nsinger/git/skiboot/external/pflash/habanero_update.pnor
> About to erase 0x00000000..0x02000000 !
> WARNING ! This will modify your HOST flash chip content !
> Enter "yes" to confirm:yes
> Erasing...
> [                                                  ] 0%mtd_erase: IOCTL
> to kernel failed! Input/output error
> Failed to blocklevel_smart_erase(): 3
> 
> dmesg/mtd also logs the following: `[97148.322331] mtd mtd0:
> opal_flash_async_op(op=2) failed (rc -6)`
> 
> the kernel on the system is 5.3.18 running openSUSE Leap 15.2 with a
> self-build version of pflash from master.
> 
> Now I wonder if I'm doing something completely wrong or if I hit some bug?
> 
> Thanks in advance and best regards,
>   Nick
> _______________________________________________
> OpenPower-Firmware mailing list
> OpenPower-Firmware at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openpower-firmware


More information about the OpenPower-Firmware mailing list