Access shelf GUID via IPMC and pass via gpio

Dear IPMC-comunity,

is there a possibility to access the GUID of the shelf manager from a IPMC? As a reference, with the ipmitool i can access the shelfmanager and read back the GUID using a raw command:
ipmitool -I lan -P “” -H 192.168.0.2 -A NONE -t 0x20 raw 0x06 0x37
28 6e f4 6e bf df 11 d3 00 80 00 18 49 04 aa b8

Is it possible to do this from an IPMC via the IPMI-0? Our goal is to implement a OEM command on our IPMCs to determine in which shelf the board is currently (P1, STF, other labs).

Thank you and cheers,
Emanuel

Hi Emanuel,

I am not quite sure I understand what you are trying to do.

In your example of an ipmitool command what is the address 192.168.0.2? The shelf manager? If so, why do you use “-t 0x20” to bridge to the shelf manager?

Why don’t you use the Shelf Address Information instead of GUID? And what do you mean by “reading from an IPMC”? If 192.168.0.2 is the IPMC then you are already reading the Shmm’s GUID.

I am a bit puzzled. Can you provide some more details? Then I can try to give you an answer.

Cheers,
Ralf

Hi Emanuel,

You might find : https://gitlab.cern.ch/atlas-l1calo/firmware/efex-ipmc/-/blob/master/ipmc-user/shelfAddrManagerFinal.c?ref_type=heads useful . Also https://its.cern.ch/jira/browse/ATLLONECAL-411 . Where we have defined a scheme used by eFEX and Hub/ROD IPMCs to access the ATCA “shelf address” which is set on the shelf manager to determine which shelf they are in P1, STF etc.

Cheers
Rhys

Hi Ralf and Rhys,

thank you for your answers.

Yes Rhys, this was exactly what i was looking for. This will held us a lot.

Thank you and cheers,
Emanuel