agl_raspberrypi*.inc: Set KERNEL_IMAGETYPE to Image 27/9727/5
authorLeon Anavi <leon.anavi@konsulko.com>
Tue, 13 Jun 2017 17:19:37 +0000 (20:19 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 23 Jun 2017 16:39:19 +0000 (16:39 +0000)
Set KERNEL_IMAGETYPE to Image to ensure correct
generation of kernel7.img and successful booting
of AGL on Raspberry Pi 3 and 2 with output from
the serial console.

v2 (jsmoeller): Also adapt
   templates/machine/raspberrypi3/test/hwtest.short.environment

v3 (jsmoeller): disable CI hwtests as rpi firmware is used

Bug-AGL: SPEC-649
Bug-AGL: SPEC-650

Change-Id: If4335ffed7047fd2fbbf4bbd2dff54322cd0bf07
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9727
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
meta-agl-bsp/conf/include/agl_raspberrypi2.inc
meta-agl-bsp/conf/include/agl_raspberrypi3.inc
templates/machine/raspberrypi3/test/hwtest.enable
templates/machine/raspberrypi3/test/hwtest.short.enable
templates/machine/raspberrypi3/test/hwtest.short.environment

index 23e71b6..88565fd 100644 (file)
@@ -9,7 +9,7 @@ CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
 
 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
 
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "Image"
 KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb"
 PREFERRED_VERSION_linux-raspberrypi = "4.4.%"
 PREFERRED_VERSION_mesa = "12.%"
index 23e71b6..88565fd 100644 (file)
@@ -9,7 +9,7 @@ CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
 
 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
 
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "Image"
 KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb"
 PREFERRED_VERSION_linux-raspberrypi = "4.4.%"
 PREFERRED_VERSION_mesa = "12.%"
index 68c2365..db4a5a0 100644 (file)
@@ -1,10 +1,10 @@
 DEVICE_TYPE=raspberrypi3-uboot
 DEVICE_NAME=raspberrypi3
-DEVICE_DTB=uImage-bcm2710-rpi-3-b.dtb
-DEVICE_KERNEL=uImage
-DEVICE_INITRAMFS=initramfs-netboot-image-raspberrypi3.ext4.gz.u-boot
+DEVICE_DTB=Image-bcm2710-rpi-3-b.dtb
+DEVICE_KERNEL=Image
+DEVICE_INITRAMFS=initramfs-netboot-image-raspberrypi3.ext4.gz
 DEVICE_NBDROOT=agl-demo-platform-raspberrypi3.ext4.xz
 DEVICE_NBDROOT_COMPRESSION=xz
 DEVICE_BOOT_METHOD=u-boot
-DEVICE_BOOT_TYPE=bootm
+DEVICE_BOOT_TYPE=booti
 #DEVICE_URL_PREFIX=https://download.automotivelinux.org/AGL
\ No newline at end of file