58d4f922c9
2 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Ramasamy Chandramouli
|
c436ce20be |
[PR:16737, PR:16739] platform-modules: pddf, broadcom/cel: adapt for kernel 6.1 and bookworm (#16954)
* sonic-platform-modules-cel: broadcom: adapt for kernel 6.1 and bookworm The i2c_driver->remove API declaration has been updated to return void instead of int, as part of cleanup patches in 6.1. More details can be referred from here: [1]. Update the remove API definition in the modules accordingly and cleanup variables that go unused from the remove API. Update python build commands for bookworm. The packaging based on calling setup.py is deprecated and using build module/pip utility is the recommended method for python packaging/installation. Further details can be referred to from here: [2], [3]. The build module is picky about the package information file, which needs to be either setup.py or pyproject.toml. Additionally, fix formatting inconsistencies in debian/changelog reported by `dh_installchangelogs` during the build. Tested the changes by compiling the changes as below: make sonic-slave-bash NOBUSTER=1 NOBULLSEYE=1 sudo dpkg -i target/debs/bookworm/linux-headers-6.1.0-11-2-*.deb cd platform/broadcom/sonic-platform-modules-cel KVERSION=6.1.0-11-2-amd64 dpkg-buildpackage Also verified the python scripts under the sonic-platform-modules-cel with pyflakes to ensure no new errors are flagged (with exception of unused modules). References: [1] - https://github.com/torvalds/linux/commit/ed5c2f5f [2] - https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.htm [3] - |
||
Pradchaya Phucharoen
|
522916397d |
[Celestica/Seastone2] Add support Seastone2 device and platform (#3761)
* [device/celestica] Add seastone2 device specific plugins and SKU * [platform/broadcom] Add Celestica seastone2 platform module * update minigraph for Seastone_2 and remove 10KR port configuration * [device/celestica] hwsku:Seastone2 update port configuration * [plugins/psuutil] fix psutuil cannot run in pmon docker * [plugins/sfputil] raise error in get_transceiver_change_event * [device/celestica] Seastone2 add config to skip ledd in pmon Co-authored-by: tiantianlv <38775940+tiantianlv@users.noreply.github.com> |