[Accton][wedge800cact] Migrate platform configuration to support NETLAKE-2#1069
[Accton][wedge800cact] Migrate platform configuration to support NETLAKE-2#1069brandonchuang wants to merge 1 commit into
Conversation
|
Similar question: I guess the patch is not compatible with NL1.0 hardware? I'm asking to evaluate when should I merge the patch.. |
|
@tao-ren has imported this pull request. If you are a Meta employee, you can view this in D100272043. |
@tao-ren There are two main reasons for this:
|
|
@brandonchuang has updated the pull request. You must reimport the pull request before landing. |
Summary: This PR updates the Wedge800CACT platform configuration by migrating from NETLAKE-1 to NETLAKE-2. The changes include adapting I2C device mappings, updating sysfs paths, and adjusting kernel configurations to align with the new hardware revision. Kernel Configuration: - Enabled CONFIG_SENSORS_INA2XX and CONFIG_SENSORS_SPD5118 to support NETLAKE-2 power and memory monitoring. Platform Manager: - Standardized CPU bus naming using the virtual bus "CPU_BUS". - Implemented versionedPmUnitConfigs for NETLAKE-2 hardware identification. - Updated pmUnitConfig, symbolicLinkToDevicePath, and CPU_CORE_TEMP sysfs paths for NETLAKE-2 I2C topology compatibility. Sensor Service: - Migrated "NETLAKE" sensor definitions and sysfs paths from Netlake-1 to Netlake-2. - Migrated sensor definitions and optimized monitoring thresholds based on the NETLAKE-2 HW device table to ensure test stability. Firmware Utility: - Updated fw_util BIOS upgrade logic to support NETLAKE-2 specific flash sequences. No Changes Required: - bsp_tests.json, fan_service.json, led_manager.json. Test Plan: Platform Manager: - Executed platform_manager and platform_manager_hw_test on Wedge800CACT; all functional logs validated and tests passed. Sensor Service: - Verified initialization of universal and versioned sensors via sensor_service, sensor_service_hw_test, and sensor_service_client. Fan Service: Confirmed PWM control and RPM feedback via fan_service and fan_service_hw_test. weutil: - Executed weutil to verify baseboard and module EEPROM information and weutil_hw_test; all items passed. fw_util: - Executed fw_util to list and verify firmware versions of CPLDs and other programmable devices, including fw_util_hw_test; all items passed. Data Corral Service: - Executed data_corral_service and verified SCM/Fru presence and LED status monitoring. bsp_tests: - Executed bsp_tests to ensure kernel module stability and I2C/PMBus driver robustness under load.
|
@brandonchuang has updated the pull request. You must reimport the pull request before landing. |
Pre-submission checklist
pip install -r requirements-dev.txt && pre-commit installpre-commit runclang-format.........................................(no files to check)Skipped
shellcheck...........................................(no files to check)Skipped
shfmt................................................(no files to check)Skipped
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check yaml...........................................(no files to check)Skipped
check json...............................................................Passed
check for merge conflicts................................................Passed
ruff check...........................................(no files to check)Skipped
ruff format..........................................(no files to check)Skipped
Summary:
This PR updates the Wedge800CACT platform configuration by migrating from NETLAKE-1 to NETLAKE-2. The changes include adapting I2C device mappings, updating sysfs paths, and adjusting kernel configurations to align with the new hardware revision.
Kernel Configuration:
Platform Manager:
Sensor Service:
Firmware Utility:
Test Plan:
Platform Manager:
[w800c_nl2_log] platform_manager.txt
[w800c_nl2_log] platform_manager_hw_test.txt
Sensor Service:
[w800c_nl2_log] sensor_service.txt
[w800c_nl2_log] sensor_service_hw_test.txt
[w800c_nl2_log] sensor_service_client.txt
Fan Service:
[w800c_nl2_log] fan_service.txt
[w800c_nl2_log] fan_service_hw_test.txt
weutil:
[w800c_nl2_log] weutil.txt
[w800c_nl2_log] weutil_hw_test.txt
fw_util:
[w800c_nl2_log] fw_util.txt
[w800c_nl2_log] fw_util_hw_test.txt
Data Corral Service:
[w800c_nl2_log] data_corral_service.txt
[w800c_nl2_log] data_corral_service_hw_test.txt
bsp_tests:
[w800c_nl2_log] bsp_tests.txt