forked from boedy/resin-rockchip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
marsboard-rk3066.coffee
54 lines (43 loc) · 1.41 KB
/
marsboard-rk3066.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
BBB_FLASH = 'Power up the <%= TYPE_NAME %> while holding down the small button near the SD slot.
You need to keep it pressed until the blue LEDs start flashing wildly.'
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
instructions.BOARD_REPOWER
]
module.exports =
slug: 'rockchip'
aliases: [ 'minix 5' ]
name: 'rockchip'
arch: 'armv7hf'
state: 'released'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
BBB_FLASH
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'http://docs.resin.io/#/pages/installing/gettingStarted-BBB.md#windows'
osx: 'http://docs.resin.io/#/pages/installing/gettingStarted-BBB.md#on-mac-and-linux'
linux: 'http://docs.resin.io/#/pages/installing/gettingStarted-BBB.md#on-mac-and-linux'
supportsBlink: true
yocto:
machine: 'marsboard-rk3066'
image: 'resin-image-flasher'
fstype: 'resin-sdcard'
version: 'yocto-jethro'
deployArtifact: 'resin-image-flasher-marsboard-rk3066.resin-sdcard'
compressed: true
options: [ networkOptions.group ]
configuration:
config:
partition:
primary: 4
logical: 1
path: '/config.json'
initialization: commonImg.initialization