-
Notifications
You must be signed in to change notification settings - Fork 0
/
imx8mq-ecu1370.coffee
53 lines (42 loc) · 1.84 KB
/
imx8mq-ecu1370.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
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
SWITCH_SD = "Switch SW2 to 1: OFF, 2: ON. Insert SD card and power on the board. Wait for LP3 to turn on, wait 10 seconds and power off the board."
SWITCH_FLASH = "Switch SW2 to 1: ON, 2: OFF and power on the board."
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
SWITCH_FLASH
instructions.BOARD_REPOWER
]
module.exports =
version: 1
slug: 'advantech-ecu1370'
name: 'Advantech ECU-1370'
arch: 'aarch64'
state: 'released'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.FLASHER_WARNING
SWITCH_SD
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'http://docs.balena.io/iot-gate-imx8/nodejs/getting-started/#adding-your-first-device'
osx: 'http://docs.balena.io/iot-gate-imx8/getting-started/#adding-your-first-device'
linux: 'http://docs.balena.io/iot-gate-imx8/getting-started/#adding-your-first-device'
supportsBlink: false
yocto:
machine: 'imx8mq-ecu1370'
image: 'balena-image-flasher'
fstype: 'balenaos-img'
version: 'yocto-kirkstone'
deployArtifact: 'balena-image-flasher-imx8mq-ecu1370.balenaos-img'
compressed: true
options: [ networkOptions.group ]
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization