diff options
author | Andrei Gherzan <andrei@gherzan.com> | 2017-11-02 15:19:10 +0000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2017-11-08 10:20:08 +0000 |
commit | 50fd319205d8de9996edddad5f1a2c3f2b9e2f15 (patch) | |
tree | da44f8a007e9d81230ed163d32f1a27b83de77c9 | |
parent | c07d7055e51a80e6d4698380199151b6e3ebdfdf (diff) | |
download | meta-raspberrypi-50fd319205d8de9996edddad5f1a2c3f2b9e2f15.tar.gz |
rpi-base.inc: KERNEL_IMAGETYPE default to zImage
We used to have this as the default but there was a bug at some point in the
firmware which didn't work with compressed kernel images. We switched to Image
and never changed it back even though that bug is long history.
In this way we will stop carrying 15M of a kernel image. 4M looks much better.
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
-rw-r--r-- | conf/machine/include/rpi-base.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 688227c..71c63cb 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. |
52 | KERNEL_BOOTCMD ??= "bootm" | 52 | KERNEL_BOOTCMD ??= "bootm" |
53 | KERNEL_IMAGETYPE_UBOOT ??= "uImage" | 53 | KERNEL_IMAGETYPE_UBOOT ??= "uImage" |
54 | KERNEL_IMAGETYPE ?= "${@bb.utils.contains('RPI_USE_U_BOOT', '1', '${KERNEL_IMAGETYPE_UBOOT}', 'Image', d)}" | 54 | KERNEL_IMAGETYPE ?= "${@bb.utils.contains('RPI_USE_U_BOOT', '1', '${KERNEL_IMAGETYPE_UBOOT}', 'zImage', d)}" |
55 | 55 | ||
56 | MACHINE_FEATURES += "apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" | 56 | MACHINE_FEATURES += "apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" |
57 | 57 | ||