Skip to content

Commit

Permalink
Merge branch 'master' into pmon-py3-build-support
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox authored Dec 15, 2020
2 parents 5e4aaac + 4257c79 commit 0526d17
Show file tree
Hide file tree
Showing 177 changed files with 10,854 additions and 402 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ ifeq ($(NOSTRETCH), 0)
make -f Makefile.work stretch
endif

clean reset init configure showtag sonic-slave-build sonic-slave-bash :
init:
@echo "+++ Making $@ +++"
make -f Makefile.work $@

clean configure reset showtag sonic-slave-build sonic-slave-bash :
@echo "+++ Making $@ +++"
ifeq ($(NOJESSIE), 0)
make -f Makefile.work $@
Expand Down
2 changes: 0 additions & 2 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ sudo LANG=C chroot $FILESYSTEM_ROOT mount
## Pointing apt to public apt mirrors and getting latest packages, needed for latest security updates
sudo cp files/apt/sources.list.$CONFIGURED_ARCH $FILESYSTEM_ROOT/etc/apt/sources.list
sudo cp files/apt/apt.conf.d/{81norecommends,apt-{clean,gzip-indexes,no-languages},no-check-valid-until} $FILESYSTEM_ROOT/etc/apt/apt.conf.d/
sudo LANG=C chroot $FILESYSTEM_ROOT bash -c 'apt-mark auto `apt-mark showmanual`'

## Note: set lang to prevent locale warnings in your chroot
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y update
Expand Down Expand Up @@ -517,7 +516,6 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y re

## Add mtd and uboot firmware tools package
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install u-boot-tools mtd-utils device-tree-compiler
sudo LANG=C chroot $FILESYSTEM_ROOT apt-mark manual u-boot-tools mtd-utils device-tree-compiler

## Update initramfs
sudo chroot $FILESYSTEM_ROOT update-initramfs -u
Expand Down
189 changes: 189 additions & 0 deletions device/arista/x86_64-arista_7050_qx32/platform.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
{
"chassis": {
"name": "DCS-7050QX-32",
"components": [],
"fans": [
{
"name": "fan1"
},
{
"name": "fan2"
},
{
"name": "fan3"
},
{
"name": "fan4"
}
],
"fan_drawers": [
{
"name": "fan1",
"fans": [
{
"name": "fan1"
}
]
},
{
"name": "fan2",
"fans": [
{
"name": "fan2"
}
]
},
{
"name": "fan3",
"fans": [
{
"name": "fan3"
}
]
},
{
"name": "fan4",
"fans": [
{
"name": "fan4"
}
]
}
],
"psus": [
{
"name": "psu1",
"fans": []
},
{
"name": "psu2",
"fans": []
}
],
"thermals": [
{
"name": "Cpu temp sensor"
},
{
"name": "Board sensor"
},
{
"name": "Front-panel temp sensor"
},
{
"name": "Rear temp sensor"
},
{
"name": "Power supply 1 inlet temp sensor"
},
{
"name": "Power supply 1 internal sensor"
},
{
"name": "Power supply 2 inlet temp sensor"
},
{
"name": "Power supply 2 internal sensor"
}
],
"sfps": [
{
"name": "qsfp1"
},
{
"name": "qsfp2"
},
{
"name": "qsfp3"
},
{
"name": "qsfp4"
},
{
"name": "qsfp5"
},
{
"name": "qsfp6"
},
{
"name": "qsfp7"
},
{
"name": "qsfp8"
},
{
"name": "qsfp9"
},
{
"name": "qsfp10"
},
{
"name": "qsfp11"
},
{
"name": "qsfp12"
},
{
"name": "qsfp13"
},
{
"name": "qsfp14"
},
{
"name": "qsfp15"
},
{
"name": "qsfp16"
},
{
"name": "qsfp17"
},
{
"name": "qsfp18"
},
{
"name": "qsfp19"
},
{
"name": "qsfp20"
},
{
"name": "qsfp21"
},
{
"name": "qsfp22"
},
{
"name": "qsfp23"
},
{
"name": "qsfp24"
},
{
"name": "qsfp25"
},
{
"name": "qsfp26"
},
{
"name": "qsfp27"
},
{
"name": "qsfp28"
},
{
"name": "qsfp29"
},
{
"name": "qsfp30"
},
{
"name": "qsfp31"
},
{
"name": "qsfp32"
}
]
},
"interfaces": {}
}
Loading

0 comments on commit 0526d17

Please sign in to comment.