summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorLiora Guo <liora.guo.wiwynn@gmail.com>2025-08-11 19:09:32 +0300
committerPatrick Williams <patrick@stwcx.xyz>2025-08-21 20:00:16 +0300
commita588bb472bf25c293d8c091e7f98aac23061da7b (patch)
treefe7112217a8d797882408b56ddb10e038bb13bb2 /meta-openembedded/meta-python/recipes-devtools/python
parent173bebbd3b1b23b3ca598b5031ceeb88fbd68f08 (diff)
downloadopenbmc-a588bb472bf25c293d8c091e7f98aac23061da7b.tar.xz
meta-facebook: yosemite4: Add DC power check in rescan-cxl-eid
Task Description: Enhance the rescan-cxl-eid script by adding a check for host DC power status before performing CXL EID rescanning. This ensures rescanning only happens when the host DC power is on. Motivation: Previously, the script would proceed even if the host DC power was not on. This could cause the host-poweron service to remain in the activating state and block execution of DC on. With this fix, rescanning will only happen when host DC power is on, improving service state transitions and system stability. Design: - Added the check_host_status() function to check DC power via GPIO before rescanning. - The main loop now calls check_host_status before EID checks. Tested: - Check power state after power control - pass - When DC power is off, the script logs the message, outputs CXL   EID status, and exits as expected. - When DC power is on, the EID rescan proceeds normally. Change-Id: Ib18b2f3d40fed4058cf07155198d54c5030e386b Signed-off-by: Liora Guo <liora.guo.wiwynn@gmail.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python')
0 files changed, 0 insertions, 0 deletions