forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Centec platform support for Bullseye and 5.10 kernel (#7)
1. Fix build for armhf and arm64 2. upgrade centec tsingma bsp support to 5.10 kernel 3. modify centec platform driver for linux 5.10 Co-authored-by: Shi Lei <shil@centecnetworks.com>
- Loading branch information
1 parent
b4dda1c
commit 5b28476
Showing
80 changed files
with
8,258 additions
and
8,073 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
## Debian mirror for ARM | ||
## Not the repo mirror site can change in future, and needs to be updated to be in sync | ||
|
||
deb [arch=arm64] http://deb.debian.org/debian buster main contrib non-free | ||
deb-src [arch=arm64] http://deb.debian.org/debian buster main contrib non-free | ||
deb [arch=arm64] http://deb.debian.org/debian buster-updates main contrib non-free | ||
deb-src [arch=arm64] http://deb.debian.org/debian buster-updates main contrib non-free | ||
deb [arch=arm64] http://ftp.debian.org/debian buster-backports main | ||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian buster main contrib non-free | ||
deb-src [arch=arm64] http://packages.trafficmanager.net/debian/debian buster main contrib non-free | ||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free | ||
deb-src [arch=arm64] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free | ||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian buster-backports main | ||
deb [arch=arm64] http://deb.debian.org/debian bullseye main contrib non-free | ||
deb-src [arch=arm64] http://deb.debian.org/debian bullseye main contrib non-free | ||
deb [arch=arm64] http://deb.debian.org/debian bullseye-updates main contrib non-free | ||
deb-src [arch=arm64] http://deb.debian.org/debian bullseye-updates main contrib non-free | ||
deb [arch=arm64] http://ftp.debian.org/debian bullseye-backports main | ||
# deb [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free | ||
# deb-src [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free | ||
# deb [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free | ||
# deb-src [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free | ||
# deb [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye-backports main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
## Debian mirror for ARM | ||
## Not the repo mirror site can change in future, and needs to be updated to be in sync | ||
|
||
deb [arch=armhf] http://deb.debian.org/debian buster main contrib non-free | ||
deb-src [arch=armhf] http://deb.debian.org/debian buster main contrib non-free | ||
deb [arch=armhf] http://deb.debian.org/debian buster-updates main contrib non-free | ||
deb-src [arch=armhf] http://deb.debian.org/debian buster-updates main contrib non-free | ||
deb [arch=armhf] http://ftp.debian.org/debian buster-backports main | ||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian buster main contrib non-free | ||
deb-src [arch=armhf] http://packages.trafficmanager.net/debian/debian buster main contrib non-free | ||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free | ||
deb-src [arch=armhf] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free | ||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian buster-backports main | ||
deb [arch=armhf] http://deb.debian.org/debian bullseye main contrib non-free | ||
deb-src [arch=armhf] http://deb.debian.org/debian bullseye main contrib non-free | ||
deb [arch=armhf] http://deb.debian.org/debian bullseye-updates main contrib non-free | ||
deb-src [arch=armhf] http://deb.debian.org/debian bullseye-updates main contrib non-free | ||
deb [arch=armhf] http://ftp.debian.org/debian bullseye-backports main | ||
# deb [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free | ||
# deb-src [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free | ||
# deb [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free | ||
# deb-src [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free | ||
# deb [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye-backports main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
files/image_config/apt/sources.list.d/arm64/debian_mirror_arm64.list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
deb [arch=arm64] http://deb.debian.org/debian buster main contrib non-free | ||
deb-src [arch=arm64] http://deb.debian.org/debian buster main contrib non-free | ||
deb [arch=arm64] http://deb.debian.org/debian buster-updates main contrib non-free | ||
deb-src [arch=arm64] http://deb.debian.org/debian buster-updates main contrib non-free | ||
deb [arch=arm64] http://security.debian.org buster/updates main contrib non-free | ||
deb-src [arch=arm64] http://security.debian.org buster/updates main contrib non-free | ||
deb [arch=arm64] https://download.docker.com/linux/debian buster stable | ||
deb [arch=arm64] http://ftp.debian.org/debian buster-backports main | ||
deb [arch=arm64] http://deb.debian.org/debian bullseye main contrib non-free | ||
deb-src [arch=arm64] http://deb.debian.org/debian bullseye main contrib non-free | ||
deb [arch=arm64] http://deb.debian.org/debian bullseye-updates main contrib non-free | ||
deb-src [arch=arm64] http://deb.debian.org/debian bullseye-updates main contrib non-free | ||
deb [arch=arm64] http://security.debian.org bullseye-security main contrib non-free | ||
deb-src [arch=arm64] http://security.debian.org bullseye-security main contrib non-free | ||
deb [arch=arm64] https://download.docker.com/linux/debian bullseye stable | ||
deb [arch=arm64] http://ftp.debian.org/debian bullseye-backports main | ||
|
16 changes: 8 additions & 8 deletions
16
files/image_config/apt/sources.list.d/armhf/debian_mirror_armhf.list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
deb [arch=armhf] http://deb.debian.org/debian buster main contrib non-free | ||
deb-src [arch=armhf] http://deb.debian.org/debian buster main contrib non-free | ||
deb [arch=armhf] http://deb.debian.org/debian buster-updates main contrib non-free | ||
deb-src [arch=armhf] http://deb.debian.org/debian buster-updates main contrib non-free | ||
deb [arch=armhf] http://security.debian.org buster/updates main contrib non-free | ||
deb-src [arch=armhf] http://security.debian.org buster/updates main contrib non-free | ||
deb [arch=armhf] https://download.docker.com/linux/debian buster stable | ||
deb [arch=armhf] http://ftp.debian.org/debian buster-backports main | ||
deb [arch=armhf] http://deb.debian.org/debian bullseye main contrib non-free | ||
deb-src [arch=armhf] http://deb.debian.org/debian bullseye main contrib non-free | ||
deb [arch=armhf] http://deb.debian.org/debian bullseye-updates main contrib non-free | ||
deb-src [arch=armhf] http://deb.debian.org/debian bullseye-updates main contrib non-free | ||
deb [arch=armhf] http://security.debian.org bullseye-security main contrib non-free | ||
deb-src [arch=armhf] http://security.debian.org bullseye-security main contrib non-free | ||
deb [arch=armhf] https://download.docker.com/linux/debian bullseye stable | ||
deb [arch=armhf] http://ftp.debian.org/debian bullseye-backports main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
platform/centec-arm64/sonic-platform-modules-e530/24x2c/modules/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
KBUILD_EXTRA_SYMBOLS = /sonic/platform/centec-arm64/sonic-platform-modules-e530/pca954x/Module.symvers | ||
|
||
obj-m := centec_e530_24x2c_platform.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
platform/centec-arm64/sonic-platform-modules-e530/24x2q/modules/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
KBUILD_EXTRA_SYMBOLS = /sonic/platform/centec-arm64/sonic-platform-modules-e530/pca954x/Module.symvers | ||
|
||
obj-m := centec_e530_24x2q_platform.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
platform/centec-arm64/sonic-platform-modules-e530/48s4x/modules/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
KBUILD_EXTRA_SYMBOLS = /sonic/platform/centec-arm64/sonic-platform-modules-e530/pca954x/Module.symvers | ||
|
||
obj-m := centec_e530_48s4x_platform.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
platform/centec-arm64/sonic-platform-modules-e530/48t4x-p/modules/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
KBUILD_EXTRA_SYMBOLS = /sonic/platform/centec-arm64/sonic-platform-modules-e530/pca954x/Module.symvers | ||
|
||
obj-m := centec_e530_48t4x_p_platform.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
platform/centec-arm64/sonic-platform-modules-e530/debian/platform-modules-e530-24x2c.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
24x2c/modules/sonic_platform-1.0-py2-none-any.whl usr/share/sonic/device/arm64-centec_e530_24x2c-r0 | ||
24x2c/modules/sonic_platform-1.0-py3-none-any.whl usr/share/sonic/device/arm64-centec_e530_24x2c-r0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
platform/centec-arm64/sonic-platform-modules-e530/debian/platform-modules-e530-24x2q.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
24x2q/modules/sonic_platform-1.0-py2-none-any.whl usr/share/sonic/device/arm64-centec_e530_24x2q-r0 | ||
24x2q/modules/sonic_platform-1.0-py3-none-any.whl usr/share/sonic/device/arm64-centec_e530_24x2q-r0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
platform/centec-arm64/sonic-platform-modules-e530/debian/platform-modules-e530-48s4x.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
48s4x/modules/sonic_platform-1.0-py2-none-any.whl usr/share/sonic/device/arm64-centec_e530_48s4x-r0 | ||
48s4x/modules/sonic_platform-1.0-py3-none-any.whl usr/share/sonic/device/arm64-centec_e530_48s4x-r0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...orm/centec-arm64/sonic-platform-modules-e530/debian/platform-modules-e530-48t4x-p.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
48t4x-p/modules/sonic_platform-1.0-py2-none-any.whl usr/share/sonic/device/arm64-centec_e530_48t4x_p-r0 | ||
48t4x-p/modules/sonic_platform-1.0-py3-none-any.whl usr/share/sonic/device/arm64-centec_e530_48t4x_p-r0 |
Oops, something went wrong.