File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ def id(self) -> Optional[str]:
138
138
elif chip_id == chips .RK3308 :
139
139
board_id = self ._rock_pi_id ()
140
140
elif chip_id == chips .RK3399 :
141
- board_id = self ._rock_pi_id ()
141
+ board_id = self ._rock_pi_id () or self . _armbian_id ()
142
142
elif chip_id == chips .ATOM_X5_Z8350 :
143
143
board_id = self ._rock_pi_id ()
144
144
elif chip_id == chips .RK3288 :
@@ -312,6 +312,10 @@ def _armbian_id(self) -> Optional[str]:
312
312
board = boards .ORANGE_PI_3
313
313
elif board_value == "orangepi3-lts" :
314
314
board = boards .ORANGE_PI_3_LTS
315
+ elif board_value == "orangepi4" :
316
+ board = boards .ORANGE_PI_4
317
+ elif board_value == "orangepi4-lts" :
318
+ board = boards .ORANGE_PI_4_LTS
315
319
elif board_value == "bananapim2zero" :
316
320
board = boards .BANANA_PI_M2_ZERO
317
321
elif board_value == "bananapim5" :
Original file line number Diff line number Diff line change 51
51
ORANGE_PI_ZERO_2 = "ORANGE_PI_ZERO_2"
52
52
ORANGE_PI_3 = "ORANGE_PI_3"
53
53
ORANGE_PI_3_LTS = "ORANGE_PI_3_LTS"
54
+ ORANGE_PI_4 = "ORANGE_PI_4"
55
+ ORANGE_PI_4_LTS = "ORANGE_PI_4_LTS"
54
56
55
57
# Nano Pi boards
56
58
NANOPI_NEO_AIR = "NANOPI_NEO_AIR"
200
202
ORANGE_PI_ZERO_2 ,
201
203
ORANGE_PI_3 ,
202
204
ORANGE_PI_3_LTS ,
205
+ ORANGE_PI_4 ,
206
+ ORANGE_PI_4_LTS ,
203
207
)
204
208
205
209
# NanoPi
You can’t perform that action at this time.
0 commit comments