-
Notifications
You must be signed in to change notification settings - Fork 3
/
etcher-pro.coffee
55 lines (44 loc) · 1.86 KB
/
etcher-pro.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
51
52
53
54
55
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
ETCHER_PRO_FLASH = 'Insert microSD card into flashing slot and toggle DSW1 switch to ON position. Power-up board'
ETCHER_PRO_POST_FLASH = 'Remove microSD card from flashing slot and toggle DSW1 switch to OFF position'
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
ETCHER_PRO_POST_FLASH
instructions.REMOVE_INSTALL_MEDIA
instructions.BOARD_REPOWER
]
module.exports =
version: 1
slug: 'etcher-pro'
name: 'Etcher Pro'
arch: 'aarch64'
state: 'new'
private: false
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
ETCHER_PRO_FLASH
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'https://www.balena.io/docs/learn/getting-started/raspberrypi4/nodejs/'
osx: 'https://www.balena.io/docs/learn/getting-started/raspberrypi4/nodejs/'
linux: 'https://www.balena.io/docs/learn/getting-started/raspberrypi4/nodejs/'
supportsBlink: false
yocto:
machine: 'etcher-pro'
image: 'balena-image-flasher'
fstype: 'balenaos-img'
version: 'yocto-warrior'
deployArtifact: 'balena-image-flasher-etcher-pro.balenaos-img'
compressed: true
options: [ networkOptions.group ]
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization