Skip to content

Fix 2x1p cmos reset#53

Open
dono-amd wants to merge 2 commits intointeg_sp8from
fix_2x1p_cmos_reset
Open

Fix 2x1p cmos reset#53
dono-amd wants to merge 2 commits intointeg_sp8from
fix_2x1p_cmos_reset

Conversation

@dono-amd
Copy link
Collaborator

@dono-amd dono-amd commented Feb 6, 2026

bmcweb: Add 2x1P CMOS redfish reset

Add in support for redfish to clear CMOS in 2x1P mode.

Tested: Verified on Nigeria

Update bios.hpp with clang-19-format to clean up a bit before
adding code to support  amd-clear-cmos.sh in 2x1P.

Signed-off-by: don owens <Donald.Owens@amd.com>
Add in support for redfish to clear CMOS in 2x1P mode.

Tested: Verified on Nigeria

Signed-off-by: don owens <Donald.Owens@amd.com>
@dono-amd dono-amd requested a review from srgovard February 7, 2026 19:47
}

// convert host string to argument for the cmos reset script
if (hostStr == "0")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dono-amd have you confirmed that this is working for the 1P or 2P case.

In 1P or 2P we need to pass hostStr as 0 to the script because the power control D-Bus API in script use Chassis0 and chassis0 as input. Also can we remove the string and add as uint8_t for consistency? It is the same for other URI that use multi-host mode.

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

Successfully merging this pull request may close these issues.

3 participants