Skip to content

[console] use fixed console baud rate#1734

Merged
lguohan merged 1 commit intosonic-net:masterfrom
yxieca:baudrate
Nov 1, 2018
Merged

[console] use fixed console baud rate#1734
lguohan merged 1 commit intosonic-net:masterfrom
yxieca:baudrate

Conversation

@yxieca
Copy link
Contributor

@yxieca yxieca commented May 23, 2018

Signed-off-by: Ying Xie [email protected]

- What I did
When CONSOLE_SPEED is defined in /installer.conf, use the defined
speed. Otherwise, use 9600.

- How I did it
Check installer.conf at each boot up time and set baudrate accordingly.

- How to verify it
Tested on my dut with following scenarios:

  1. Without installer.conf: the console baudrate is fixed to 9600 after boot up.
  2. With installer.conf specifying a baudrate: the console baudrate is set to the expected value after boot up.
  3. Editing the baudrate in installer.conf in device folder to a different value. reboot the dut and the baudrate changes accordingly.

@yxieca
Copy link
Contributor Author

yxieca commented May 25, 2018

I rebased this change on top of latest master. Let's continue the discussions.

Auto negotiating console speed could cause sonic to lock on a wrong
speed under rare conditions. The only way to come out of the wrong
speed is to issue line break or restart console service with forced
speed, or reboot sonic.

Lock down the console speed to avoid these situations.

