Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FruDevice does not create dbus object if FRU eprom is not in dts #14

Open
ushasrinivasan-cornelisnetworks opened this issue Aug 26, 2021 · 3 comments

Comments

@ushasrinivasan-cornelisnetworks

When I had my FRU eprom defined in the dts file I had no issues. When I removed it from the dts and allowed fru-device to discover it on the bus I ran into an issue. After boot, all I see is
-/xyz/openbmc_project/FruDevice
-/xyz/openbmc_project/FruDevice/8_81
But if I restart FruDevice service the dbus object for my board gets created. After the restart, sometimes I see:
-/xyz/openbmc_project/FruDevice
|-/xyz/openbmc_project/FruDevice/8_81
-/xyz/openbmc_project/FruDevice/CNEdge
and other times I see:
-/xyz/openbmc_project/FruDevice
|-/xyz/openbmc_project/FruDevice/CNEdge

@ushasrinivasan-cornelisnetworks ushasrinivasan-cornelisnetworks changed the title FruDevice does not create dbus object for FRU eprom FruDevice does not create dbus object if FRU eprom is not in dts Aug 26, 2021
@Kostr
Copy link
Contributor

Kostr commented Sep 8, 2021

I've come to the similar issue. In my case an error comes from a fact that my FRU EEPROM is 16-bit device. And it appears that fru-device code doesn't correctly detect this fact. It tries to treat EEPROM as a 8-bit device and therefore parsing process fails.
What kind of an EEPROM does your board have?

@ushasrinivasan-cornelisnetworks
Copy link
Author

ushasrinivasan-cornelisnetworks commented Sep 8, 2021

Hi, My board has a 24C128.

@Kostr
Copy link
Contributor

Kostr commented Sep 8, 2021

Your device is also a 16-bit EEPROM. I've created a separate issue for our problem #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants