File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -271,9 +271,8 @@ def id(self):
271
271
board_id = ODROID_C2
272
272
elif chip_id == ap_chip .FT232H :
273
273
board_id = FTDI_FT232H
274
- elif chip_id == ap_chip .TEGRAXXX :
274
+ elif chip_id in ( ap_chip .T210 , ap_chip . T186 , ap_chip . T194 ) :
275
275
board_id = self ._tegra_id ()
276
-
277
276
return board_id
278
277
# pylint: enable=invalid-name
279
278
Original file line number Diff line number Diff line change 11
11
S805 = "S805"
12
12
S905 = "S905"
13
13
SAMA5 = "SAMA5"
14
- TEGRAXXX = "TEGRAXXX"
14
+ T210 = "T210"
15
+ T186 = "T186"
16
+ T194 = "T194"
15
17
GENERIC_X86 = "GENERIC_X86"
16
18
FT232H = "FT232H"
17
19
@@ -81,7 +83,12 @@ def _linux_id(self):
81
83
82
84
compatible = self .detector .get_device_compatible ()
83
85
if compatible and 'tegra' in compatible :
84
- linux_id = TEGRAXXX
86
+ if 'cv' in compatible or 'txx' in compatible :
87
+ linux_id = T210
88
+ elif 'quill' in compatible :
89
+ linux_id = T186
90
+ elif 'xavier' in compatible :
91
+ linux_id = T194
85
92
elif hardware in ("BCM2708" , "BCM2709" , "BCM2835" ):
86
93
linux_id = BCM2XXX
87
94
elif "AM33XX" in hardware :
You can’t perform that action at this time.
0 commit comments