Update board.py for nvidia Jetson boards
Recently, Model names are updated for Jetson Nvidia boards. This change takes care of model name check of Jetson TX1 nano and Xavier. Change also adds support for Quill derivatives like storm and lightning.
This commit is contained in:
parent
32fcd6cf30
commit
2051282bbd
1 changed files with 4 additions and 4 deletions
|
|
@ -403,13 +403,13 @@ class Board:
|
|||
"""Try to detect the id of aarch64 board."""
|
||||
board_value = self.detector.get_device_model()
|
||||
board = None
|
||||
if 'tx1' in board_value:
|
||||
if 'tx1' in board_value.lower():
|
||||
board = JETSON_TX1
|
||||
elif 'quill' in board_value:
|
||||
elif 'quill' in board_value or "storm" in board_value or "lightning" in board_value:
|
||||
board = JETSON_TX2
|
||||
elif 'xavier' in board_value:
|
||||
elif 'xavier' in board_value.lower():
|
||||
board = JETSON_XAVIER
|
||||
elif 'nano' in board_value or "Nano" in board_value:
|
||||
elif 'nano' in board_value.lower():
|
||||
board = JETSON_NANO
|
||||
return board
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue