08f3b9720b
summary of E530 platfrom: - CPU: CTC5236, arm64 - LAN switch chip set: CENTEC CTC7132 (TsingMa). TsingMa is a purpose built device to address the challenge in the recent network evolution such as Cloud computing. CTC7132 provides 440Gbps I/O bandwidth and 400Gcore bandwidth, the CTC7132 family combines a feature-rich switch core and an embedded ARM A53 CPU Core running at 800MHz/1.2GHz. CTC7132 supports a variety of port configurations, such as QSGMII and USXGMII-M, providing full-rate port capability from 100M to 100G. - device E530-48T4X: 48 * 10/100/1000 Base-T Ports, 4 * 10GE SFP+ Ports. - device E530-24X2C: 24 * 10 GE SFP+ Ports, 2 * 100GE QSFP28 Ports. add new files in three directories: device/centec/arm64-centec_e530_24x2c-r0 device/centec/arm64-centec_e530_48t4x_p-r0 platform/centec-arm64 Co-authored-by: taocy <taocy2@centecnetworks.com> Co-authored-by: Gu Xianghong <gxh2001757@163.com> Co-authored-by: shil <shil@centecnetworks.com>
62 lines
977 B
Bash
Executable File
62 lines
977 B
Bash
Executable File
#!/bin/bash
|
|
# This script load/unload centec kernel modules
|
|
|
|
### BEGIN INIT INFO
|
|
# Provides: platform-modules-e530-24x2c
|
|
# Required-Start:
|
|
# Required-Stop:
|
|
# Should-Start:
|
|
# Should-Stop:
|
|
# Default-Start: S
|
|
# Default-Stop: 0 6
|
|
# Short-Description: Load Centec kernel modules
|
|
### END INIT INFO
|
|
|
|
|
|
function load_kernel_modules()
|
|
{
|
|
depmod -a
|
|
modprobe centec_e530_24x2c_platform
|
|
modprobe dal
|
|
modprobe tun
|
|
modprobe tap
|
|
}
|
|
|
|
function remove_kernel_modules()
|
|
{
|
|
modprobe -r tap
|
|
modprobe -r tun
|
|
modprobe -r dal
|
|
modprobe -r centec_e530_24x2c_platform
|
|
}
|
|
|
|
case "$1" in
|
|
start)
|
|
echo -n "Load Centec kernel modules... "
|
|
|
|
load_kernel_modules
|
|
|
|
echo "done."
|
|
;;
|
|
|
|
stop)
|
|
echo -n "Unload Centec kernel modules... "
|
|
|
|
remove_kernel_modules
|
|
|
|
echo "done."
|
|
;;
|
|
|
|
force-reload|restart)
|
|
echo "Not supported"
|
|
;;
|
|
|
|
*)
|
|
echo "Usage: /etc/init.d/platform-modules-e530-24x2c {start|stop}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|
|
|