Wiwynn / fb_openbmc

1 stars 2 forks source link

yosemite4-n: couldn't detect the device EID after SD BIC #9

Open RickyWu-wiwynn opened 2 months ago

RickyWu-wiwynn commented 2 months ago

Could only detect SD BIC EID. Need to add I3C bus and PID in the entity-manager to detect WF BIC and CXL EID.

root@yosemite4-n:~# busctl tree xyz.openbmc_project.MCTP
└─ /xyz
  └─ /xyz/openbmc_project
    └─ /xyz/openbmc_project/mctp
      └─ /xyz/openbmc_project/mctp/1
        ├─ /xyz/openbmc_project/mctp/1/10
        ├─ /xyz/openbmc_project/mctp/1/20
        ├─ /xyz/openbmc_project/mctp/1/30
        ├─ /xyz/openbmc_project/mctp/1/40
        ├─ /xyz/openbmc_project/mctp/1/50
        ├─ /xyz/openbmc_project/mctp/1/60
        ├─ /xyz/openbmc_project/mctp/1/8
        ├─ /xyz/openbmc_project/mctp/1/80
        └─ /xyz/openbmc_project/mctp/1/92
RickyWu-wiwynn commented 1 month ago

[Status] Modified the mctpd so that is could apply both I2C and I3C config for mctp endpoint.

[Next] Test on both ASPEED and Nuvoton system to see if it is functional.

RickyWu-wiwynn commented 1 month ago

[Status] Provided PR 3130 to add mctp patch to apply mctp i2c and i3c information and entity-manager patch to revise the Address property to array.

Tried to enable both mctp-i2c and mctp-i3c thread in SD BIC but SD BIC didn’t bridge the packet to WF BIC and CXL according to the debug message when using I3C between BMC and SD BIC

[Next] Check if SD BIC have set the routing table.

jc849 commented 1 month ago

FW version: Management Board CPLD version: 0xb0140202 Sentinel Dome BIC Slot 1 version: "2024.28.e2" Waluia Falls BIC Slot 1 version: "2024.28.01" Sentinel Dome CPLD Slot 1 version: 0x00010208

BMC FW + Support to apply mctp-i2c and mctp-i3c information.patch

root@bmc:/usr/libexec/phosphor-state-manager# busctl tree xyz.openbmc_project.MCTP - /xyz - /xyz/openbmc_project - /xyz/openbmc_project/mctp - /xyz/openbmc_project/mctp/1 |- /xyz/openbmc_project/mctp/1/10 |- /xyz/openbmc_project/mctp/1/12 |- /xyz/openbmc_project/mctp/1/14 |- /xyz/openbmc_project/mctp/1/15 |- /xyz/openbmc_project/mctp/1/20 |- /xyz/openbmc_project/mctp/1/22 |- /xyz/openbmc_project/mctp/1/24 |- /xyz/openbmc_project/mctp/1/25 |- /xyz/openbmc_project/mctp/1/30 |- /xyz/openbmc_project/mctp/1/32 |- /xyz/openbmc_project/mctp/1/34 |- /xyz/openbmc_project/mctp/1/40 |- /xyz/openbmc_project/mctp/1/42 |- /xyz/openbmc_project/mctp/1/44 |- /xyz/openbmc_project/mctp/1/45 |- /xyz/openbmc_project/mctp/1/50 |- /xyz/openbmc_project/mctp/1/52 |- /xyz/openbmc_project/mctp/1/54 |- /xyz/openbmc_project/mctp/1/55 |- /xyz/openbmc_project/mctp/1/60 |- /xyz/openbmc_project/mctp/1/62 |- /xyz/openbmc_project/mctp/1/64 |- /xyz/openbmc_project/mctp/1/65 |- /xyz/openbmc_project/mctp/1/70 |- /xyz/openbmc_project/mctp/1/72 |- /xyz/openbmc_project/mctp/1/74 |- /xyz/openbmc_project/mctp/1/75 |- /xyz/openbmc_project/mctp/1/8 |- /xyz/openbmc_project/mctp/1/80 |- /xyz/openbmc_project/mctp/1/82 |- /xyz/openbmc_project/mctp/1/84 |- /xyz/openbmc_project/mctp/1/85 |- /xyz/openbmc_project/mctp/1/90 |- /xyz/openbmc_project/mctp/1/91 `- /xyz/openbmc_project/mctp/1/92

WF BIC(32) console show below error message: [00:17:26.866,000] hal_i2c: I2C 1 master write retry reach max with ret -6 [00:17:26.866,000] mctp: i2c_master_write failed, ret -6 [00:17:26.867,000] mctp: Bridge to endpoint 0x22 failed [00:17:26.866,000] hal_i2c: I2C 1 master write retry reach max with ret -6 [00:17:26.866,000] mctp: i2c_master_write failed, ret -6 [00:17:26.867,000] mctp: Bridge to endpoint 0x22 failed 00:17:39.389,000] vistara: CCI command 0xc531 read fail [00:17:39.387,000] hal_i2c: I2C 1 master write retry reach max with ret -6 00:17:39.389,000] pldm_sensor: Failed to read sensor_num 0x2 of thread 4, status0x4 [00:17:39.387,000] mctp: i2c_master_write failed, ret -6