meta-openpower: Sync BMC MAC address to ethernet

On first BMC boot copy the MAC address set at manufacturing time into
the network DBus object.

On some OpenPOWER systems the MAC address is set by the manufacturer in
an EEPROM somewhere.  If openpower-vpd-parser has forwarded the
information in that eeprom onto phosphor-inventory manager, this script
can further forward that on to the network stack of OpenBMC.

This is only done on genesis boot (or after a factory reset) so that a
manually configured address from the end user is not overridden.

Change-Id: I3612cedd66471b6c68a33d5f5349bb83fcef6c9e
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
3 files changed
tree: 21f687eb764483954266eb461fc16c986514f8f6
  1. classes/
  2. conf/
  3. recipes-bsp/
  4. recipes-phosphor/
  5. COPYING.apache-2.0
  6. COPYING.MIT
  7. LICENSE
  8. MAINTAINERS
  9. README.md
README.md

OpenPOWER

meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.