cubietruck a20 layer
This commit is contained in:
parent
f3aceb12b1
commit
fa88923231
4 changed files with 61 additions and 0 deletions
|
@ -1,9 +1,13 @@
|
|||
|
||||
cubietruck A20 hinzugefügt
|
||||
|
||||
# balena-allwinner repository
|
||||
|
||||
This repo builds support for balenaOS on the Allwinner SoCs.
|
||||
|
||||
Currently Supported SoC versions:
|
||||
* H3
|
||||
* A20
|
||||
|
||||
Currently Supported Boards:
|
||||
* [NanoPi Neo Air](http://www.friendlyarm.com/index.php?route=product/product&product_id=151)
|
||||
|
|
36
cubietruck.coffee
Normal file
36
cubietruck.coffee
Normal file
|
@ -0,0 +1,36 @@
|
|||
deviceTypesCommon = require '@resin.io/device-types/common'
|
||||
{ networkOptions, commonImg, instructions } = deviceTypesCommon
|
||||
|
||||
module.exports =
|
||||
version: 1
|
||||
slug: 'cubietruck'
|
||||
name: 'cubietruck'
|
||||
arch: 'armv7hf'
|
||||
state: 'new'
|
||||
community: true
|
||||
private: false
|
||||
|
||||
instructions: commonImg.instructions
|
||||
gettingStartedLink:
|
||||
windows: 'https://docs.resin.io/orange-pi-one/nodejs/getting-started/#adding-your-first-device'
|
||||
osx: 'https://docs.resin.io/orange-pi-one/nodejs/getting-started/#adding-your-first-device'
|
||||
linux: 'https://docs.resin.io/orange-pi-one/nodejs/getting-started/#adding-your-first-device'
|
||||
supportsBlink: true
|
||||
|
||||
options: [ networkOptions.group ]
|
||||
|
||||
yocto:
|
||||
machine: 'cubietruck'
|
||||
image: 'balena-image'
|
||||
fstype: 'balenaos-img'
|
||||
version: 'yocto-dunfell'
|
||||
deployArtifact: 'balena-image-cubietruck.balenaos-img'
|
||||
compressed: true
|
||||
|
||||
configuration:
|
||||
config:
|
||||
partition:
|
||||
primary: 1
|
||||
path: '/config.json'
|
||||
|
||||
initialization: commonImg.initialization
|
|
@ -1,3 +1,22 @@
|
|||
#
|
||||
# cubietruck
|
||||
#
|
||||
|
||||
IMAGE_FSTYPES_append_cubietruck = " balenaos-img"
|
||||
|
||||
# Customize balenaos-img
|
||||
BALENA_IMAGE_BOOTLOADER_cubietuck = "u-boot"
|
||||
BALENA_BOOT_PARTITION_FILES_cubietruck = " \
|
||||
${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin:/${KERNEL_IMAGETYPE} \
|
||||
sun7i-a20-cubietruck.dtb:/dtb/sun7i-a20-cubietruck.dtb\
|
||||
u-boot-sunxi-with-spl.bin: \
|
||||
"
|
||||
IMAGE_CMD_balenaos-img_append_cubietruck () {
|
||||
# bananapi-M1+ needs uboot written at a specific location
|
||||
dd if=${DEPLOY_DIR_IMAGE}/u-boot-sunxi-with-spl.bin of=${BALENA_RAW_IMG} conv=notrunc seek=8 bs=1024
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Orange Pi Plus2
|
||||
#
|
||||
|
|
|
@ -35,6 +35,7 @@ BALENA_CONFIGS[axp_power] ="\
|
|||
BALENA_CONFIGS_append_orangepi-plus2 = " wifi"
|
||||
BALENA_CONFIGS_append_orange-pi-zero = " wifi"
|
||||
BALENA_CONFIGS_append_orange-pi-lite = " wifi"
|
||||
BALENA_CONFIGS_append_cubietruck = " wifi"
|
||||
BALENA_CONFIGS_append_nanopi-neo-air = " wifi"
|
||||
BALENA_CONFIGS_append_bananapi-m1-plus = " wifi"
|
||||
|
||||
|
@ -48,6 +49,7 @@ BALENA_CONFIGS[wifi] ="\
|
|||
"
|
||||
|
||||
BALENA_CONFIGS_append_orangepi-plus2 = " hdmi"
|
||||
BALENA_CONFIGS_append_cubietruck = " hdmi"
|
||||
BALENA_CONFIGS_DEPS[hdmi] = "\
|
||||
CONFIG_DRM=y \
|
||||
CONFIG_DRM_SUN4I=y \
|
||||
|
|
Loading…
Add table
Reference in a new issue