On Montblanc & Tahan & Janga device, running platform_manager will report firmware version read failed log as below
When one CPLD has hwmon sensor path, but the cpld_ver/cpld_sub_ver file isn't at hwnon folder path. It will fail to find the cpld_ver/cpld_sub_ver file. Fix this issue, it's also suitable for "/run/devmap/cplds/FAN0_CPLD/hwmon/hwmon20/" case.
Description
On Montblanc & Tahan & Janga device, running platform_manager will report firmware version read failed log as below
When one CPLD has hwmon sensor path, but the cpld_ver/cpld_sub_ver file isn't at hwnon folder path. It will fail to find the cpld_ver/cpld_sub_ver file. Fix this issue, it's also suitable for "/run/devmap/cplds/FAN0_CPLD/hwmon/hwmon20/" case.
Test log