[Bug 2019147] Re: [SRU] Add Xilinx support patch to enable latest Xilinx tools
Talha Can Havadar
2019147 at bugs.launchpad.net
Tue May 16 20:36:14 UTC 2023
** Description changed:
- We needed to add Xilinx OEM support to package to enable latest Xilinx
- tools like xmutil. Latest version of xmutil is dependent to freeipmi
- that contains Xilinx fru patch.
+ [ Impact ]
- Changes should not impact any existing oem support since it only adds a
- new capability but it is best to check if existing oem parsing is still
- working without any issue.
+ * It prevents the users of Xilinx boards to use latest versions of
+ Xilinx SDK tools.
- Patch is tested on 2 different kinds of Xilinx devices and it is proven to be working. Here is the console output from one of these devices.
+ * Since Ubuntu is officially supports Xilinx Kria boards, we need to
+ add Xilinx OEM support into freeipmi to enable latest Xilinx SDK tools
+ on jammy, kinetic and lunar.
+
+
+ [ Test Plan ]
+
+ * Xilinx OEM data parsing is not supported on current version of
+ freeipmi. So when you try to run `sudo ipmi-fru --fru-file
+ /sys/bus/i2c/devices/1-0050/eeprom --interpret-oem-data` on a Xilinx
+ Kria board you wont be able to get the oem specific data.
+
+ * When the patch is applied, you must be able to see the Xilinx OEM data parsed successfully as in following output.
```
ubuntu at kria:~$ sudo ipmi-fru --fru-file /sys/bus/i2c/devices/1-0050/eeprom --interpret-oem-data
FRU Inventory From File: /sys/bus/i2c/devices/1-0050/eeprom
FRU Board Manufacturing Date/Time: 12/20/22 - 12:51:00
FRU Board Manufacturer: XILINX
FRU Board Product Name: SMK-K24-XCL2G
FRU Board Serial Number: 51281A22C82S
FRU Board Part Number: 05128-01
FRU FRU File ID: 00h
FRU Board Custom Info: A
FRU Board Custom Info: 10h EEh 00h 00h 00h 00h 00h 00h
FRU Board Custom Info: 66h 27h 20h 4Bh 4Eh 48h EFh 9Bh 35h 47h 1Ah 02h A2h 63h 66h B5h
FRU DC Load Output Number: 1
FRU DC Load Nominal Voltage: 5000 mV
FRU DC Load Spec'd Minimum Voltage: 4500 mV
FRU DC Load Spec'd Maximum Voltage: 5500 mV
FRU DC Load Spec'd Ripple and Noise pk-pk: 100 mV
FRU DC Load Minimum Current Load: 0 mA
FRU DC Load Maximum Current Load: 2000 mA
FRU OEM Manufacturer ID: Xilinx, Inc. (10DAh)
FRU OEM MAC Version: DUT - MAC (31h)
FRU OEM MAC ID 0: 00:0a:35:18:76:08
FRU OEM Manufacturer ID: Xilinx, Inc. (10DAh)
FRU OEM Memory: QSPI:512Mb
FRU OEM Memory: eMMC:32GB
FRU OEM Memory: PSDDR4:2GB
FRU OEM Memory: PLDDR4:None
```
- Package with this patch is also released in project private ppa `limerick-proposed`. Here is the request from our partner: #2015825
+
+ [ Where problems could occur ]
+
+ * Since the change is only on OEM data parsing part of `ipmi-fru` tool
+ it could only break `--interpret-oem-data` option for Xilinx boards.
+
+ * This change must not introduce a regression since the Xilinx OEM
+ support will be newly added via this patch.
+
+ * Plus, patch is already in stable branch of the upstream project so it
+ is accepted by the maintainer as a stable patch.
+
+
+ [ Other Info ]
+
+ * This patch request is created after evaluating LP #2015825.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2019147
Title:
[SRU] Add Xilinx support patch to enable latest Xilinx tools
Status in freeipmi package in Ubuntu:
Fix Released
Status in freeipmi source package in Jammy:
New
Status in freeipmi source package in Kinetic:
New
Status in freeipmi source package in Lunar:
New
Bug description:
[ Impact ]
* It prevents the users of Xilinx boards to use latest versions of
Xilinx SDK tools.
* Since Ubuntu is officially supports Xilinx Kria boards, we need to
add Xilinx OEM support into freeipmi to enable latest Xilinx SDK tools
on jammy, kinetic and lunar.
[ Test Plan ]
* Xilinx OEM data parsing is not supported on current version of
freeipmi. So when you try to run `sudo ipmi-fru --fru-file
/sys/bus/i2c/devices/1-0050/eeprom --interpret-oem-data` on a Xilinx
Kria board you wont be able to get the oem specific data.
* When the patch is applied, you must be able to see the Xilinx OEM data parsed successfully as in following output.
```
ubuntu at kria:~$ sudo ipmi-fru --fru-file /sys/bus/i2c/devices/1-0050/eeprom --interpret-oem-data
FRU Inventory From File: /sys/bus/i2c/devices/1-0050/eeprom
FRU Board Manufacturing Date/Time: 12/20/22 - 12:51:00
FRU Board Manufacturer: XILINX
FRU Board Product Name: SMK-K24-XCL2G
FRU Board Serial Number: 51281A22C82S
FRU Board Part Number: 05128-01
FRU FRU File ID: 00h
FRU Board Custom Info: A
FRU Board Custom Info: 10h EEh 00h 00h 00h 00h 00h 00h
FRU Board Custom Info: 66h 27h 20h 4Bh 4Eh 48h EFh 9Bh 35h 47h 1Ah 02h A2h 63h 66h B5h
FRU DC Load Output Number: 1
FRU DC Load Nominal Voltage: 5000 mV
FRU DC Load Spec'd Minimum Voltage: 4500 mV
FRU DC Load Spec'd Maximum Voltage: 5500 mV
FRU DC Load Spec'd Ripple and Noise pk-pk: 100 mV
FRU DC Load Minimum Current Load: 0 mA
FRU DC Load Maximum Current Load: 2000 mA
FRU OEM Manufacturer ID: Xilinx, Inc. (10DAh)
FRU OEM MAC Version: DUT - MAC (31h)
FRU OEM MAC ID 0: 00:0a:35:18:76:08
FRU OEM Manufacturer ID: Xilinx, Inc. (10DAh)
FRU OEM Memory: QSPI:512Mb
FRU OEM Memory: eMMC:32GB
FRU OEM Memory: PSDDR4:2GB
FRU OEM Memory: PLDDR4:None
```
[ Where problems could occur ]
* Since the change is only on OEM data parsing part of `ipmi-fru`
tool it could only break `--interpret-oem-data` option for Xilinx
boards.
* This change must not introduce a regression since the Xilinx OEM
support will be newly added via this patch.
* Plus, patch is already in stable branch of the upstream project so
it is accepted by the maintainer as a stable patch.
[ Other Info ]
* This patch request is created after evaluating LP #2015825.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeipmi/+bug/2019147/+subscriptions
More information about the Ubuntu-sponsors
mailing list