forked from balena-os/balena-intel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsurface-pro-6.coffee
More file actions
54 lines (43 loc) · 1.48 KB
/
surface-pro-6.coffee
File metadata and controls
54 lines (43 loc) · 1.48 KB
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
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
SURFACE_PRO_6_FLASH = '''
Press and hold the Volume Down button and press the Power button. Release the Power button but keep pressing the Volume Down button until the windows logo disappears.
'''
SURFACE_PRO_6_POWERON = 'Press the Power button.'
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
SURFACE_PRO_6_POWERON
]
module.exports =
version: 1
slug: 'surface-pro-6'
name: 'Microsoft Surface 6'
arch: 'amd64'
state: 'experimental'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_USB
instructions.EJECT_USB
instructions.FLASHER_WARNING
SURFACE_PRO_6_FLASH
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'http://docs.resin.io/surface-pro-6/nodejs/getting-started/#adding-your-first-device'
osx: 'http://docs.resin.io/surface-pro-6/nodejs/getting-started/#adding-your-first-device'
linux: 'http://docs.resin.io/surface-pro-6/nodejs/getting-started/#adding-your-first-device'
yocto:
machine: 'surface-pro-6'
image: 'resin-image-flasher'
fstype: 'resinos-img'
version: 'yocto-warrior'
deployArtifact: 'resin-image-flasher-surface-pro-6.resinos-img'
compressed: true
configuration:
config:
partition:
primary: 1
path: '/config.json'
options: [ networkOptions.group ]
initialization: commonImg.initialization