Proposal to Sync BMC's MAC Address to U-Boot environment
ngorugan at in.ibm.com
Tue Nov 27 21:58:01 AEDT 2018
As we want to get rid of python, making this proposal to sync BMC's MAC
Address to U-Boot environment(assuming this is a common requirement across
OpenBMC based systems).
Platform specific code :
a) Get MAC Address from platform specific NV storage (BMC VPD on OpenPOWER
systems) into an inventory object. It is being done by
openpower-vpd-parser on the openpower systems .
b) A script (invoked by systemd on the way to BMC ready state) fetches BMC
MAC Address from (platform specific) inventory object. If this MAC Address
and the one in u-boot environment are different (or if the u-boot one is
empty), then the script writes the inventory MAC Address to u-boot using
c) The script can reside in a phosphor layer.
Existing Python script:
The existing python
script(openbmc/skeleton/pyinventorymgr/sync_inventory_items.py) does the
We need a opinion from the community members on this proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openbmc