mmc: Support a patch directory for each version

Create a patch directory for the running and alternate hostfw
versions. Otherwise the patches may not be compatible if a
side switch occurs.

Also don't delete patches when updating the running version
because it's not known if it's just a side switch. This should
be handled by the code update app which currently is done by
the BMC updater.

Change-Id: Ie975e5f8176ad97ee5ed2dd7594a83ba8c57bdb3
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed
tree: 080939c07bcdeddd6245db30f41489a4740c779e
  1. m4/
  2. mmc/
  3. static/
  4. test/
  5. ubi/
  6. vpnor/
  7. .clang-format
  8. .gitignore
  9. activation.cpp
  10. activation.hpp
  11. bootstrap.sh
  12. configure.ac
  13. generate-tar
  14. generate-ubi
  15. image_verify.cpp
  16. image_verify.hpp
  17. item_updater.cpp
  18. item_updater.hpp
  19. item_updater_main.cpp
  20. LICENSE
  21. MAINTAINERS
  22. Makefile.am
  23. msl_verify.cpp
  24. msl_verify.hpp
  25. msl_verify_main.cpp
  26. op-pnor-msl.service
  27. openpower-pnor-update@.service
  28. org.open_power.Software.Host.Updater.service
  29. README.md
  30. utils.cpp
  31. utils.hpp
  32. version.cpp
  33. version.hpp
README.md

openpower-pnor-code-mgmt

OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.