resin-image.inc: add support for Orange Pi One device

This adds the possibility to build balenaOS for the Orange Pi One
device.

Changelog-entry: add support for Orange Pi One device
Signed-off-by: Stephen Sorriaux <stephen.sorriaux@gmail.com>
This commit is contained in:
Stephen 2019-02-24 16:42:55 +01:00
parent 0dc7d45f11
commit e0a46306ea

View file

@ -16,6 +16,24 @@ IMAGE_CMD_resinos-img_append_orangepi-plus2 () {
dd if=${DEPLOY_DIR_IMAGE}/u-boot-sunxi-with-spl.bin of=${RESIN_RAW_IMG} conv=notrunc seek=8 bs=1024
}
#
# Orange Pi One
#
IMAGE_FSTYPES_append_orange-pi-one = " resinos-img"
# Customize resinos-img
RESIN_IMAGE_BOOTLOADER_orange-pi-one = "u-boot"
RESIN_BOOT_PARTITION_FILES_orange-pi-one = " \
${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin:/${KERNEL_IMAGETYPE} \
uImage-sun8i-h3-orangepi-one.dtb:/dtb/sun8i-h3-orangepi-one.dtb \
u-boot-sunxi-with-spl.bin: \
"
IMAGE_CMD_resinos-img_append_orange-pi-one () {
# Orange Pi One needs uboot written at a specific location
dd if=${DEPLOY_DIR_IMAGE}/u-boot-sunxi-with-spl.bin of=${RESIN_RAW_IMG} conv=notrunc seek=8 bs=1024
}
#
# bananapi-M1+