File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,8 @@ def _armbian_id(self) -> Optional[str]:
380
380
board = boards .BANANA_PI_M2_ZERO
381
381
elif board_value == "bananapim2plus" :
382
382
board = boards .BANANA_PI_M2_PLUS
383
+ elif board_value == "bananapim2berry" :
384
+ board = boards .BANANA_PI_M2_BERRY
383
385
elif board_value == "bananapim5" :
384
386
board = boards .BANANA_PI_M5
385
387
elif board_value == "orangepizeroplus2-h5" :
@@ -646,6 +648,10 @@ def _allwinner_variants_id(self) -> Optional[str]:
646
648
return board
647
649
board_value = board_value .lower ()
648
650
chip_id = self .detector .chip .id
651
+
652
+ if "banana pi m2 berry" in board_value :
653
+ board = boards .BANANA_PI_M2_BERRY
654
+
649
655
if "nanopi" in board_value :
650
656
if "neo" in board_value and "SUN8I" in chip_id :
651
657
board = boards .NANOPI_NEO_AIR
Original file line number Diff line number Diff line change 67
67
# Banana Pi boards
68
68
BANANA_PI_M2_ZERO = "BANANA_PI_M2_ZERO"
69
69
BANANA_PI_M2_PLUS = "BANANA_PI_M2_PLUS"
70
+ BANANA_PI_M2_BERRY = "BANANA_PI_M2_BERRY"
70
71
BANANA_PI_M5 = "BANANA_PI_M5"
71
72
72
73
# NVIDIA Jetson boards
245
246
_NANOPI_IDS = (NANOPI_NEO_AIR , NANOPI_DUO2 , NANOPI_NEO )
246
247
247
248
# BananaPI
248
- _BANANA_PI_IDS = (BANANA_PI_M2_ZERO , BANANA_PI_M2_PLUS , BANANA_PI_M5 )
249
+ _BANANA_PI_IDS = (
250
+ BANANA_PI_M2_ZERO ,
251
+ BANANA_PI_M2_PLUS ,
252
+ BANANA_PI_M2_BERRY ,
253
+ BANANA_PI_M5 ,
254
+ )
249
255
250
256
# LubanCat
251
257
_LUBANCAT_IDS = (
You can’t perform that action at this time.
0 commit comments