summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-jade/conf
diff options
context:
space:
mode:
authorThang Q. Nguyen <thang@os.amperecomputing.com>2021-02-06 04:22:45 +0300
committerThang Q. Nguyen <thang@os.amperecomputing.com>2021-02-09 01:44:37 +0300
commit72eb151aeec4b22bba618db928eed6c401e021af (patch)
tree7a818596b14556df34147e71296c9a9b74f328cc /meta-ampere/meta-jade/conf
parent38e84136d5ea0f52126d7c2a1c629e0eb3653039 (diff)
downloadopenbmc-72eb151aeec4b22bba618db928eed6c401e021af.tar.xz
meta-ampere: Set BMC MAC Address from FRU inventory
Support to get BMC MAC address from FRU over the FRU inventory information (/xyz/openbmc_project/inventory/system/chassis/motherboard) and update to the eth0 Ethernet interface and set the eth1addr u-boot variable. Tested: 1. Boot to u-boot, clear the eth1addr variable, save and reboot. 2. Boot to Linux: - Check if the eth0 interface uses the MAC address in FRU. root@mtjade:~# ip addr show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 70:e2:84:86:76:ba brd ff:ff:ff:ff:ff:ff - Check if the eth1addr u-boot variable uses the MAC address in FRU root@mtjade:~# fw_printenv eth1addr eth1addr=70:E2:84:86:76:BA Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Ifb7eefbb17257545d026005f859d37ef562289b7
Diffstat (limited to 'meta-ampere/meta-jade/conf')
-rw-r--r--meta-ampere/meta-jade/conf/machine/mtjade.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-ampere/meta-jade/conf/machine/mtjade.conf b/meta-ampere/meta-jade/conf/machine/mtjade.conf
index 218018953..ec6e27f17 100644
--- a/meta-ampere/meta-jade/conf/machine/mtjade.conf
+++ b/meta-ampere/meta-jade/conf/machine/mtjade.conf
@@ -18,6 +18,7 @@ VOLATILE_LOG_DIR = "no"
OBMC_IMAGE_EXTRA_INSTALL_append = "\
ampere-usbnet \
ampere-flash-utils \
+ ampere-mac-update \
"
PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-ampere-apps"