* Question about FRU read/write function
@ 2019-08-25 17:00 Ivan Li11
0 siblings, 0 replies; 2+ messages in thread
From: Ivan Li11 @ 2019-08-25 17:00 UTC (permalink / raw)
To: openbmc
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
Hi Team,
I found the output FRU raw data via FRU read command doesn't totally match with input FRU raw data via FRU write command.
FRU write command:
https://github.com/openbmc/ipmi-fru-parser/blob/master/strgfnhandler.cpp#L20
FRU read command:
https://github.com/openbmc/phosphor-host-ipmid/blob/master/storagehandler.cpp#L659
Have you encountered this situation ?
If yes, please help to share your comment about it.
Thanks,
Ivan
[-- Attachment #2: Type: text/html, Size: 3288 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* re: Question about FRU read/write function
@ 2019-08-28 19:54 Joseph Reynolds
0 siblings, 0 replies; 2+ messages in thread
From: Joseph Reynolds @ 2019-08-28 19:54 UTC (permalink / raw)
To: rli11, openbmc
Ivan Li11 rli11 at lenovo.com
<mailto:openbmc%40lists.ozlabs.org?Subject=Re%3A%20Question%20about%20FRU%20read/write%20function&In-Reply-To=%3C24239ac0c21341d9af32893d5c6beb76%40lenovo.com%3E>
Mon Aug 26 03:00:33 AEST 2019/
/> Hi Team,
>
> I found the output FRU raw data via FRU read command doesn't totally
match with input FRU raw data via FRU write command.
> FRU write command:
>
https://github.com/openbmc/ipmi-fru-parser/blob/master/strgfnhandler.cpp#L20
> FRU read command:
>
https://github.com/openbmc/phosphor-host-ipmid/blob/master/storagehandler.cpp#L659
>
> Have you encountered this situation ?
> If yes, please help to share your comment about it.
There are some FRU test cases here:
https://github.com/openbmc/openbmc-test-automation/blob/master/tests/ipmi/test_fru.robot
https://github.com/openbmc/openbmc-test-automation/blob/master/tests/test_inventory.robot#L186
https://github.com/openbmc/openbmc-test-automation/blob/master/data/ipmi_raw_cmd_table.py
Can you write a test to reproduce the problem?
- Joseph
> Thanks,
> Ivan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-28 19:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-25 17:00 Question about FRU read/write function Ivan Li11
2019-08-28 19:54 Joseph Reynolds
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.