image_classes_dynamic: Support arbitrary address size

Some of our 64bit platforms now have a flash peripheral that resides
outside of the 32bit address space. We now need 9 or more nibbles to
express the size. To better support this, we make the address
replacement dynamic. The lower 7 nibbles of the address (28 bits) are
used for the offset into the flash, while the upper nibbles are used
for the address to the peripheral.

Tested: Built a 7xx and 8xx platform that use dynamic images and
verified manually that their command lines reflect valid flash
addresses.

Google-Bug-Id: 397986419
Change-Id: Ifc1caa9fdc0ae038cf8ad1d1360b99ce30c8773a
Signed-off-by: William A. Kennington III <wak@google.com>
1 file changed
tree: 028d6cda011180646032165b7687944406142ab8
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-support/
  13. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.