<span style=" font-size:10pt;font-family:sans-serif">HI All,</span><br><br><span style=" font-size:10pt;font-family:sans-serif">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).</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Proposal:</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Platform specific
code :</span><br><br><span style=" font-size:10pt;font-family:sans-serif">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 .</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Common code:</span><br><br><span style=" font-size:10pt;font-family:sans-serif">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 fw_setenv.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">c) The script
can reside in a phosphor layer.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Existing Python
script:</span><br><br><span style=" font-size:10pt;font-family:sans-serif">The existing python
script(openbmc/skeleton/pyinventorymgr/sync_inventory_items.py) does the
same thing.</span><br><br><br><span style=" font-size:10pt;font-family:sans-serif">We need a opinion
from the community members on this proposal.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Best Regards,</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Nagaraju G</span><BR>