-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathrockpi-4b-rk3399.coffee
49 lines (39 loc) · 1.31 KB
/
rockpi-4b-rk3399.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
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
ROCKPI_BOARD_SHUTDOWN = "The device is performing a shutdown. Please wait until the blue LED stops flashing (powered off)."
postProvisioningInstructions = [
ROCKPI_BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
instructions.BOARD_REPOWER
]
module.exports =
version: 1
slug: 'rockpi-4b-rk3399'
name: 'ROCK Pi 4B'
arch: 'aarch64'
state: 'new'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'https://www.balena.io/docs/learn/getting-started/rockpi-4b-rk3399/nodejs/'
osx: 'https://www.balena.io/docs/learn/getting-started/rockpi-4b-rk3399/nodejs/'
linux: 'https://www.balena.io/docs/learn/getting-started/rockpi-4b-rk3399/nodejs/'
supportsBlink: true
options: [ networkOptions.group ]
yocto:
machine: 'rockpi-4b-rk3399'
image: 'balena-image-flasher'
fstype: 'balenaos-img'
version: 'yocto-dunfell'
deployArtifact: 'balena-image-flasher-rockpi-4b-rk3399.balenaos-img'
compressed: true
configuration:
config:
partition: 4
path: '/config.json'
initialization: commonImg.initialization