Skip to content

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

Open

Description

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

Activity

  1. 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[/+] on Aug 26, 2021
  2. Kostr commented on Sep 8, 2021

    @Kostr
    Contributor

    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?

  3. ushasrinivasan-cornelisnetworks commented on Sep 8, 2021

    @ushasrinivasan-cornelisnetworks
    Author

    Hi, My board has a 24C128.

  4. Kostr commented on Sep 8, 2021

    @Kostr
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions