Hello Stefan,
We would like to modify the Manufacturer ID as well as the Auxiliary Firmware Revision.
How can this be done?
Thanks in advance,
Fatih
Hello Stefan,
We would like to modify the Manufacturer ID as well as the Auxiliary Firmware Revision.
How can this be done?
Thanks in advance,
Fatih
Hello Fatih,
you can use the ipmitool fru edit command. For example to set the board manufacturer to LAPP:
ipmitool -I lan -U ‘’ -P ‘’ -H fru edit field b 0 LAPP
From the ipmitool manpage:
fru edit field
is b or p for the board or product info area. specifies the field number, for example in the board info area field 0 is "Board Manufacturer" and field 2 is "Board Serial Number".Hope this helps.
cheers,
Stefan
Hi Stefan,
Oops, my request wasn’t clear enough, sorry.
In fact, it’s a matter of changing the Manufacturer ID and the Auxiliary Firmware Revision that are set in the response packet of the “Get Device ID” IPMI request, this information can be retrieved with ShM command like "clia board -v ..."
or "clia ipmc -v ..."
.
Cheers,
Fatih
Hello Fatih,
the Manufacturer ID can be changed from the XML configuration file, see here:
Some of the OEM command example code will have to be adapted if you do this though.
We have not foreseen changing the Auxiliary Firmware Revision from the XML, however this can be done by adding the following lines to the user_defs.h file:
#define CFG_APP_FIRMWARE_AUX_REV1 0x12
#define CFG_APP_FIRMWARE_AUX_REV2 0x34
#define CFG_APP_FIRMWARE_AUX_REV3 0x56
#define CFG_APP_FIRMWARE_AUX_REV4 0x78
Let me know if this does not work for you.
cheers,
Stefan
Hi Stefan,
For information, the link doesn’t work (i.e. 404: Page not found)
I have just tried adding the defines, but I have the following compile error :
ipmc-core/app/master/ipmi.c: In function 'ipmi_cmd_get_device_id':
ipmc-core/app/master/ipmi.c:99: error: token ""Nov 25 2024"" is not valid in preprocessor expressions
I think it’s due to a preprocessor if directive, because I have assigned values (i.e. compilation date in BCD) to these defines that are evaluated at compile time.
Is it possible to fix this issue ?
Cheers,
Fatih
Hello Fatih,
my bad, I corrected the link:
https://gitlab.cern.ch/ep-ese-be-xtca/ipmc-project/-/blob/master/config.xml?ref_type=heads#L8
For the second issue, it should work as long as you use a decimal or hex byte value for the 4 defines. A string will not work. If you can share your project, I can have a look.
cheers,
Stefan