diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-04-23 19:16:55 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-04-23 19:17:45 +0000 |
commit | 61bf6803fdce1cac3f6cb5c7fabe2e5fe81d5450 (patch) | |
tree | 1fc9f679470042b5005052591d01a1958b71fe9c /meta-agl-bsp/conf | |
parent | 521815fa95dba3d47704b62b4b6911fc994ad4c8 (diff) |
Revert "Switch to meta-updater" - waiting for main commit to be updated.
This reverts commit 521815fa95dba3d47704b62b4b6911fc994ad4c8.
Change-Id: I06e2ed97e2ea7897ccdee09aeec277c8a75ccfa0
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9187
Diffstat (limited to 'meta-agl-bsp/conf')
-rw-r--r-- | meta-agl-bsp/conf/include/agl_intel-corei7-64.inc | 5 | ||||
-rw-r--r-- | meta-agl-bsp/conf/include/agl_porter-nogfx.inc | 9 | ||||
-rw-r--r-- | meta-agl-bsp/conf/include/agl_porter.inc | 9 | ||||
-rw-r--r-- | meta-agl-bsp/conf/include/agl_qemux86-64.inc | 7 | ||||
-rw-r--r-- | meta-agl-bsp/conf/include/agl_raspberrypi2.inc | 17 | ||||
-rw-r--r-- | meta-agl-bsp/conf/include/agl_raspberrypi3.inc | 17 |
6 files changed, 56 insertions, 8 deletions
diff --git a/meta-agl-bsp/conf/include/agl_intel-corei7-64.inc b/meta-agl-bsp/conf/include/agl_intel-corei7-64.inc index 228774b9e..1de73a208 100644 --- a/meta-agl-bsp/conf/include/agl_intel-corei7-64.inc +++ b/meta-agl-bsp/conf/include/agl_intel-corei7-64.inc @@ -24,4 +24,7 @@ IMAGE_INSTALL_append = " \ va-intel \ gstreamer-vaapi-1.0 " -include conf/include/local/sota_minnowboard.inc +OSTREE_BOOTLOADER ?= "u-boot" +PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot-ota" +UBOOT_MACHINE_sota ?= "minnowmax_defconfig" + diff --git a/meta-agl-bsp/conf/include/agl_porter-nogfx.inc b/meta-agl-bsp/conf/include/agl_porter-nogfx.inc index f6372081a..2a06bbec6 100644 --- a/meta-agl-bsp/conf/include/agl_porter-nogfx.inc +++ b/meta-agl-bsp/conf/include/agl_porter-nogfx.inc @@ -19,4 +19,11 @@ UBOOT_MACHINE = "porter_vin_config" PREFERRED_PROVIDER_virtual/libgles2 = "mesa" PREFERRED_PROVIDER_virtual/egl = "mesa" -include conf/include/local/sota_porter.inc +# Commit united image to OSTree, not just uImage +OSTREE_KERNEL = "uImage+dtb" + +EXTRA_IMAGEDEPENDS_append_sota = " porter-bootfiles" +IMAGE_CLASSES_append_sota = " image_types_uboot " +IMAGE_BOOT_FILES_sota = "porter-bootfiles/*" + +OSTREE_BOOTLOADER ?= "u-boot" diff --git a/meta-agl-bsp/conf/include/agl_porter.inc b/meta-agl-bsp/conf/include/agl_porter.inc index cac5be7d4..c562784aa 100644 --- a/meta-agl-bsp/conf/include/agl_porter.inc +++ b/meta-agl-bsp/conf/include/agl_porter.inc @@ -179,4 +179,11 @@ DISTRO_FEATURES_append = " h264avcenc_lib" # ARM AAC Encode Middleware for Linux #DISTRO_FEATURES_append = " aacenc_mdw" -include conf/include/local/sota_porter.inc +# Commit united image to OSTree, not just uImage +OSTREE_KERNEL = "uImage+dtb" + +EXTRA_IMAGEDEPENDS_append_sota = " porter-bootfiles" +IMAGE_CLASSES_append_sota = " image_types_uboot " +IMAGE_BOOT_FILES_sota = "porter-bootfiles/*" + +OSTREE_BOOTLOADER ?= "u-boot" diff --git a/meta-agl-bsp/conf/include/agl_qemux86-64.inc b/meta-agl-bsp/conf/include/agl_qemux86-64.inc index a9d320c9d..d48252e92 100644 --- a/meta-agl-bsp/conf/include/agl_qemux86-64.inc +++ b/meta-agl-bsp/conf/include/agl_qemux86-64.inc @@ -18,4 +18,9 @@ APPEND += "console=ttyS0,115200n8" # All boot message will be off APPEND += "quiet" -include conf/include/local/sota_qemux86-64.inc +# U-Boot support for SOTA +PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot-ota" +UBOOT_MACHINE_sota = "qemu-x86_defconfig" +OSTREE_BOOTLOADER ?= "u-boot" + +OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/hda" diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi2.inc b/meta-agl-bsp/conf/include/agl_raspberrypi2.inc index 24077f02a..7250f5c22 100644 --- a/meta-agl-bsp/conf/include/agl_raspberrypi2.inc +++ b/meta-agl-bsp/conf/include/agl_raspberrypi2.inc @@ -23,6 +23,20 @@ PREFERRED_PROVIDER_jpeg = "jpeg" MACHINE_FEATURES += "vc4graphics" +### Image classes, fstypes and (S)OTA + +# normal image class is sdcard_image-rpi-gdp, for sota it is image_types_uboot & sdcard_image-rpi-ota +IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'image_types_uboot sdcard_image-rpi-ota', 'sdcard_image-rpi-gdp', d)}" + +# normal image is rpi-sdimg, for sota it is rpi-sdimg-ota +#IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}" +### both rpi-sdimg and rpi-sdimg-ota broken +IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" + +KERNEL_IMAGETYPE_sota = "uImage" +PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot" +UBOOT_MACHINE_sota = "rpi_2_defconfig" + # For libomxil #LICENSE_FLAGS_WHITELIST = "commercial" @@ -30,5 +44,4 @@ IMAGE_INSTALL_append = " kernel-modules linux-firmware " # Psplash causes crash on first boot on RPi IMAGE_FEATURES_remove = "splash" - -include conf/include/local/sota_raspberrypi.inc +OSTREE_BOOTLOADER ?= "u-boot" diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc index 24077f02a..a3a84be5f 100644 --- a/meta-agl-bsp/conf/include/agl_raspberrypi3.inc +++ b/meta-agl-bsp/conf/include/agl_raspberrypi3.inc @@ -23,6 +23,20 @@ PREFERRED_PROVIDER_jpeg = "jpeg" MACHINE_FEATURES += "vc4graphics" +### Image classes, fstypes and (S)OTA + +# normal image class is sdcard_image-rpi-gdp, for sota it is image_types_uboot & sdcard_image-rpi-ota +IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'image_types_uboot sdcard_image-rpi-ota', 'sdcard_image-rpi-gdp', d)}" + +# normal image is rpi-sdimg, for sota it is rpi-sdimg-ota +IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}" +### both rpi-sdimg and rpi-sdimg-ota broken +IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" + +KERNEL_IMAGETYPE_sota = "uImage" +PREFERRED_PROVIDER_virtual/bootloader_sota = "u-boot" +UBOOT_MACHINE_sota = "rpi_3_32b_defconfig" + # For libomxil #LICENSE_FLAGS_WHITELIST = "commercial" @@ -30,5 +44,4 @@ IMAGE_INSTALL_append = " kernel-modules linux-firmware " # Psplash causes crash on first boot on RPi IMAGE_FEATURES_remove = "splash" - -include conf/include/local/sota_raspberrypi.inc +OSTREE_BOOTLOADER ?= "u-boot" |