Author Topic: [Guide] How to run firmware temporariliy  (Read 185 times)

tle

  • Full Member
  • ***
  • Posts: 109
  • Karma: +18/-0
    • View Profile
    • Ruby Journal
[Guide] How to run firmware temporariliy
« 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


Faithful Linux enthusiast

FlyingBlackbird

  • Jr. Member
  • **
  • Posts: 92
  • Karma: +0/-0
    • View Profile
Re: [Guide] How to run firmware temporariliy
« Reply #1 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
« Last Edit: February 16, 2020, 02:18:52 am by FlyingBlackbird »