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

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
[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

My Raptor Blackbird

FlyingBlackbird

  • Full Member
  • ***
  • Posts: 102
  • Karma: +3/-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 »