File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def id(self) -> Optional[str]:
166166 elif chip_id == chips .RK3568 :
167167 board_id = self ._rk3568_id ()
168168 elif chip_id == chips .RK3588 :
169- board_id = self ._rock_pi_id ()
169+ board_id = self ._rock_pi_id () or self . _armbian_id ()
170170 elif chip_id == chips .RYZEN_V1605B :
171171 board_id = self ._udoo_id ()
172172 elif chip_id == chips .PENTIUM_N3710 :
@@ -342,6 +342,8 @@ def _armbian_id(self) -> Optional[str]:
342342 board = boards .ORANGE_PI_4
343343 elif board_value == "orangepi4-lts" :
344344 board = boards .ORANGE_PI_4_LTS
345+ elif board_value == "orangepi5" :
346+ board = boards .ORANGE_PI_5
345347 elif board_value == "bananapim2zero" :
346348 board = boards .BANANA_PI_M2_ZERO
347349 elif board_value == "bananapim2plus" :
Original file line number Diff line number Diff line change 5353ORANGE_PI_3_LTS = "ORANGE_PI_3_LTS"
5454ORANGE_PI_4 = "ORANGE_PI_4"
5555ORANGE_PI_4_LTS = "ORANGE_PI_4_LTS"
56+ ORANGE_PI_5 = "ORANGE_PI_5"
5657
5758# Nano Pi boards
5859NANOPI_NEO_AIR = "NANOPI_NEO_AIR"
220221 ORANGE_PI_3_LTS ,
221222 ORANGE_PI_4 ,
222223 ORANGE_PI_4_LTS ,
224+ ORANGE_PI_5 ,
223225)
224226
225227# NanoPi
You can’t perform that action at this time.
0 commit comments