Add grub2 support in SOTA 25/9025/2
authorAnton Gerasimov <anton@advancedtelematic.com>
Thu, 30 Mar 2017 11:37:56 +0000 (13:37 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 4 Apr 2017 08:59:11 +0000 (08:59 +0000)
Change-Id: Ia37920f6190e9dfe68c4d63a01f204ff6fc66423
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
13 files changed:
meta-agl-bsp/conf/include/agl_cyclone5.inc
meta-agl-bsp/conf/include/agl_dra7xx-evm.inc
meta-agl-bsp/conf/include/agl_h3ulcb.inc
meta-agl-bsp/conf/include/agl_intel-corei7-64.inc
meta-agl-bsp/conf/include/agl_joule.inc
meta-agl-bsp/conf/include/agl_m3ulcb-nogfx.inc
meta-agl-bsp/conf/include/agl_m3ulcb.inc
meta-agl-bsp/conf/include/agl_porter-nogfx.inc
meta-agl-bsp/conf/include/agl_porter.inc
meta-agl-bsp/conf/include/agl_qemux86-64.inc
meta-agl-bsp/conf/include/agl_qemux86.inc
meta-agl-bsp/conf/include/agl_raspberrypi2.inc
meta-agl-bsp/conf/include/agl_raspberrypi3.inc

index 6e0eabd..86ed8d2 100644 (file)
@@ -50,3 +50,4 @@ IMAGE_INSTALL_append = " \
 
 IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-dra7xx-evm-ota"
 IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'dra7xx-evm-sdimg-ota  ', '', d)}"
+OSTREE_BOOTLOADER ?= "u-boot"
index 4176438..7f8ea64 100644 (file)
@@ -48,3 +48,4 @@ IMAGE_INSTALL_append_rcar-gen3 = " \
 "
 
 BBMASK .= "|meta-renesas-rcar-gen3/meta-rcar-gen3/recipes-forward-port/"
+OSTREE_BOOTLOADER ?= "u-boot"
index c31ac27..85d83e1 100644 (file)
@@ -23,3 +23,4 @@ IMAGE_INSTALL_append = " \
         libva \
         va-intel \
         gstreamer-vaapi-1.0 "
+OSTREE_BOOTLOADER ?= "u-boot"
index 151f93c..212cb15 100644 (file)
@@ -8,3 +8,4 @@ IMAGE_INSTALL_append = " \
         libva \
         va-intel \
         gstreamer-vaapi-1.0 "
+OSTREE_BOOTLOADER ?= "u-boot"
index d67be93..f1f9b87 100644 (file)
@@ -13,3 +13,4 @@ BBMASK .= "|meta-renesas-rcar-gen3/meta-rcar-gen3/recipes-forward-port/"
 
 OSTREE_KERNEL = "Image"
 IMAGE_BOOT_FILES_sota = "m3ulcb-ota-bootfiles/* Image-r8a7796-m3ulcb.dtb"
+OSTREE_BOOTLOADER ?= "u-boot"
index eb3a62a..e7904e1 100644 (file)
@@ -51,3 +51,4 @@ BBMASK .= "|meta-renesas-rcar-gen3/meta-rcar-gen3/recipes-forward-port/"
 
 OSTREE_KERNEL = "Image"
 IMAGE_BOOT_FILES_sota = "m3ulcb-ota-bootfiles/* Image-r8a7796-m3ulcb.dtb"
+OSTREE_BOOTLOADER ?= "u-boot"
index dd2ab85..cd72431 100644 (file)
@@ -25,3 +25,4 @@ OSTREE_KERNEL = "uImage+dtb"
 IMAGE_CLASSES_append_sota = " image_types_uboot "
 IMAGE_BOOT_FILES_sota = "porter-bootfiles/*"
 
+OSTREE_BOOTLOADER ?= "u-boot"
index 4837ced..0bd8afd 100644 (file)
@@ -185,3 +185,4 @@ OSTREE_KERNEL = "uImage+dtb"
 IMAGE_CLASSES_append_sota = " image_types_uboot "
 IMAGE_BOOT_FILES_sota = "porter-bootfiles/*"
 
+OSTREE_BOOTLOADER ?= "u-boot"
index 81015e0..d48252e 100644 (file)
@@ -21,3 +21,6 @@ APPEND += "quiet"
 # 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"
index 81015e0..ae284b3 100644 (file)
@@ -21,3 +21,5 @@ APPEND += "quiet"
 # 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"
index 6410941..7250f5c 100644 (file)
@@ -44,3 +44,4 @@ IMAGE_INSTALL_append = " kernel-modules linux-firmware "
 
 # Psplash causes crash on first boot on RPi
 IMAGE_FEATURES_remove = "splash"
+OSTREE_BOOTLOADER ?= "u-boot"
index 8bbc017..a3a84be 100644 (file)
@@ -44,3 +44,4 @@ IMAGE_INSTALL_append = " kernel-modules linux-firmware "
 
 # Psplash causes crash on first boot on RPi
 IMAGE_FEATURES_remove = "splash"
+OSTREE_BOOTLOADER ?= "u-boot"