-
Notifications
You must be signed in to change notification settings - Fork 0
/
eg5120-imx8mp.coffee
58 lines (47 loc) · 2.27 KB
/
eg5120-imx8mp.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
58
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
UBOOT_WARNING = 'Warning: If upgrading to BalenaOS from the RobustOS Pro system for the first time, you need to upgrade u-boot first. Please contact [email protected] for the upgrade files and instructions. If BalenaOS is already installed, this step can be skipped.'
SD_BOOT = 'Insert the SD Card and power on the board. Let it boot form SD Card and perform the automatic install of balenaOS onto the eMMC.'
WAIT_COMPLETE = 'The RUN led fast flashing indicates a flasher boot, while all leds are off when flasher complete.'
EMMC_BOOT = 'The RUN LED blinks once per second indicating a normal boot.'
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
instructions.BOARD_REPOWER
EMMC_BOOT
]
module.exports =
version: 1
slug: 'eg5120-imx8mp'
name: 'Robustel EG5120 i.MX8MP 2GB DRAM'
arch: 'aarch64'
state: 'released'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
UBOOT_WARNING
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
SD_BOOT
WAIT_COMPLETE
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'https://docs.balena.io/learn/getting-started/eg5120-imx8mp/nodejs/'
osx: 'https://docs.balena.io/learn/getting-started/eg5120-imx8mp/nodejs/'
linux: 'https://docs.balena.io/learn/getting-started/eg5120-imx8mp/nodejs/'
supportsBlink: false
yocto:
machine: 'eg5120-imx8mp'
image: 'balena-image-flasher'
fstype: 'balenaos-img'
version: 'yocto-kirkstone'
deployArtifact: 'balena-image-flasher-eg5120-imx8mp.balenaos-img'
compressed: true
options: [ networkOptions.group ]
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization