forked from balena-os/balena-allwinner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
orangepi-plus2.coffee
50 lines (40 loc) · 1.28 KB
/
orangepi-plus2.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
instructions.BOARD_REPOWER
]
module.exports =
version: 1
slug: 'orangepi-plus2'
name: 'Orange Pi Plus2'
arch: 'armv7hf'
state: 'experimental'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
instructions.CONNECT_AND_BOOT
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'https://docs.resin.io/orangepi-plus2/nodejs/getting-started/#adding-your-first-device'
osx: 'https://docs.resin.io/orangepi-plus2/nodejs/getting-started/#adding-your-first-device'
linux: 'https://docs.resin.io/orangepi-plus2/nodejs/getting-started/#adding-your-first-device'
supportsBlink: true
options: [ networkOptions.group ]
yocto:
machine: 'orangepi-plus2'
image: 'resin-image-flasher'
fstype: 'resinos-img'
version: 'yocto-sumo'
deployArtifact: 'resin-image-flasher-orangepi-plus2.resinos-img'
compressed: true
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization