balena-allwinner/orangepi-plus2.coffee
Thodoris Greasidis 4a7e4b1420 Include the eMMC flash & reboot to the Plus 2 instructions
See: https://forums.resin.io/t/orange-pi-plus-2e/3457/6

Signed-off-by: Thodoris Greasidis <thodoris@resin.io>
2018-07-09 11:49:16 +03:00

50 lines
1.3 KiB
CoffeeScript

deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
postProvisioningInstructions = [
instructions.BOARD_SHUTDOWN
instructions.REMOVE_INSTALL_MEDIA
instructions.BOARD_REPOWER
]
module.exports =
version: 1
slug: 'orangepi-plus2'
name: 'Orange Pi Plus2'
arch: 'armv7hf'
state: 'experimental'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
instructions.CONNECT_AND_BOOT
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'https://docs.resin.io/orangepi-plus2/nodejs/getting-started/#adding-your-first-device'
osx: 'https://docs.resin.io/orangepi-plus2/nodejs/getting-started/#adding-your-first-device'
linux: 'https://docs.resin.io/orangepi-plus2/nodejs/getting-started/#adding-your-first-device'
supportsBlink: true
options: [ networkOptions.group ]
yocto:
machine: 'orangepi-plus2'
image: 'resin-image-flasher'
fstype: 'resinos-img'
version: 'yocto-rocko'
deployArtifact: 'resin-image-flasher-orangepi-plus2.resinos-img'
compressed: true
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization