-
Notifications
You must be signed in to change notification settings - Fork 9
/
nitrogen6xq2g.coffee
57 lines (46 loc) · 1.66 KB
/
nitrogen6xq2g.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
56
57
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
NITROGEN6XQ_FLASH1 = 'Boot the board normally and insert the BalenaOS SD-CARD in the secondary SD-CARD slot.'
NITROGEN6XQ_FLASH2 = 'Mount the resin-boot partition and change directory to the mount point. Execute ./u-boot-flash.sh'
NITROGEN6XQ_POST_FLASH = 'Replace the original SD-CARD with the BalenaOS SD-CARD in the primary SD-CARD slot.'
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
NITROGEN6XQ_POST_FLASH
instructions.BOARD_REPOWER
]
module.exports =
version: 1
slug: 'nitrogen6xq2g'
aliases: [ 'nitrogen6xq2g' ]
name: 'Nitrogen 6X Quad 2GB'
arch: 'armv7hf'
state: 'discontinued'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
NITROGEN6XQ_FLASH1
NITROGEN6XQ_FLASH2
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'http://docs.resin.io/nitrogen6xq2g/nodejs/getting-started/#adding-your-first-device'
osx: 'http://docs.resin.io/nitrogen6xq2g/nodejs/getting-started/#adding-your-first-device'
linux: 'http://docs.resin.io/nitrogen6xq2g/nodejs/getting-started/#adding-your-first-device'
supportsBlink: false
yocto:
machine: 'nitrogen6xq2g'
image: 'balena-image'
fstype: 'balenaos-img'
version: 'yocto-sumo'
deployArtifact: 'balena-image-nitrogen6xq2g.balenaos-img'
compressed: true
options: [ networkOptions.group ]
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization