-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
43 changed files
with
420 additions
and
982 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 |
---|---|---|
|
@@ -88,7 +88,7 @@ | |
|
||
# Description | ||
|
||
Following is the instruction on how to build an [(ONIE)](https://github.com/opencomputeproject/onie) compatible network operating system (NOS) installer image for network switches, and also how to build docker images running inside the NOS. Note that SONiC image are build per ASIC platform. Switches using the same ASIC platform share a common image. For a list of supported switches and ASIC, please refer to this [list](https://github.com/Azure/SONiC/wiki/Supported-Devices-and-Platforms) | ||
Following is the instruction on how to build an [(ONIE)](https://github.com/opencomputeproject/onie) compatible network operating system (NOS) installer image for network switches, and also how to build docker images running inside the NOS. Note that SONiC image are build per ASIC platform. Switches using the same ASIC platform share a common image. For a list of supported switches and ASIC, please refer to this [list](https://github.com/sonic-net/SONiC/wiki/Supported-Devices-and-Platforms) | ||
|
||
# Hardware | ||
|
||
|
@@ -97,6 +97,8 @@ Any server can be a build image server as long as it has: | |
* Multiple cores to increase build speed | ||
* Plenty of RAM (less than 8 GiB is likely to cause issues) | ||
* 300G of free disk space | ||
* KVM Virtualization Support. | ||
> Note: If you are in a VM, make sure you have support for nested virtualization. | ||
A good choice of OS for building SONiC is currently Ubuntu 20.04. | ||
|
||
|
@@ -116,7 +118,7 @@ sudo pip3 install j2cli | |
## Clone or fetch the code repository with all git submodules | ||
To clone the code repository recursively, assuming git version 1.9 or newer: | ||
|
||
git clone https://github.com/Azure/sonic-buildimage.git | ||
git clone https://github.com/sonic-net/sonic-buildimage.git | ||
|
||
## Usage | ||
|
||
|
@@ -151,7 +153,6 @@ To build SONiC installer image and docker images, run the following commands: | |
- PLATFORM=centec | ||
- PLATFORM=nephos | ||
- PLATFORM=innovium | ||
- PLATFORM=p4 | ||
- PLATFORM=vs | ||
|
||
## Usage for ARM Architecture | ||
|
@@ -238,10 +239,10 @@ Every target has a clean target, so in order to clean swss, execute: | |
It is recommended to use clean targets to clean all packages that are built together, like dev packages for instance. In order to be more familiar with build process and make some changes to it, it is recommended to read this short [Documentation](README.buildsystem.md). | ||
|
||
## Build debug dockers and debug SONiC installer image: | ||
SONiC build system supports building dockers and ONIE-image with debug tools and debug symbols, to help with live & core debugging. For details refer to [(SONiC Buildimage Guide)](https://github.com/Azure/sonic-buildimage/blob/master/README.buildsystem.md). | ||
SONiC build system supports building dockers and ONIE-image with debug tools and debug symbols, to help with live & core debugging. For details refer to [(SONiC Buildimage Guide)](https://github.com/sonic-net/sonic-buildimage/blob/master/README.buildsystem.md). | ||
|
||
## SAI Version | ||
Please refer to [SONiC roadmap](https://github.com/Azure/SONiC/wiki/Sonic-Roadmap-Planning) on the SAI version for each SONiC release. | ||
Please refer to [SONiC roadmap](https://github.com/sonic-net/SONiC/wiki/Sonic-Roadmap-Planning) on the SAI version for each SONiC release. | ||
|
||
## Notes: | ||
- If you are running make for the first time, a sonic-slave-${USER} docker image will be built automatically. | ||
|
@@ -263,11 +264,11 @@ This may take a while, but it is a one-time action, so please be patient. | |
- docker-syncd-invm.gz: docker image for the daemon to sync database and Innovium switch ASIC (gzip tar archive) | ||
- docker-sonic-p4.gz: docker image for all-in-one for p4 software switch (gzip tar archive) | ||
- docker-sonic-vs.gz: docker image for all-in-one for software virtual switch (gzip tar archive) | ||
- docker-sonic-mgmt.gz: docker image for [managing, configuring and monitoring SONiC](https://github.com/Azure/sonic-mgmt) (gzip tar archive) | ||
- docker-sonic-mgmt.gz: docker image for [managing, configuring and monitoring SONiC](https://github.com/sonic-net/sonic-mgmt) (gzip tar archive) | ||
|
||
## Contribution Guide | ||
|
||
All contributors must sign a contribution license agreement before contributions can be accepted. Contact [[email protected]](mailto:[email protected]). | ||
All contributors must sign a contribution license agreement before contributions can be accepted. Visit [EasyCLA - Linux Foundation](https://easycla.lfx.linuxfoundation.org). | ||
|
||
## GitHub Workflow | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CONSOLE_PORT=0x3f8 | ||
CONSOLE_DEV=0 | ||
CONSOLE_SPEED=9600 | ||
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off module_blacklist=gpio_ich crashkernel=0M-2G:256M,2G-4G:320M,4G-8G:384M,8G-:448M acpi_no_watchdog" | ||
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="intel_iommu=off modprobe.blacklist=gpio_ich,i2c-ismt,i2c_ismt,i2c-i801,i2c_i801 crashkernel=0M-2G:256M,2G-4G:320M,4G-8G:384M,8G-:448M acpi_no_watchdog" |
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
Submodule saibcm-modules-dnx
updated
from 8771ba to 65bce4
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
24 changes: 0 additions & 24 deletions
24
platform/broadcom/saibcm-modules/sdklt/linux/include/net/psample.h
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
platform/broadcom/saibcm-modules/sdklt/linux/include/uapi/linux/psample.h
This file was deleted.
Oops, something went wrong.
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
18 changes: 0 additions & 18 deletions
18
platform/broadcom/saibcm-modules/sdklt/linux/psample/Kbuild
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
platform/broadcom/saibcm-modules/sdklt/linux/psample/Makefile
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.