Skip to content

Compare: Porting Guide

Showing with 100 additions and 34 deletions.
  1. +35 −2 Design-Specs.md
  2. +33 −0 Porting-Guide.md
  3. +16 −16 Release-Progress-Tracking-202106.md
  4. +16 −16 pr_open_count.md
33 changes: 33 additions & 0 deletions Porting-Guide.md
Expand Up @@ -111,6 +111,7 @@ SONiC distinguishes devices by a hierarchy of two levels, *Platform* and *Hardwa
| | |-- installer.conf
| | |-- led_proc_init.soc
| | |-- pcie.yaml
| | |-- platform_asic
| | |-- platform_env.conf
| | |-- platform.json
| | |-- platform_reboot
Expand Down Expand Up @@ -176,6 +177,38 @@ SONiC distinguishes devices by a hierarchy of two levels, *Platform* and *Hardwa

--------------------------------------------------------------------------------

- **platform_asic**
- A data file which defined the ASIC vendor fact about the platform
- Should contains lines and each line is a ASIC vendor name, such as broadcom/broadcom-dnx/mellanox/etc. It actually supported multiple lines with multiple vendor names, which is extremely seldom.
- Example
```
broadcom-dnx
```
- You can get a list of the ASIC platforms by `ls -b platform | cat`. Currently the options are
```
barefoot
broadcom
cavium
centec
centec-arm64
generic
innovium
marvell
marvell-arm64
marvell-armhf
mellanox
nephos
p4
vs
```

Also support
```
broadcom-dnx
```

--------------------------------------------------------------------------------

- **platform_env.conf**
- Configuration file to specify the environment parameters for platform modules.
- NOTE: This file is optional. Needs to be present if platform needs to override default parameters for its modules.
Expand Down