aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2014-05-26 23:56:50 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2014-05-26 23:15:36 +0100
commitad6f63af1abcc44b8c88235b0372b401fe554a21 (patch)
treebe50a2c58166c156e1d8a3cb2867374fa993034d /conf
parent8f5d1619edc5328f4d3be261f82792c53fdd9192 (diff)
downloadmeta-handheld-ad6f63af1abcc44b8c88235b0372b401fe554a21.tar.gz
meta-handheld-ad6f63af1abcc44b8c88235b0372b401fe554a21.tar.bz2
meta-handheld-ad6f63af1abcc44b8c88235b0372b401fe554a21.zip
gcw0: improve compatibility with kexecboot
Alternative images to be booted by kexecboot require to have an elf vmlinuz in /boot (kexec on mips expects elf). The bootloader however needs raw data (vmlinuz.bin) so we customize KERNEL_IMAGETYPE in the recipe. Finally, kexec is added to the main kernel recipe for easier testing and the watchdog timer is increased in the configuration for the kexecboot kernel. At the moment linux-kexecboot detects just fine partitions on external SD but freezes on kexec. Tests done from shell reveal that both kexec binaries (2.06 glibc and 2.02 klibc) load the new kernel but freeze on kexec -e. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/gcw0.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/conf/machine/gcw0.conf b/conf/machine/gcw0.conf
index 801f634..e1cfa1d 100644
--- a/conf/machine/gcw0.conf
+++ b/conf/machine/gcw0.conf
@@ -9,9 +9,14 @@ require conf/machine/include/tune-mips32r2.inc
# IMAGE_FEATURES += "read-only-rootfs"
IMAGE_FSTYPES ?= "tar.gz squashfs squashfs-xz"
+INITRAMFS_FSTYPES = "cpio.gz cpio.xz"
+
PREFERRED_PROVIDER_virtual/kernel = "linux-gcw0"
-KERNEL_IMAGETYPE = "vmlinuz.bin"
+# ELF for kexec (kernel to be put in /boot)
+KERNEL_IMAGETYPE = "vmlinuz"
+# RAW for ubiboot (only for linux-gcw0-kexecboot)
+#KERNEL_IMAGETYPE = "vmlinuz.bin"
KERNEL_OUTPUT = "${KERNEL_IMAGETYPE}"
MACHINE_GUI_CLASS = "smallscreen"