-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rackmon: Support non-contiguous address ranges
Summary: Currently rackmon assumes a register map has a single contiguous address range. But, the ORv2 design required a non-contiguous address ranges, hence this change. Test Plan: Verified with gtest. Reviewed By: amithash Differential Revision: D52855799 fbshipit-source-id: b57475aa982e291d2fb44c6fc1e064b7f4dc6415
- Loading branch information
1 parent
d70cb43
commit ff8a4f5
Showing
13 changed files
with
64 additions
and
45 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
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
3 changes: 1 addition & 2 deletions
3
common/recipes-core/rackmon2/rackmon/configs/register_map/orv2_psu.json
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
3 changes: 1 addition & 2 deletions
3
common/recipes-core/rackmon2/rackmon/configs/register_map/orv3_bbu.json
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,8 +1,7 @@ | ||
{ | ||
"name": "ORV3_BBU", | ||
"address_range": [ | ||
64, | ||
127 | ||
[64, 127] | ||
], | ||
"probe_register": 8, | ||
"default_baudrate": 19200, | ||
|
3 changes: 1 addition & 2 deletions
3
common/recipes-core/rackmon2/rackmon/configs/register_map/orv3_power_recv.json
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
3 changes: 1 addition & 2 deletions
3
common/recipes-core/rackmon2/rackmon/configs/register_map/orv3_psu.json
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,8 +1,7 @@ | ||
{ | ||
"name": "ORV3_PSU", | ||
"address_range": [ | ||
192, | ||
255 | ||
[192, 255] | ||
], | ||
"probe_register": 8, | ||
"default_baudrate": 19200, | ||
|
3 changes: 1 addition & 2 deletions
3
common/recipes-core/rackmon2/rackmon/configs/register_map/orv3_rpu.json
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,8 +1,7 @@ | ||
{ | ||
"name": "ORV3_RPU", | ||
"address_range": [ | ||
12, | ||
12 | ||
[12, 12] | ||
], | ||
"probe_register": 36864, | ||
"default_baudrate": 19200, | ||
|
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
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