summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2017-11-09 21:31:01 +0100
committerAndrei Gherzan <andrei@gherzan.com>2017-11-10 12:39:51 +0000
commit4d3a148b8eaca1a7137d4f081be6b865a27b0b2a (patch)
tree6e223894148241324ee8b4bcf4e2b5eddfb9323d
parent4c09f3e6dbfc865982166092fac2a59aba6b1bf5 (diff)
downloadmeta-raspberrypi-4d3a148b8eaca1a7137d4f081be6b865a27b0b2a.tar.gz
raspberrypi3-64: set default kernel to Image
Fixes: 50fd319205d8 for raspberrypi3-64. Fixes: #153 For raspberrypi3-64 set default kernel image to "Image". "zImage" are not supported by arm64 platforms. And ".gz" images are not handled by bootloader yet. Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
-rw-r--r--conf/machine/include/rpi-base.inc2
-rw-r--r--conf/machine/raspberrypi3-64.conf2
2 files changed, 3 insertions, 1 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index 71c63cb..529c80d 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -51,7 +51,7 @@ KERNEL_DEVICETREE ?= " \
51# within u-boot to load the kernel. 51# within u-boot to load the kernel.
52KERNEL_BOOTCMD ??= "bootm" 52KERNEL_BOOTCMD ??= "bootm"
53KERNEL_IMAGETYPE_UBOOT ??= "uImage" 53KERNEL_IMAGETYPE_UBOOT ??= "uImage"
54KERNEL_IMAGETYPE ?= "${@bb.utils.contains('RPI_USE_U_BOOT', '1', '${KERNEL_IMAGETYPE_UBOOT}', 'zImage', d)}" 54KERNEL_IMAGETYPE ??= "${@bb.utils.contains('RPI_USE_U_BOOT', '1', '${KERNEL_IMAGETYPE_UBOOT}', 'zImage', d)}"
55 55
56MACHINE_FEATURES += "apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" 56MACHINE_FEATURES += "apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio"
57 57
diff --git a/conf/machine/raspberrypi3-64.conf b/conf/machine/raspberrypi3-64.conf
index ebc9f38..38c3c4c 100644
--- a/conf/machine/raspberrypi3-64.conf
+++ b/conf/machine/raspberrypi3-64.conf
@@ -43,4 +43,6 @@ MACHINE_FEATURES_append = " vc4graphics"
43# When u-boot is enabled we need to use the "Image" format and the "booti" 43# When u-boot is enabled we need to use the "Image" format and the "booti"
44# command to load the kernel 44# command to load the kernel
45KERNEL_IMAGETYPE_UBOOT ?= "Image" 45KERNEL_IMAGETYPE_UBOOT ?= "Image"
46# "zImage" not supported on arm64 and ".gz" images not supported by bootloader yet
47KERNEL_IMAGETYPE ?= "Image"
46KERNEL_BOOTCMD ?= "booti" 48KERNEL_BOOTCMD ?= "booti"