forked from balena-os/balena-compulab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcl-som-imx6.coffee
54 lines (43 loc) · 1.69 KB
/
cl-som-imx6.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
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
CL_SOM_MX6_FLASH = 'Insert SD CARD. Press SW5 followed by SW6. Release SW5 then release SW6.'
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
instructions.BOARD_REPOWER
]
module.exports =
version: 1
slug: 'cl-som-imx6'
name: 'Compulab i.MX6'
arch: 'cortexa9hf-neon'
state: 'released'
private: false
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
CL_SOM_MX6_FLASH
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'https://github.com/Didstopia/balena-compulab'
osx: 'https://github.com/Didstopia/balena-compulab'
linux: 'https://github.com/Didstopia/balena-compulab'
supportsBlink: false
yocto:
machine: 'cl-som-imx6'
image: 'balena-image-flasher'
fstype: 'balenaos-img'
# version: 'yocto-sumo'
version: 'yocto-warrior'
deployArtifact: 'balena-image-flasher-cl-som-imx6.balenaos-img'
compressed: true
options: [ networkOptions.group ]
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization