summaryrefslogtreecommitdiffstats
path: root/templates/feature
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-10-25 11:08:50 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2016-10-27 11:35:21 +0200
commit1b73e59ec2703605ad20ea7b42516cb382a5436a (patch)
tree1b5f5c79a1744f5af1faf9dfc93476282e3ad202 /templates/feature
parenteadecc11aac1b0de7a0841213f647e35ccf5a6a1 (diff)
OSTree-enabled image for raspberry Pi
Bug-AGL: SPEC-254 v2 [jsmoeller]: change rpi fdt addr to 200M (fix cma), re-add inherit gobject-introspection (!) v3 [oytis]: move boot logic to editable uEnv.txt Change-Id: Ic54aadc8377ed1e2a8f2f4ab87db2a7a6660cd15 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'templates/feature')
-rw-r--r--templates/feature/agl-sota/50_local.conf.inc18
1 files changed, 16 insertions, 2 deletions
diff --git a/templates/feature/agl-sota/50_local.conf.inc b/templates/feature/agl-sota/50_local.conf.inc
index 05cf3cf..eff85b5 100644
--- a/templates/feature/agl-sota/50_local.conf.inc
+++ b/templates/feature/agl-sota/50_local.conf.inc
@@ -6,13 +6,27 @@ IMAGE_INSTALL_append = " ostree"
IMAGE_CLASSES += "image_types_ostree image_types_ota"
IMAGE_FSTYPES += "otaimg"
+IMAGE_CLASSES_append_raspberrypi = " sdcard_image-rpi-ota"
+IMAGE_CLASSES_append_raspberrypi2 = " sdcard_image-rpi-ota"
+
+IMAGE_CLASSES_remove_raspberrypi = " sdcard_image-rpi-gdp"
+IMAGE_CLASSES_remove_raspberrypi2 = " sdcard_image-rpi-gdp"
+
+IMAGE_FSTYPES += "${@'rpi-sdimg-ota' if d.getVar('MACHINE', True) in [ 'raspberrypi', 'raspberrypi2', 'raspberrypi3' ] else ''}"
+
+IMAGE_FSTYPES_remove_raspberrypi = "rpi-sdimg"
+IMAGE_FSTYPES_remove_raspberrypi2 = "rpi-sdimg"
+
UBOOT_MACHINE_qemux86 = "qemu-x86_defconfig"
UBOOT_MACHINE_qemux86-64 = "qemu-x86_defconfig"
+UBOOT_MACHINE_raspberrypi3 = "rpi_3_32b_defconfig"
+
+KERNEL_IMAGETYPE_arm = "uImage"
PREFERRED_PROVIDER_virtual/bootloader_qemux86 ?= "u-boot-ota"
PREFERRED_PROVIDER_virtual/bootloader_qemux86-64 ?= "u-boot-ota"
-PREFERRED_PROVIDER_virtual/bootloader_raspberrypi3 ?= "u-boot-ota"
-PREFERRED_PROVIDER_virtual/bootloader_raspberrypi2 ?= "u-boot-ota"
+PREFERRED_PROVIDER_virtual/bootloader_raspberrypi3 ?= "u-boot"
+PREFERRED_PROVIDER_virtual/bootloader_raspberrypi2 ?= "u-boot"
# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo"