From 4cf560dba52b905d4331f7b9f771217b39fd5ef9 Mon Sep 17 00:00:00 2001 From: Artem Senichev Date: Thu, 20 Feb 2020 15:26:51 +0300 Subject: nicole: Add VPD support VPD contains general description of the BMC card and MAC address for the Ethernet controller. Physically, VPD is stored in the EEPROM AT24C256C, which is connected to the Aspeed SoC via I2C and can be read or written through the special device file /sys/bus/i2c/devices/0-0050/eeprom. (From meta-yadro rev: 95f98dc7d5ccf2b221d2a5aea51bf411201f351c) Signed-off-by: Artem Senichev Change-Id: I21624f154cfa1e92eddbc1739a4e053d00889b5a Signed-off-by: Brad Bishop --- .../recipes-phosphor/vpd/nicole-openpower-fru-inventory/inventory | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-yadro/meta-nicole/recipes-phosphor/vpd/nicole-openpower-fru-inventory/inventory (limited to 'meta-yadro/meta-nicole/recipes-phosphor/vpd/nicole-openpower-fru-inventory/inventory') diff --git a/meta-yadro/meta-nicole/recipes-phosphor/vpd/nicole-openpower-fru-inventory/inventory b/meta-yadro/meta-nicole/recipes-phosphor/vpd/nicole-openpower-fru-inventory/inventory new file mode 100644 index 000000000..62ab2da53 --- /dev/null +++ b/meta-yadro/meta-nicole/recipes-phosphor/vpd/nicole-openpower-fru-inventory/inventory @@ -0,0 +1,3 @@ +FRUS=BMC,ETHERNET +PATHS=/system/chassis/bmc,/system/chassis/ethernet +EEPROM=/sys/bus/i2c/devices/0-0050/eeprom -- cgit v1.2.3