Signed-off-by: Ying Xie <[email protected]>
@lguohan lguohan merged commit 5cff136 into sonic-net:master Nov 1, 2018
@yxieca yxieca deleted the baudrate branch November 2, 2018 16:11
judyjoseph added a commit that referenced this pull request Aug 7, 2021
8b149a3 Load the  database global_db only once for show cli  (#1712)
cd0e560 [config][interface][speed] Fixed the config interface speed in multiasic issue (#1739)
b595ba6 [fast-reboot] revert the change of disabling counter polling before fast-reboot (#1744)
8518820 [minigraph] Donot enable PFC watchdog for MgmtTsToR (#1734)
2213774 [CLI][show][bgp] Fix the show ip bgp network command (#1733)
3526507 [configlet] Python3 compatible syntax for extracting a key from the dict (#1721)
5b56b97 [sonic_installer] don't print errors when installing an image not supporting app ext (#1719)
a581955 [LLDP] Fix lldpshow script to enable display multiple MAC addresses on the same remote physical interface (#1657)
@lguohan lguohan mentioned this pull request Aug 17, 2021
5 tasks
lguohan added a commit to lguohan/sonic-buildimage that referenced this pull request Aug 17, 2021
* 0a145e8 2021-08-17 | Revert "[config][generic-update] Implementing patch sorting (sonic-net#1599)" (HEAD, origin/master, origin/HEAD) [Guohan Lu]
* dbcc6fd 2021-08-16 | [config reload]: fix the condition for checking if system is starting (sonic-net#1766) (HEAD, origin/master, origin/HEAD) [Guohan Lu]
* 2c7cfaa 2021-08-17 | [sonic-package-manager] switch from poetry-semver to semantic_version due to bugs found in poetry-semver (sonic-net#1710) [Stepan Blyshchak]
* 7821a3f 2021-08-13 | [vnet_route_check] don't hardcode prefix length of /24 (sonic-net#1756) [Stepan Blyshchak]
* 4175cb9 2021-08-11 | [show priority-group drop counters] Add user info output when user want to check PG counters and polling are disabled (sonic-net#1678) [Andriy Yurkiv]
* 920bb87 2021-08-10 | [config][generic-update] Implementing patch sorting (sonic-net#1599) [Mohamed Ghoneim]
* 30907c4 2021-08-06 | [config][interface][speed] Fixed the config interface speed in multiasic issue (sonic-net#1739) [Marty Y. Lok]
* 4b88e0e 2021-08-06 | [minigraph] Donot enable PFC watchdog for MgmtTsToR (sonic-net#1734) [Blueve]

Signed-off-by: Guohan Lu <[email protected]>
lguohan added a commit that referenced this pull request Aug 17, 2021
* 0a145e8 2021-08-17 | Revert "[config][generic-update] Implementing patch sorting (#1599)" (HEAD, origin/master, origin/HEAD) [Guohan Lu]
* dbcc6fd 2021-08-16 | [config reload]: fix the condition for checking if system is starting (#1766) (HEAD, origin/master, origin/HEAD) [Guohan Lu]
* 2c7cfaa 2021-08-17 | [sonic-package-manager] switch from poetry-semver to semantic_version due to bugs found in poetry-semver (#1710) [Stepan Blyshchak]
* 7821a3f 2021-08-13 | [vnet_route_check] don't hardcode prefix length of /24 (#1756) [Stepan Blyshchak]
* 4175cb9 2021-08-11 | [show priority-group drop counters] Add user info output when user want to check PG counters and polling are disabled (#1678) [Andriy Yurkiv]
* 920bb87 2021-08-10 | [config][generic-update] Implementing patch sorting (#1599) [Mohamed Ghoneim]
* 30907c4 2021-08-06 | [config][interface][speed] Fixed the config interface speed in multiasic issue (#1739) [Marty Y. Lok]
* 4b88e0e 2021-08-06 | [minigraph] Donot enable PFC watchdog for MgmtTsToR (#1734) [Blueve]

Signed-off-by: Guohan Lu <[email protected]>
volodymyrsamotiy added a commit to volodymyrsamotiy/sonic-buildimage that referenced this pull request Aug 26, 2021
* a72e407 - (HEAD, origin/202012) [202012][fast-reboot] Remove FLEX_COUNTER_TABLE from config_db.json before reboot (sonic-net#1774) (19 hours ago) <Vaibhav Hemant Dixit>
* 205aff8 - (HEAD, origin/202012) [acl_loader]: add iptype match to the rules for dataplane acl (25 hours ago) <Guohan Lu>
* 8aa2226 - Add mock support for swsscommon classes (sonic-net#1780) (26 hours ago) <Qi Luo>
* d939cfb - [Show] Update the subcommands of Kdump. (sonic-net#1682) (3 days ago) <yozhao101>
* 6376b5c - [route_check] Filter out VNET routes (sonic-net#1612) (3 days ago) <Volodymyr Samotiy>
* ba1e457 - [show priority-group drop counters] Add user info output when user want to check PG counters and polling are disabled (sonic-net#1678) (2 weeks ago) <Andriy Yurkiv>
* 4e7707c - [minigraph] Donot enable PFC watchdog for MgmtTsToR (sonic-net#1734) (2 weeks ago) <Blueve>

Signed-off-by: Volodymyr Samotiy <[email protected]>
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this pull request Apr 28, 2022
vmittal-msft pushed a commit to vmittal-msft/sonic-buildimage that referenced this pull request Oct 20, 2025
<!--
Please make sure you've read and understood our contributing guidelines:
     https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

** Make sure all your commits include a signature generated with `git
commit -s` **

If this is a bug fix, make sure your description includes "fixes #xxxx",
or
     "closes #xxxx" or "resolves #xxxx"

     Please provide the following information:
-->

#### Why I did it
This is a manual cherry-pick of
sonic-net#24289
Upgrade the xgs SAI version to 13.2.1.10 to include the following
changes:
- OCP SAI spec Version upgrade from 1.16.3 -> 1.16.4
- TH_Regular : Memory leak is observed during warm shut and cold shut
during warm boot.
- Uplift SDKLT-51968 to 13.2.1: Drop counter is increasing even if port
is Oper down
- On TH4GT: Need to disable TunnelMpIp4ip6 tests as per Jira
SONIC-108933
- Updated PORT attribute PRIORITY_FLOW_CONTROL handling for TH5 with a
custom value 2 for config property sai_pfc_dlr_init_capability

##### Work item tracking
- Microsoft ADO **(number only)**: 35635641

#### How I did it
Upgrade the SAI version in the sai.mk file.

#### How to verify it

<!--
If PR needs to be backported, then the PR must be tested against the
base branch and the earliest backport release branch and provide tested
image version on these two branches. For example, if the PR is requested
for master, 202211 and 202012, then the requester needs to provide test
results on master and 202012.
-->

Signed-off-by: zitingguo-ms <[email protected]>
mssonicbld added a commit that referenced this pull request Jan 31, 2026
…tically (#25251)

#### Why I did it
src/sonic-sairedis
```
* 8c3d40d5 - (HEAD -> master, origin/master, origin/HEAD) Add PORT_PHY_ATTR flex counter support (#1674) (9 hours ago) [Dhanasekar Rathinavel]
* 5966a71b - Update SAI Header to latest (#1742) (2 days ago) [Tejaswini Chadaga]
* 2752ad6c - [multi-asic][Mellanox] add support for Mellanox multi-asic (#1683) (3 days ago) [Yakiv Huryk]
* c4e3c142 - Fix deadlock between syncd and orchagent syncd during initialization failure (#1723) (7 days ago) [DavidZagury]
* 50c5626c - Fix dash meter COUNTERS_DB keys to use VID instead of RID (#1725) (8 days ago) [Mukesh Moopath Velayudhan]
* 7632eebb - [Mellanox] Add phcsync activation for mellanox platforms. (#1734) (9 days ago) [‪Zili Bombach‬‏]
* 9eeffe38 - fix docker slave name (#1730) (10 days ago) [yijingyan2]
* 90670166 - Use matching slave container from the branch we're building against (#1743) (10 days ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog
xincunli-sonic pushed a commit to xincunli-sonic/sonic-buildimage that referenced this pull request Feb 2, 2026
…tically (sonic-net#25251)

#### Why I did it
src/sonic-sairedis
```
* 8c3d40d5 - (HEAD -> master, origin/master, origin/HEAD) Add PORT_PHY_ATTR flex counter support (sonic-net#1674) (9 hours ago) [Dhanasekar Rathinavel]
* 5966a71b - Update SAI Header to latest (sonic-net#1742) (2 days ago) [Tejaswini Chadaga]
* 2752ad6c - [multi-asic][Mellanox] add support for Mellanox multi-asic (sonic-net#1683) (3 days ago) [Yakiv Huryk]
* c4e3c142 - Fix deadlock between syncd and orchagent syncd during initialization failure (sonic-net#1723) (7 days ago) [DavidZagury]
* 50c5626c - Fix dash meter COUNTERS_DB keys to use VID instead of RID (sonic-net#1725) (8 days ago) [Mukesh Moopath Velayudhan]
* 7632eebb - [Mellanox] Add phcsync activation for mellanox platforms. (sonic-net#1734) (9 days ago) [‪Zili Bombach‬‏]
* 9eeffe38 - fix docker slave name (sonic-net#1730) (10 days ago) [yijingyan2]
* 90670166 - Use matching slave container from the branch we're building against (sonic-net#1743) (10 days ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Xincun Li <[email protected]>
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…tically (sonic-net#25251)

#### Why I did it
src/sonic-sairedis
```
* 8c3d40d5 - (HEAD -> master, origin/master, origin/HEAD) Add PORT_PHY_ATTR flex counter support (sonic-net#1674) (9 hours ago) [Dhanasekar Rathinavel]
* 5966a71b - Update SAI Header to latest (sonic-net#1742) (2 days ago) [Tejaswini Chadaga]
* 2752ad6c - [multi-asic][Mellanox] add support for Mellanox multi-asic (sonic-net#1683) (3 days ago) [Yakiv Huryk]
* c4e3c142 - Fix deadlock between syncd and orchagent syncd during initialization failure (sonic-net#1723) (7 days ago) [DavidZagury]
* 50c5626c - Fix dash meter COUNTERS_DB keys to use VID instead of RID (sonic-net#1725) (8 days ago) [Mukesh Moopath Velayudhan]
* 7632eebb - [Mellanox] Add phcsync activation for mellanox platforms. (sonic-net#1734) (9 days ago) [‪Zili Bombach‬‏]
* 9eeffe38 - fix docker slave name (sonic-net#1730) (10 days ago) [yijingyan2]
* 90670166 - Use matching slave container from the branch we're building against (sonic-net#1743) (10 days ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <[email protected]>
dprital pushed a commit that referenced this pull request Mar 19, 2026
…tically (#25251)

#### Why I did it
src/sonic-sairedis
```
* 8c3d40d5 - (HEAD -> master, origin/master, origin/HEAD) Add PORT_PHY_ATTR flex counter support (#1674) (9 hours ago) [Dhanasekar Rathinavel]
* 5966a71b - Update SAI Header to latest (#1742) (2 days ago) [Tejaswini Chadaga]
* 2752ad6c - [multi-asic][Mellanox] add support for Mellanox multi-asic (#1683) (3 days ago) [Yakiv Huryk]
* c4e3c142 - Fix deadlock between syncd and orchagent syncd during initialization failure (#1723) (7 days ago) [DavidZagury]
* 50c5626c - Fix dash meter COUNTERS_DB keys to use VID instead of RID (#1725) (8 days ago) [Mukesh Moopath Velayudhan]
* 7632eebb - [Mellanox] Add phcsync activation for mellanox platforms. (#1734) (9 days ago) [‪Zili Bombach‬‏]
* 9eeffe38 - fix docker slave name (#1730) (10 days ago) [yijingyan2]
* 90670166 - Use matching slave container from the branch we're building against (#1743) (10 days ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: dprital <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants