mmc: Add staging directory

Add a staging directory for PLDM to use as a temporary
holding space during inband update where the host would
send individual image files and PLDM needs to reconstruct
the code update tarball before calling the BMC updater
to do an update.

Clear the directory after a successful update. This cleanup
will eventually be handled by PLDM.

Tested: New directory and symlink created.

Change-Id: I9a2eacb0f57696e799e983625c2a32efbe122e89
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed
tree: 27869beb71167b67b2e268dbf9365cf51c74f8c4
  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`.