Raptor Computing Systems Community Forums (BETA)

Software => Firmware => Topic started by: tle on February 15, 2020, 09:01:39 pm

Title: [Guide] How to run firmware temporariliy
Post by: tle on February 15, 2020, 09:01:39 pm
I've been playing around with custom built OpenPower firmware. One tips I pick up from Stewart Smith is to use `mbox` to load the firmware from file instead of mtd:


Code: [Select]
# SSH into OpenBMC
# Load firmware from file
$ mboxctl --backend file:/tmp/blackbird.pnor
$ obmcutil poweron
# once done with testing
$ obmcutil poweroff
$ mboxctl --backend mtd


Title: Re: [Guide] How to run firmware temporariliy
Post by: FlyingBlackbird on February 16, 2020, 01:39:40 am
Did you find a way to temporarily update PNOR and OpenBMC together (in sync) since this is the recommended procedure...?

https://wiki.raptorcs.com/wiki/Compiling_Firmware#General_advice

> Always upgrade PNOR and BMC together
>    Many mismatched PNOR/BMC version combinations lead to weird failures.

The wiki also describes how to run the OpenBMC firmware temporariliy but I am not sure how and if this works in sync with a PNOR update

https://wiki.raptorcs.com/wiki/Compiling_Firmware#Running_the_firmware_temporarily