Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
c870b39
DellEMC S6100 : Platform2.0 API implementation [Module, Thermal]
ArunSaravananBalachandran Aug 19, 2019
79b1eb8
DellEMC S6100 : Platform2.0 API [Module, Thermal]
ArunSaravananBalachandran Aug 20, 2019
9cebe7c
DellEMC : Platform2.0 API Implementation for Chassis [S6000, S6100, Z…
ArunSaravananBalachandran Aug 23, 2019
dd9c2a5
DellEMC S6100 : Platform2.0 API [Module]
ArunSaravananBalachandran Aug 24, 2019
4bad5ea
Merge branch 'master' into platform2.0_s6100
ArunSaravananBalachandran Sep 9, 2019
584ac01
DellEMC S6100 : Sync latest changes to Module
ArunSaravananBalachandran Sep 9, 2019
db90d4c
[sonic-slave]: Updated version of ctypesgen.py has a different name (…
pavel-shirshov Sep 11, 2019
9179990
[device][accton] Add as5812-54t. (#3428)
roylee123 Sep 11, 2019
a9310e4
DellEMC S6000: Platform2.0 API [Fan]
ArunSaravananBalachandran Sep 11, 2019
372f786
Merge branch 'master' into platform2.0
ArunSaravananBalachandran Sep 11, 2019
3ff0c4d
[Juniper][QFX5210] Optoe driver for SFP management (#3438)
ciju-juniper Sep 11, 2019
11258e5
[build]: sonic arm64 changes (#3419)
antony-rheneus Sep 11, 2019
23a3faf
[build]: Sonic installer script for armhf (#3303)
antony-rheneus Sep 11, 2019
2114b21
[submodule update]: Advance sonic-dbsyncd (#3440)
pavel-shirshov Sep 11, 2019
0e62280
[dhcp_relay] Properly wait for routed interfaces to be ready before s…
jleveque Sep 12, 2019
bbbd3db
[lldpmgrd] Initialize port_desc to None to prevent crashing (#3451)
jleveque Sep 12, 2019
95a72b4
[baseimage]: fix monit configuration (#3448)
lguohan Sep 13, 2019
da2ae49
Updated merge changes
ArunSaravananBalachandran Sep 13, 2019
97c675c
[cron.d] Add cron job to periodically clean-up core files (#3449)
daall Sep 13, 2019
81aef6b
[Qos] use dot1p to tc mapping for backend switches (#3422)
wendani Sep 13, 2019
faa754f
Merge pull request #3363 from ArunSaravananBalachandran/platform2.0_s…
sujinmkang Sep 14, 2019
72e879e
[snmpd]: Fix possible snmpd crash when sub agen timeout. (#3455)
renukamanavalan Sep 14, 2019
a2cd26a
[build] Avoid race condition in sonic-platform-common (#3457)
gpaussabrcm Sep 14, 2019
ac1d2c1
[devices]: DellEMC Z9264f_50gProfile: Added support for 50G T0 profil…
aravindmani-1 Sep 15, 2019
75104bb
[sflow]: Build infrastructure changes to support sflow docker and uti…
padmanarayana Sep 15, 2019
1cbc99d
Merge branch 'master' into platform2.0
ArunSaravananBalachandran Sep 16, 2019
31d1a76
[baseimage]: Management vrf ntp support (#3204)
Sep 16, 2019
a62ab78
Merge pull request #3381 from ArunSaravananBalachandran/platform2.0
sujinmkang Sep 16, 2019
124b26d
[Mellanox] platform_reboot - sync & umount fs before power cycle (#3430)
mykolaf Sep 17, 2019
3c0b56a
[DELL] S6100 Support PowerCycle in Last Reboot Reason (#3403)
sridhar-ravindran Sep 17, 2019
8ca1eb2
Install Iptables rules to set TCPMSS for 'lo' interface (#3452)
prsunny Sep 18, 2019
503d87b
[lldp]: expose lldpcli command of lldp docker to host (#3473)
yangshp1987 Sep 18, 2019
bbba3c7
[submodule update]: Advance sonic-platform-common submodule. (#3468)
nazariig Sep 18, 2019
19ffb02
[submodule update]: Advance sonic-utilities submodule. (#3466)
nazariig Sep 18, 2019
6ca0d7b
DellEMC S6000 : Platform2.0 API implementation [PSU, Thermal] (#3357)
ArunSaravananBalachandran Sep 18, 2019
5c9348b
DellEMC Z9100 : Platform2.0 API implementation [PSU, Thermal] (#3361)
ArunSaravananBalachandran Sep 18, 2019
9d2d617
[SNMP] management VRF SNMP support (#2608)
Sep 19, 2019
d1fe216
Add new device data for dx010 (Celestica-DX010-C32,Celestica-DX010-D…
bbinxie Sep 20, 2019
766b15d
[Juniper][QFX5210] Workaround for orchagent crash (#3458)
ciju-juniper Sep 20, 2019
dd4a50d
[database-docker]: update multiBD config file (#3487)
dzhangalibaba Sep 20, 2019
c60278d
[libteam]: Add Fast-Reboot mode for teamd (#3490)
pavel-shirshov Sep 20, 2019
622f3f5
[broadcom]: add led_fw_path to permitted_list (#3498)
habeebmohammed Sep 22, 2019
a97b15e
[device/as5835-54t] Implement get_transceiver_change_event() in sfput…
brandonchuang Sep 23, 2019
2f63e90
[device/arista] Add hwSku Arista-7280CR3-C40 for 7280 (#3477)
byu343 Sep 24, 2019
bccf186
[snmpd] mvrf snmp ipv6 prototype mismatch issue resolved (#3504)
kannankvs Sep 24, 2019
75907f1
[snmp] Build snmpd with ipv6 support and enable it (#3500)
qiluo-msft Sep 24, 2019
0e74e6d
Fixing orchagent crash in S6100,Z9100 (#3439)
Sep 24, 2019
905d429
[barefoot]: updated SDK to 9.0.0 released debian package (#3471)
Sep 24, 2019
b6a0999
[hostcfgd] hostcfgd will exit when set hostname in DEVICE_METADATA (#…
ouxlwhu Sep 25, 2019
dc0868e
[submodule update] update sonic-snmpagent pointer (#3495)
mykolaf Sep 25, 2019
c34a478
[build] install new platform api on host (#3282)
stephenxs Sep 25, 2019
362a685
[Mellanox] enhance the initialization flow of sfp part of new platfor…
stephenxs Sep 25, 2019
d059bda
Update sonic-platform-daemons submodule to pick up recent fix: (#3509)
keboliu Sep 25, 2019
7b0a5ba
Remove the divide by 4 operation to the under the hood SAI (#1532)
wendani Sep 25, 2019
a577a80
Flush port in both worm-reboot and fast-reboot mode on exit. Otherwis…
pavel-shirshov Sep 25, 2019
a8f10c7
[sonic-slave] Update linux-compiler-gcc package version to fix build …
jleveque Sep 26, 2019
e9785d5
[sonic-utilities] advance head to cbf19f6 (#3519)
stephenxs Sep 26, 2019
504cf62
[libteam]: Use last fixes from libteam master repo (#3513)
pavel-shirshov Sep 26, 2019
8c46787
[snmp] snmpd ipv6 supports multiple community strings (#3523)
qiluo-msft Sep 27, 2019
7308d2e
[Mellanox] Stop pmon ahead of syncd (#3505)
stephenxs Sep 27, 2019
00ab25d
[devices]: DellEMC-Z9264f: 10G_Port_addition (#3475)
aravindmani-1 Sep 27, 2019
d3d04dc
[bfn] Add missing port 65 for Mavericks board (#3461)
akokhan Sep 27, 2019
500c20f
[devics]: update the installer.conf and config.bcm for delta devices …
hans-tseng Sep 27, 2019
59febed
[docker-fpm-frr]:filter out the file of 'Dockerfile.j2' from the 'doc…
wangshengjun Sep 27, 2019
ecdd866
[device/celestica]: Update Component APIs (#3510)
Sep 27, 2019
ff7ef85
Regular quit needs to clean the ports two (#3531)
pavel-shirshov Sep 27, 2019
fb666d2
[FRR]: Use stg instead of patch (#3480)
pavel-shirshov Sep 29, 2019
f54792d
[mellanox]Integrate sai-1.15, sdk 4.3.2104 and firmware 2162 to sonic…
stephenxs Oct 1, 2019
abc02a7
[sairedis]: Advance sairedis reference pointer (#3530)
wendani Oct 1, 2019
52e35a0
[docker_image_ctl.j2] skip hostname update if is up to date (#3529)
stepanblyschak Oct 2, 2019
1515e39
[makefile] build Jessie slave unless NOJESSIE is specified (#3546)
yxieca Oct 2, 2019
cf0465b
Adopt per-port buffer and qos profile (#3542)
wendani Oct 2, 2019
d5262a3
[first boot] sync file system after moving/copying files (#3550)
yxieca Oct 2, 2019
cd85e21
[updategraph] enhance update graph handling (#3549)
yxieca Oct 2, 2019
8971b89
[libteam]: Keep member ports parts of a team when teamd quits in FR a…
pavel-shirshov Oct 2, 2019
eeeda28
[bcm config] enable sram scan (#3558)
yxieca Oct 4, 2019
f3cfa8f
Fix buffer configurations for 7170 (#2972)
zzhiyuan Oct 4, 2019
976850f
[submodule update] Add SSD Health tools (#3218)
andriymoroz-mlnx Oct 4, 2019
8861cbe
Configure buffer profile to all ports (#3561)
wendani Oct 4, 2019
c16f12b
Update sonic-utilities (#3563)
pavel-shirshov Oct 4, 2019
d316bcb
[Mellanox]Upload the SDK makefile modification (#3555)
stephenxs Oct 7, 2019
e9a0c57
[vsimage]: Support for the creation of a GNS3 appliance file (#3553)
mikelazar Oct 7, 2019
50cfa77
[device/celestica]: update psuutil follow new platform api (#3537)
Oct 7, 2019
9b8f5c9
[ntp]: Use loopback address when we don't have MGMT interface (#3566)
pavel-shirshov Oct 7, 2019
e69cb73
[frr]: Implement BGP_MONITORS support (#3545)
pavel-shirshov Oct 7, 2019
9726f6c
[devices]: Adding pre-emphasis for s6000 (#3571)
Oct 7, 2019
ce2ecf2
[frr]: Update frr version to 7.1 (#3575)
pavel-shirshov Oct 8, 2019
aec2477
[mellanox] build SDK driver from open source (#3580)
stepanblyschak Oct 8, 2019
350d2c5
[chassis.py] Fix issue in get_change_event: the returned dictionary d…
stephenxs Oct 8, 2019
28c358b
Add hwSku Arista-7280CR3-C28S8 (#3574)
byu343 Oct 8, 2019
1e7c458
Add separator field to database_config.json (#3581)
dzhangalibaba Oct 9, 2019
8d2f67e
[baseimage]: incrase docker ramfs from 800MB to 900MB (#3582)
lguohan Oct 9, 2019
576f098
[Mellanox]Resolve chassis broken due to inconsistent with latest soni…
stephenxs Oct 9, 2019
41e855c
[devices]: fixed sfputil error on ag9032 (#3579)
JohnsonYJLu Oct 9, 2019
110bff9
[Inventec][D6356] Update driver and Add new platform API implementat…
david-xk Oct 9, 2019
1b5c65f
[build]: Update comments on build_debian.sh (#3533)
qiluo-msft Oct 10, 2019
368c4fa
[devices]: support Silverstone platform (#3474)
tiantianlv Oct 10, 2019
150ed36
[snmp]: changes to handle snmp configuration as per the modified CLI …
kannankvs Oct 10, 2019
2694e66
[build]: build ARM kernel support from sonic-linux-kernel (#3556)
antony-rheneus Oct 10, 2019
7988deb
[teamd] fix lacp fallback mode in teamd v1.28 (#3572)
hzheng5 Oct 11, 2019
bdf7d24
[sonic-cfggen]: yaml.load() is deprecated in latest versions of PyYAM…
FuzailBrcm Oct 11, 2019
c9b686b
[module/silverstone] Updtae kernel module to support new FPGA i2c core
pphuchar Oct 3, 2019
68af60c
[plugins/sfputil] Silverstone update new i2c mapping
pphuchar Oct 3, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
[submodule "src/sonic-frr/frr"]
path = src/sonic-frr/frr
url = https://github.com/Azure/sonic-frr.git
branch = frr/7.0
branch = frr/7.1
[submodule "platform/p4/p4-hlir/p4-hlir-v1.1"]
path = platform/p4/p4-hlir/p4-hlir-v1.1
url = https://github.com/p4lang/p4-hlir.git
Expand All @@ -66,3 +66,6 @@
[submodule "platform/mellanox/mlnx-sai/SAI-Implementation"]
path = platform/mellanox/mlnx-sai/SAI-Implementation
url = https://github.com/Mellanox/SAI-Implementation
[submodule "Switch-SDK-drivers"]
path = platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers
url = https://github.com/Mellanox/Switch-SDK-drivers
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ endif

clean reset init configure showtag sonic-slave-build sonic-slave-bash :
@echo "+++ Making $@ +++"
ifeq ($(NOJESSIE), 0)
make -f Makefile.work $@
endif
BLDENV=stretch make -f Makefile.work $@
4 changes: 3 additions & 1 deletion Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ ifneq (,$(filter $(CONFIGURED_ARCH), armhf arm64))

DOCKER_MULTIARCH_CHECK := docker inspect --type image multiarch/qemu-user-static:register &> /dev/null || (echo "multiarch docker not found ..."; docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes)

DOCKER_SERVICE_MULTIARCH_CHECK := docker -H unix:///var/run/march/docker.sock info &> /dev/null || (echo "Docker march service not running..."; sudo rm -fr /var/run/march/docker*; (sudo $(SONIC_NATIVE_DOCKERD_FOR_MUTLIARCH) &) &>/dev/null ; sleep 1; sudo $(SONIC_USERFACL_DOCKERD_FOR_MUTLIARCH);)
DOCKER_SERVICE_MULTIARCH_CHECK := docker -H unix:///var/run/march/docker.sock info &> /dev/null || (echo "Docker march service not running..."; sudo rm -fr /var/run/march/; (sudo $(SONIC_NATIVE_DOCKERD_FOR_MUTLIARCH) &) &>/dev/null ; sleep 1; sudo $(SONIC_USERFACL_DOCKERD_FOR_MUTLIARCH);)

# Docker service to load the compiled dockers-*.gz
SONIC_NATIVE_DOCKERD_FOR_DOCKERFS := rm -fr $(PWD)/dockerfs/; mkdir -p $(PWD)/dockerfs/; sudo dockerd --storage-driver=overlay2 --iptables=false \
Expand Down Expand Up @@ -184,8 +184,10 @@ SONIC_BUILD_INSTRUCTION := make \
%::
ifneq (,$(filter $(CONFIGURED_ARCH), armhf arm64))
@$(DOCKER_MULTIARCH_CHECK)
ifneq ($(BLDENV), )
@$(DOCKER_SERVICE_MULTIARCH_CHECK)
@$(DOCKER_SERVICE_DOCKERFS_CHECK)
endif
endif
@$(OVERLAY_MODULE_CHECK)

Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,23 @@ To build SONiC installer image and docker images, run the following commands:

## Usage for ARM Architecture
To build Arm32 bit for (ARMHF) plaform
ARM build has dependency in docker version 18,
if docker version is 19, downgrade to 18 as below
sudo apt-get install --allow-downgrades -y docker-ce=5:18.09.0~3-0~ubuntu-xenial
sudo apt-get install --allow-downgrades -y docker-ce-cli=5:18.09.0~3-0~ubuntu-xenial

# Execute make configure once to configure ASIC and ARCH

make configure PLATFORM=[ASIC_VENDOR] PLATFORM_ARCH=armhf

**example**:
make target/sonic-[ASIC_VENDER]-armhf.bin

# example:

make configure PLATFORM=marvell-armhf PLATFORM_ARCH=armhf

make target/sonic-marvell-armhf.bin



To build Arm64 bit for plaform
Expand All @@ -105,7 +113,7 @@ To build Arm64 bit for plaform

make configure PLATFORM=[ASIC_VENDOR] PLATFORM_ARCH=arm64

**example**:
# example:

make configure PLATFORM=marvell-arm64 PLATFORM_ARCH=arm64

Expand Down
44 changes: 11 additions & 33 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,11 @@ fi
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install busybox
echo '[INFO] Install SONiC linux kernel image'
## Note: duplicate apt-get command to ensure every line return zero
if [[ $CONFIGURED_ARCH == armhf || $CONFIGURED_ARCH == arm64 ]]; then
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install cpio klibc-utils kmod libklibc udev linux-base
sudo dpkg --root=$FILESYSTEM_ROOT -i $debs_path/linux-image-*${CONFIGURED_ARCH}*.deb || \
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f
fi
sudo dpkg --root=$FILESYSTEM_ROOT -i $debs_path/initramfs-tools-core_*.deb || \
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f
sudo dpkg --root=$FILESYSTEM_ROOT -i $debs_path/initramfs-tools_*.deb || \
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f
sudo dpkg --root=$FILESYSTEM_ROOT -i $debs_path/linux-image-${LINUX_KERNEL_VERSION}-${CONFIGURED_ARCH}_*.deb || \
sudo dpkg --root=$FILESYSTEM_ROOT -i $debs_path/linux-image-${LINUX_KERNEL_VERSION}-*_${CONFIGURED_ARCH}.deb || \
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install acl
[[ $CONFIGURED_ARCH == amd64 ]] && sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install dmidecode
Expand Down Expand Up @@ -170,7 +165,7 @@ sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-premount/resize-

## Hook into initramfs: after partition mount and loop file mount
## 1. Prepare layered file system
## 2. Bind-mount docker working directory (docker aufs cannot work over aufs rootfs)
## 2. Bind-mount docker working directory (docker overlay storage cannot work over overlay rootfs)
sudo cp files/initramfs-tools/union-mount $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/union-mount
sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/union-mount
sudo cp files/initramfs-tools/varlog $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/varlog
Expand Down Expand Up @@ -206,7 +201,7 @@ sudo LANG=C chroot $FILESYSTEM_ROOT apt-get update
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install docker-ce=${DOCKER_VERSION}
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y remove software-properties-common gnupg2

## Add docker config drop-in to select aufs, otherwise it may select other storage driver
## Add docker config drop-in to specify dockerd command line
sudo mkdir -p $FILESYSTEM_ROOT/etc/systemd/system/docker.service.d/
## Note: $_ means last argument of last command
sudo cp files/docker/docker.service.conf $_
Expand Down Expand Up @@ -342,31 +337,8 @@ sudo sed -i 's/^ListenAddress ::/#ListenAddress ::/' $FILESYSTEM_ROOT/etc/ssh/ss
sudo sed -i 's/^#ListenAddress 0.0.0.0/ListenAddress 0.0.0.0/' $FILESYSTEM_ROOT/etc/ssh/sshd_config

## Config monit
sudo sed -i '
s/^# set logfile syslog/set logfile syslog/;
s/^\s*set logfile \/var/# set logfile \/var/;
s/^# set httpd port/set httpd port/;
s/^# use address localhost/ use address localhost/;
s/^# allow localhost/ allow localhost/;
s/^# allow admin:monit/ allow admin:monit/;
s/^# allow @monit/ allow @monit/;
s/^# allow @users readonly/ allow @users readonly/
' $FILESYSTEM_ROOT/etc/monit/monitrc

sudo tee -a $FILESYSTEM_ROOT/etc/monit/monitrc > /dev/null <<'EOF'
check filesystem root-overlay with path /
if space usage > 90% for 5 times within 10 cycles then alert
check filesystem var-log with path /var/log
if space usage > 90% for 5 times within 10 cycles then alert
check system $HOST
if memory usage > 50% for 5 times within 10 cycles then alert
if cpu usage (user) > 90% for 5 times within 10 cycles then alert
if cpu usage (system) > 90% for 5 times within 10 cycles then alert
check process rsyslog with pidfile /var/run/rsyslogd.pid
start program = "/bin/systemctl start rsyslog.service"
stop program = "/bin/systemctl stop rsyslog.service"
if totalmem > 800 MB for 5 times within 10 cycles then restart
EOF
sudo cp files/image_config/monit/monitrc $FILESYSTEM_ROOT/etc/monit/
sudo chmod 600 $FILESYSTEM_ROOT/etc/monit/monitrc

## Config sysctl
sudo mkdir -p $FILESYSTEM_ROOT/var/core
Expand Down Expand Up @@ -449,6 +421,9 @@ sudo cp files/dhcp/graphserviceurl $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks
sudo cp files/dhcp/snmpcommunity $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/vrf $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/dhclient.conf $FILESYSTEM_ROOT/etc/dhcp/
if [ -f files/image_config/ntp/ntp ]; then
sudo cp ./files/image_config/ntp/ntp $FILESYSTEM_ROOT/etc/init.d/
fi

## Version file
sudo mkdir -p $FILESYSTEM_ROOT/etc/sonic
Expand All @@ -463,6 +438,9 @@ build_number: ${BUILD_NUMBER:-0}
built_by: $USER@$BUILD_HOSTNAME
EOF

## Copy over clean-up script
sudo cp ./files/scripts/core_cleanup.py $FILESYSTEM_ROOT/usr/bin/core_cleanup.py

## Copy ASIC config checksum
python files/build_scripts/generate_asic_config_checksum.py
if [[ ! -f './asic_config_checksum' ]]; then
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# name lanes alias index speed
Ethernet0 13 tenGigE0 1 10000
Ethernet1 14 tenGigE1 2 10000
Ethernet2 15 tenGigE2 3 10000
Ethernet3 16 tenGigE3 4 10000
Ethernet4 21 tenGigE4 5 10000
Ethernet5 22 tenGigE5 6 10000
Ethernet6 23 tenGigE6 7 10000
Ethernet7 24 tenGigE7 8 10000
Ethernet8 25 tenGigE8 9 10000
Ethernet9 26 tenGigE9 10 10000
Ethernet10 27 tenGigE10 11 10000
Ethernet11 28 tenGigE11 12 10000
Ethernet12 29 tenGigE12 13 10000
Ethernet13 30 tenGigE13 14 10000
Ethernet14 31 tenGigE14 15 10000
Ethernet15 32 tenGigE15 16 10000
Ethernet16 45 tenGigE16 17 10000
Ethernet17 46 tenGigE17 18 10000
Ethernet18 47 tenGigE18 19 10000
Ethernet19 48 tenGigE19 20 10000
Ethernet20 49 tenGigE20 21 10000
Ethernet21 50 tenGigE21 22 10000
Ethernet22 51 tenGigE22 23 10000
Ethernet23 52 tenGigE23 24 10000
Ethernet24 53 tenGigE24 25 10000
Ethernet25 54 tenGigE25 26 10000
Ethernet26 55 tenGigE26 27 10000
Ethernet27 56 tenGigE27 28 10000
Ethernet28 57 tenGigE28 29 10000
Ethernet29 58 tenGigE29 30 10000
Ethernet30 59 tenGigE30 31 10000
Ethernet31 60 tenGigE31 32 10000
Ethernet32 61 tenGigE32 33 10000
Ethernet33 62 tenGigE33 34 10000
Ethernet34 63 tenGigE34 35 10000
Ethernet35 64 tenGigE35 36 10000
Ethernet36 65 tenGigE36 37 10000
Ethernet37 66 tenGigE37 38 10000
Ethernet38 67 tenGigE38 39 10000
Ethernet39 68 tenGigE39 40 10000
Ethernet40 69 tenGigE40 41 10000
Ethernet41 70 tenGigE41 42 10000
Ethernet42 71 tenGigE42 43 10000
Ethernet43 72 tenGigE43 44 10000
Ethernet44 73 tenGigE44 45 10000
Ethernet45 74 tenGigE45 46 10000
Ethernet46 75 tenGigE46 47 10000
Ethernet47 76 tenGigE47 48 10000
Ethernet48 97 tenGigE48 49 10000
Ethernet49 98 tenGigE49 49 10000
Ethernet50 99 tenGigE50 49 10000
Ethernet51 100 tenGigE51 49 10000
Ethernet52 101 tenGigE52 50 10000
Ethernet53 102 tenGigE53 50 10000
Ethernet54 103 tenGigE54 50 10000
Ethernet55 104 tenGigE55 50 10000
Ethernet56 81 tenGigE56 51 10000
Ethernet57 82 tenGigE57 51 10000
Ethernet58 83 tenGigE58 51 10000
Ethernet59 84 tenGigE59 51 10000
Ethernet60 105 tenGigE60 52 10000
Ethernet61 106 tenGigE61 52 10000
Ethernet62 107 tenGigE62 52 10000
Ethernet63 108 tenGigE63 52 10000
Ethernet64 109 tenGigE64 53 10000
Ethernet65 110 tenGigE65 53 10000
Ethernet66 111 tenGigE66 53 10000
Ethernet67 112 tenGigE67 53 10000
Ethernet68 77 tenGigE68 54 10000
Ethernet69 78 tenGigE69 54 10000
Ethernet70 79 tenGigE70 54 10000
Ethernet71 80 tenGigE71 54 10000
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td2-as5812-72x10G.config.bcm
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
os=unix
bcm_stat_flags=0
parity_enable=0
parity_correction=0

bcm_num_cos=8
l2_mem_entries=32768
l3_mem_entries=16384
l3_alpm_enable=2
ipv6_lpm_128b_enable=1

mmu_lossless=0
lls_num_l2uc=12
module_64ports=0

#SFI
serdes_if_type=9

port_init_cl72=0
phy_an_c73=5 # TSCMOD_CL73_CL37

#sdk6.5.5 only supports 156(default) or 125
#xgxs_lcpll_xtal_refclk=1
tslam_dma_enable=1
table_dma_enable=1

#for 72 ports with 48 10G ports and 6 40G ports for breakout mode
pbmp_oversubscribe=0x1fffffffffffffffffe
pbmp_xport_xe=0x1fffffffffffffffffe

rate_ext_mdio_divisor=96

#SFP+ 1-4 from WC3
portmap_1=13:10
portmap_2=14:10
portmap_3=15:10
portmap_4=16:10

#SFP+ 5-8 from WC5
portmap_5=21:10
portmap_6=22:10
portmap_7=23:10
portmap_8=24:10

#SFP+ 9-12 from WC6
portmap_9=25:10
portmap_10=26:10
portmap_11=27:10
portmap_12=28:10

#SFP+ 13-16 from WC7
portmap_13=29:10
portmap_14=30:10
portmap_15=31:10
portmap_16=32:10

#SFP+ 17-20 from WC11
portmap_17=45:10
portmap_18=46:10
portmap_19=47:10
portmap_20=48:10

#SFP+ 21-24 from WC12
portmap_21=49:10
portmap_22=50:10
portmap_23=51:10
portmap_24=52:10

#SFP+ 25-28 from WC13
portmap_25=53:10
portmap_26=54:10
portmap_27=55:10
portmap_28=56:10

#SFP+ 29-32 from WC14
portmap_29=57:10
portmap_30=58:10
portmap_31=59:10
portmap_32=60:10

#SFP+ 33-36 from WC15
portmap_33=61:10
portmap_34=62:10
portmap_35=63:10
portmap_36=64:10

#SFP+ 37-40 from WC16
portmap_37=65:10
portmap_38=66:10
portmap_39=67:10
portmap_40=68:10

#SFP+ 41-44 from WC17
portmap_41=69:10
portmap_42=70:10
portmap_43=71:10
portmap_44=72:10

#SFP+ 45-48 from WC18
portmap_45=73:10
portmap_46=74:10
portmap_47=75:10
portmap_48=76:10

# QSFP+ 49/WC24/port 49
portmap_49=97:10
portmap_50=98:10
portmap_51=99:10
portmap_52=100:10

# QSFP+ 51/WC25/port 50
portmap_53=101:10
portmap_54=102:10
portmap_55=103:10
portmap_56=104:10

# QSFP+ 53/WC20/port 51
portmap_57=81:10
portmap_58=82:10
portmap_59=83:10
portmap_60=84:10

# QSFP+ 50/WC26/port 52
portmap_61=105:10
portmap_62=106:10
portmap_63=107:10
portmap_64=108:10

# QSFP+ 52/WC27/port 53
portmap_65=109:10
portmap_66=110:10
portmap_67=111:10
portmap_68=112:10

# QSFP+ 54/WC19/port 54
portmap_69=77:10
portmap_70=78:10
portmap_71=79:10
portmap_72=80:10

# L3 ECMP
# - In Trident2, VP LAGs share the same table as ECMP group table.
# The first N entries are reserved for VP LAGs, where N is the value of the
# config property "max_vp_lags". By default this was set to 256
l3_max_ecmp_mode=1
max_vp_lags=0

stable_size=0x2000000
1 change: 1 addition & 0 deletions device/accton/x86_64-accton_as5812_54t-r0/default_sku
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Accton-AS5812-54T t1
3 changes: 3 additions & 0 deletions device/accton/x86_64-accton_as5812_54t-r0/installer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONSOLE_PORT=0x2f8
CONSOLE_DEV=1
CONSOLE_SPEED=115200
Loading