93247a6e24
- Why I did it There were compilation errors and warnings like, /usr/src/linux-headers-5.10.0-8-2-common/scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead. fatal error: linux/platform_data/pca954x.h: No such file or directory hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info(). If PDDF kernel module compilation fails, the PDDF debian package was not detecting the break. - How I did it Modified the code with new kernel 5.10 APIs. Modified the Makefiles to use 'obj-m' instead of 'subdir-y' - How to verify it PDDF is supported on Accton platform. Load the build on AS7326 setup and check the 'dmesg' |
||
---|---|---|
.. | ||
i2c | ||
platform-api-pddf-base | ||
platform-api-pddf-base.dep | ||
platform-api-pddf-base.mk | ||
platform-modules-pddf.dep | ||
platform-modules-pddf.mk | ||
README.md | ||
rules.dep | ||
rules.mk |
Platform Driver Development Framework (PDDF) is part of SONiC Platform Development Kit (PDK) which optimizes the platform developement.
SONiC PDDF (Platform driver development framework) supports the following HW devices on a given platform:
- Fan
- PSU
- System EEPROM
- CPLD
- CPLDMUX
- GPIO
- Optic Transceivers
- System LED control via CPLD
- System Status Registers in CPLD
- Temp Sensors
This folder for the PDDF consists of the following:
- PDDF python utility scripts
- Generic PDDF HW device drivers in kernel space