forked from bshibley/resin-toradex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
colibri-imx6.coffee
55 lines (44 loc) · 1.55 KB
/
colibri-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
55
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
SERIAL_CABLE = 'Connect the carrier board to a host computer using a serial cable. (This step may differ based on what carrier board you have)'
UBOOT = 'Power the module. Press SPACE when prompted by U-Boot to stop execution and run the following command `run sdboot`'
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
instructions.BOARD_REPOWER
]
module.exports =
version: 1
slug: 'colibri-imx6dl'
aliases: [ 'colibri-imx6' ]
name: 'Colibri iMX6dl'
arch: 'armv7hf'
state: 'released'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
SERIAL_CABLE
UBOOT
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'http://docs.resin.io/#/pages/installing/gettingStarted-colibri-imx6.md#windows'
osx: 'http://docs.resin.io/#/pages/installing/gettingStarted-colibri-imx6.md#on-mac-and-linux'
linux: 'http://docs.resin.io/#/pages/installing/gettingStarted-colibri-imx6.md#on-mac-and-linux'
supportsBlink: false
yocto:
machine: 'colibri-imx6'
image: 'resin-image-flasher'
fstype: 'resinos-img'
version: 'yocto-morty'
deployArtifact: 'resin-image-flasher-colibri-imx6.resinos-img'
compressed: true
options: [ networkOptions.group ]
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization