File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ def id(self):
367
367
board_id = ONION_OMEGA
368
368
elif chip_id == ap_chip .MIPS24KEC :
369
369
board_id = ONION_OMEGA2
370
- elif chip_id == ap_chip .SUN50IW1P1 :
370
+ elif chip_id == ap_chip .PINE64 :
371
371
board_id = self ._pine64_id ()
372
372
return board_id
373
373
# pylint: enable=invalid-name
@@ -423,6 +423,8 @@ def _armbian_id(self):
423
423
return ORANGE_PI_R1
424
424
if board_value == "orangepizero" :
425
425
return ORANGE_PI_ZERO
426
+ if board_value == "pinebook-a64" :
427
+ return PINEBOOK
426
428
return None
427
429
428
430
def _sama5_id (self ):
Original file line number Diff line number Diff line change 24
24
BINHO = "BINHO"
25
25
MIPS24KC = "MIPS24KC"
26
26
MIPS24KEC = "MIPS24KEC"
27
- SUN50IW1P1 = "SUN50IW1P1 "
27
+ PINE64 = "PINE64 "
28
28
29
29
class Chip :
30
30
"""Attempt detection of current chip / CPU."""
@@ -128,8 +128,8 @@ def _linux_id(self): # pylint: disable=too-many-branches
128
128
linux_id = S922X
129
129
elif "SAMA5" in hardware :
130
130
linux_id = SAMA5
131
- elif "A64 " in hardware :
132
- linux_id = SUN50IW1P1
131
+ elif "Pinebook " in hardware :
132
+ linux_id = PINE64
133
133
134
134
return linux_id
135
135
You can’t perform that action at this time.
0 commit comments