Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clock configuration readback when start on M1 after reset #218

Merged
merged 1 commit into from
May 8, 2024

Conversation

augustofg
Copy link
Member

After a reset or a power cycle, if the AMC card doesn't go to M4 (ex: when the hotswap handle is pulled), reading the clock switch configuration via IPMI will return a blank array. The solution to this is reading the configuration from the EEPROM in the payload initialization.

@augustofg augustofg changed the base branch from master to devel May 8, 2024 18:30
The 'clock_config' global buffer should be initialized with the
contents of the EEPROM clock configuration segment at payload_init(),
otherwise if the board starts at M1 after reset, reading the clock
configuration via IPMI will return a zeroed array.
@augustofg augustofg force-pushed the fix-clk-cfg-readback-m1 branch from 0e84f16 to b410626 Compare May 8, 2024 18:52
@augustofg augustofg merged commit ba4cab6 into devel May 8, 2024
6 checks passed
@augustofg augustofg deleted the fix-clk-cfg-readback-m1 branch May 8, 2024 18:58
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.

1 participant