File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -398,6 +398,8 @@ def _armbian_id(self) -> Optional[str]:
398398 board = boards .NANOPI_DUO2
399399 elif board_value == "nanopineo" :
400400 board = boards .NANOPI_NEO
401+ elif board_value == "nanopineo2" :
402+ board = boards .NANOPI_NEO_2
401403 elif board_value == "nezha" :
402404 board = boards .LICHEE_RV
403405 elif board_value == "pcduino2" :
@@ -663,6 +665,8 @@ def _allwinner_variants_id(self) -> Optional[str]:
663665 if "nanopi" in board_value :
664666 if "neo" in board_value and "SUN8I" in chip_id :
665667 board = boards .NANOPI_NEO_AIR
668+ elif "neo2" in board_value and "H5" in chip_id :
669+ board = boards .NANOPI_NEO_2
666670 elif any (x in board_value for x in ("orange pi" , "orangepi" )):
667671 if "zero" in board_value :
668672 if "H5" in chip_id :
Original file line number Diff line number Diff line change 6363NANOPI_NEO_AIR = "NANOPI_NEO_AIR"
6464NANOPI_DUO2 = "NANOPI_DUO2"
6565NANOPI_NEO = "NANOPI_NEO"
66+ NANOPI_NEO_2 = "NANOPI_NEO_2"
67+
6668
6769# Banana Pi boards
6870BANANA_PI_M2_ZERO = "BANANA_PI_M2_ZERO"
250252 NANOPI_NEO_AIR ,
251253 NANOPI_DUO2 ,
252254 NANOPI_NEO ,
255+ NANOPI_NEO_2 ,
253256)
254257
255258# BananaPI
You can’t perform that action at this time.
0 commit comments