Skip to content

Commit d742aeb

Browse files
[H6-128] Add support for H6-128 Platform (#42)
* [h6-128] Add H6-128 support * [H6-128] Update FPGA driver and thermal, add component module [H6-128]Update thermal algo. with 4 fan speed levels * [H6-128]Update FPGA/CPLDs driver, add port_notify --------- Co-authored-by: jumao <junhong.mao@nokia.com>
1 parent f2dbdd7 commit d742aeb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+10046
-1
lines changed

debian/control

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,9 @@ Package: sonic-platform-nokia-ixr7220h6-64
6363
Architecture: amd64
6464
Depends: ${misc:Depends}
6565
Description: kernel modules for platform devices such as osfp, fan, led, sfp
66+
67+
Package: sonic-platform-nokia-ixr7220h6-128
68+
Architecture: amd64
69+
Depends: ${misc:Depends}
70+
Description: kernel modules for platform devices such as osfp, fan, led, sfp
71+

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ KERNEL_SRC := /lib/modules/$(KVERSION)
2020

2121
MOD_SRC_DIR := $(shell pwd)
2222
MODULE_DIRS := chassis ixr7220h3 ixr7220h4-32d ixr7220h5-32d ixr7220h5-64d ixr7220h4-64d \
23-
ixr7220h5-64o ixr7250x1b ixr7250x3b ixr7250x4 ixr7220d4 ixr7220h6-64
23+
ixr7220h5-64o ixr7250x1b ixr7250x3b ixr7250x4 ixr7220d4 ixr7220h6-64 ixr7220h6-128
2424
BRIDGE_DRIVER_TARGETS := ixr7250x1b ixr7250x3b ixr7250x4
2525
MODULE_DIR := modules
2626
UTILS_DIR := utils
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ixr7220h6-128/scripts/h6_128_platform_init.sh usr/local/bin
2+
ixr7220h6-128/scripts/set_ps.py usr/local/bin
3+
ixr7220h6-128/scripts/ports_notify.py usr/local/bin
4+
ixr7220h6-128/service/h6_128_platform_init.service etc/systemd/system
5+
ixr7220h6-128/service/ports_notify.service etc/systemd/system/
6+
ixr7220h6-128/modules/sonic_platform-1.0-py3-none-any.whl usr/share/sonic/device/x86_64-nokia_ixr7220_h6_128-r0
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
# postinst script for sonic-platform-nokia-IXR7220-H6-128
3+
#
4+
# see: dh_installdeb(1)
5+
6+
chmod a+x /usr/local/bin/set_ps.py
7+
chmod a+x /usr/local/bin/h6_128_platform_init.sh
8+
systemctl enable h6_128_platform_init.service
9+
systemctl start h6_128_platform_init.service
10+
chmod a+x /usr/local/bin/ports_notify.py
11+
systemctl enable ports_notify.service
12+
systemctl start --no-block ports_notify.service

ixr7220h6-128/modules/Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
obj-m += i2c-ocores.o
2+
obj-m += h6_i2c_oc.o
3+
obj-m += sys_mux.o
4+
obj-m += sys_cpld.o
5+
obj-m += port_cpld0.o
6+
obj-m += port_cpld1.o
7+
obj-m += port_cpld2.o
8+
obj-m += eeprom_fru.o
9+
obj-m += h6_fan_cpld.o
10+
obj-m += sys_fpga.o
11+
obj-m += embd_ctrl.o
12+
obj-m += pmbus_psu.o

0 commit comments

Comments
 (0)