diff options
| author | Potin Lai <potin.lai@quantatw.com> | 2025-08-01 08:46:38 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2025-08-19 23:52:51 +0300 |
| commit | 0e5fd84937f1d13e5894dcdc2e27b1feb2b6f38a (patch) | |
| tree | 04eb52e2ddcb834d99c8153318546c6e245f861a /meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.41.bb | |
| parent | fa0ba806d45bec5432c69e082c9d3ede3625df70 (diff) | |
| download | openbmc-0e5fd84937f1d13e5894dcdc2e27b1feb2b6f38a.tar.xz | |
meta-facebook: clemente: add backend NIC driver bind service
On the Clemente platform, the backend NIC becomes available only after
the host is powered on. The CX8 TMP421 driver fails to bind during the
initial BMC boot following an AC power cycle due to the NIC being
inactive.
This update adds a service to bind the CX8 TMP421 driver once the host
is powered, ensuring the driver is correctly loaded.
Test result:
- All node drivers are bind successfully by backend-nic-driver-bind
```
root@bmc:~# systemctl status backend-nic-driver-bind
○ backend-nic-driver-bind.service - Bind backend NIC thermal driver
Loaded: loaded (/usr/lib/systemd/system/backend-nic-driver-bind.service; enabled; preset: enabled)
Active: inactive (dead) since Fri 2025-08-01 01:19:44 PDT; 5min ago
Duration: 40.720s
Invocation: 17026d86b8474da9b0585b80a9e6639a
Process: 1232 ExecStart=/usr/libexec/plat-svc/backend-nic-driver-bind (code=exited, status=0/SUCCESS)
Main PID: 1232 (code=exited, status=0/SUCCESS)
Mem peak: 1.3M
CPU: 399ms
Aug 01 01:19:03 bmc systemd[1]: Started Bind backend NIC thermal driver.
Aug 01 01:19:44 bmc backend-nic-driver-bind[1232]: Attempt 1...
Aug 01 01:19:44 bmc backend-nic-driver-bind[1232]: All devices successfully bind
Aug 01 01:19:44 bmc systemd[1]: backend-nic-driver-bind.service: Deactivated successfully.
```
- All backend NIC temperature sensors are available
```
root@bmc:~# mfg-tool sensor-display 2>/dev/null | table-sensor-display | egrep "IOB.*NIC.*"
IOB0_NIC0_TEMP_C ok 38 DegreesC N/A N/A 5 105 108 N/A
IOB0_NIC1_TEMP_C ok 39 DegreesC N/A N/A 5 105 108 N/A
IOB1_NIC0_TEMP_C ok 38 DegreesC N/A N/A 5 105 108 N/A
IOB1_NIC1_TEMP_C ok 37 DegreesC N/A N/A 5 105 108 N/A
```
Change-Id: I1656439bdb05d8a2df8455a9ab223fb4dbab91e6
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.41.bb')
0 files changed, 0 insertions, 0 deletions
