mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-26 09:47:13 +00:00
Use kernel modules.
This commit is contained in:
@@ -1 +1 @@
|
||||
!include $ONL_TEMPLATES/platform-config-platform.yml ARCH=amd64 VENDOR=accton PLATFORM=x86-64-accton-as5512-54x-r0
|
||||
!include $ONL_TEMPLATES/platform-config-with-modules.yml ARCH=amd64 VENDOR=accton PLATFORM=x86-64-accton-as5512-54x-r0 MODULES=onl-platform-modules-x86-64-accton-as5512-54x:amd64
|
||||
|
||||
@@ -17,8 +17,8 @@ x86-64-accton-as5512-54x-r0:
|
||||
--parity=no
|
||||
--stop=1
|
||||
|
||||
kernel:
|
||||
<<: *kernel-3-18
|
||||
kernel:
|
||||
<<: *kernel-3-2
|
||||
|
||||
args: >-
|
||||
nopat
|
||||
|
||||
@@ -8,6 +8,11 @@ class OnlPlatform_x86_64_accton_as5512_54x_r0(OnlPlatformAccton,
|
||||
SYS_OBJECT_ID=".5512.54.1"
|
||||
|
||||
def baseconfig(self):
|
||||
|
||||
self.insmod('cpr_4011_4mxx')
|
||||
self.insmod('accton_i2c_cpld')
|
||||
self.insmod_platform()
|
||||
|
||||
########### initialize I2C bus 0 ###########
|
||||
|
||||
# initialize multiplexer (PCA9548)
|
||||
|
||||
@@ -1 +1 @@
|
||||
!include $ONL_TEMPLATES/platform-config-platform.yml ARCH=amd64 VENDOR=accton PLATFORM=x86-64-accton-as7512-32x-r0
|
||||
!include $ONL_TEMPLATES/platform-config-with-modules.yml ARCH=amd64 VENDOR=accton PLATFORM=x86-64-accton-as7512-32x-r0 MODULES=onl-platform-modules-x86-64-accton-as7512-32x:amd64
|
||||
|
||||
@@ -8,6 +8,11 @@ class OnlPlatform_x86_64_accton_as7512_32x_r0(OnlPlatformAccton,
|
||||
SYS_OBJECT_ID=".7512.32"
|
||||
|
||||
def baseconfig(self):
|
||||
|
||||
self.insmod("ym2651y")
|
||||
self.insmod("accton_i2c_cpld")
|
||||
self.insmod_platform()
|
||||
|
||||
########### initialize I2C bus 0 ###########
|
||||
# initialize multiplexer (PCA9548)
|
||||
self.new_i2c_device('pca9548', 0x76, 0)
|
||||
|
||||
@@ -1 +1 @@
|
||||
!include $ONL_TEMPLATES/platform-config-platform.yml ARCH=amd64 VENDOR=accton PLATFORM=x86-64-accton-as7716-32x-r0
|
||||
!include $ONL_TEMPLATES/platform-config-with-modules.yml ARCH=amd64 VENDOR=accton PLATFORM=x86-64-accton-as7716-32x-r0 MODULES=onl-platform-modules-x86-64-accton-as7716-32x:amd64
|
||||
|
||||
@@ -17,12 +17,14 @@ x86-64-accton-as7716-32x-r0:
|
||||
--parity=no
|
||||
--stop=1
|
||||
|
||||
kernel:
|
||||
kernel:
|
||||
<<: *kernel-3-2
|
||||
|
||||
args: >-
|
||||
nopat
|
||||
console=ttyS0,115200n8
|
||||
tg3.short_preamble=1
|
||||
tg3.bcm5718s_reset=1
|
||||
|
||||
##network:
|
||||
## interfaces:
|
||||
|
||||
@@ -8,6 +8,11 @@ class OnlPlatform_x86_64_accton_as7716_32x_r0(OnlPlatformAccton,
|
||||
SYS_OBJECT_ID=".7716.32"
|
||||
|
||||
def baseconfig(self):
|
||||
|
||||
self.insmod("ym2651y")
|
||||
self.insmod('accton_i2c_cpld')
|
||||
self.insmod_platform()
|
||||
|
||||
########### initialize I2C bus 0 ###########
|
||||
self.new_i2c_devices([
|
||||
# initialize multiplexer (PCA9548)
|
||||
|
||||
Reference in New Issue
Block a user