From 12e5e22572ab143848422963f6bee255db186806 Mon Sep 17 00:00:00 2001 From: celestica-abhisit Date: Thu, 20 Jul 2017 00:29:46 +0700 Subject: [PATCH] [platform/Seastone] Add a new supported platform, Celestica Seastone-DX010 (#816) * [platform/Seastone] Add a new supported platform, Celestica Seastone-DX010. Switch Vendor: Celestica Switch SKU : Seastone-DX010 ASIC Vendor: Broadcom Swich ASIC: Tomahawk Port Configuration: 32x100G, 64x50G and 96x10G+16x50G. SONiC Image: SONiC-ONIE-Broadcom Signed-off-by: asang@celestica.com * Help to convert tab to white space for Inventec-D7032Q28B platform. --- .gitmodules | 3 +++ platform/broadcom/one-image.mk | 3 ++- platform/broadcom/platform-modules-cel.mk | 11 +++++++++++ platform/broadcom/rules.mk | 1 + platform/broadcom/sonic-platform-modules-cel | 1 + 5 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 platform/broadcom/platform-modules-cel.mk create mode 160000 platform/broadcom/sonic-platform-modules-cel diff --git a/.gitmodules b/.gitmodules index 454019f9eb..5bf6fb5b4a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -66,3 +66,6 @@ [submodule "platform/broadcom/sonic-platform-modules-accton"] path = platform/broadcom/sonic-platform-modules-accton url = https://github.com/edge-core/sonic-platform-modules-accton.git +[submodule "platform/broadcom/sonic-platform-modules-cel"] + path = platform/broadcom/sonic-platform-modules-cel + url = https://github.com/celestica-Inc/sonic-platform-modules-cel.git diff --git a/platform/broadcom/one-image.mk b/platform/broadcom/one-image.mk index 0a48a32bd6..912c3ea396 100644 --- a/platform/broadcom/one-image.mk +++ b/platform/broadcom/one-image.mk @@ -11,6 +11,7 @@ $(SONIC_ONE_IMAGE)_INSTALLS += $(DELL_S6000_PLATFORM_MODULE) \ $(INGRASYS_S8900_64XC_PLATFORM_MODULE) \ $(INGRASYS_S9100_PLATFORM_MODULE) \ $(ACCTON_AS7712_32X_PLATFORM_MODULE) \ - $(INVENTEC_D7032Q28B_PLATFORM_MODULE) + $(INVENTEC_D7032Q28B_PLATFORM_MODULE) \ + $(CEL_DX010_PLATFORM_MODULE) $(SONIC_ONE_IMAGE)_DOCKERS += $(SONIC_INSTALL_DOCKER_IMAGES) SONIC_INSTALLERS += $(SONIC_ONE_IMAGE) diff --git a/platform/broadcom/platform-modules-cel.mk b/platform/broadcom/platform-modules-cel.mk new file mode 100644 index 0000000000..37dce948d3 --- /dev/null +++ b/platform/broadcom/platform-modules-cel.mk @@ -0,0 +1,11 @@ +# Celestica DX010 Platform modules + +CEL_DX010_PLATFORM_MODULE_VERSION = 0.5 + +export CEL_DX010_PLATFORM_MODULE_VERSION + +CEL_DX010_PLATFORM_MODULE = platform-modules-dx010_$(CEL_DX010_PLATFORM_MODULE_VERSION)_amd64.deb +$(CEL_DX010_PLATFORM_MODULE)_SRC_PATH = $(PLATFORM_PATH)/sonic-platform-modules-cel +$(CEL_DX010_PLATFORM_MODULE)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON) +$(CEL_DX010_PLATFORM_MODULE)_PLATFORM = x86_64-cel_seastone-r0 +SONIC_DPKG_DEBS += $(CEL_DX010_PLATFORM_MODULE) diff --git a/platform/broadcom/rules.mk b/platform/broadcom/rules.mk index 3823dcc4b8..253593b30f 100755 --- a/platform/broadcom/rules.mk +++ b/platform/broadcom/rules.mk @@ -6,6 +6,7 @@ include $(PLATFORM_PATH)/platform-modules-arista.mk include $(PLATFORM_PATH)/platform-modules-ingrasys.mk include $(PLATFORM_PATH)/platform-modules-accton.mk include $(PLATFORM_PATH)/platform-modules-inventec.mk +include $(PLATFORM_PATH)/platform-modules-cel.mk include $(PLATFORM_PATH)/docker-orchagent-brcm.mk include $(PLATFORM_PATH)/docker-syncd-brcm.mk include $(PLATFORM_PATH)/docker-syncd-brcm-rpc.mk diff --git a/platform/broadcom/sonic-platform-modules-cel b/platform/broadcom/sonic-platform-modules-cel new file mode 160000 index 0000000000..983b298ef6 --- /dev/null +++ b/platform/broadcom/sonic-platform-modules-cel @@ -0,0 +1 @@ +Subproject commit 983b298ef65f994728e250ab5744914b6f27b454