summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp
diff options
context:
space:
mode:
authorMichel Thebeau <michel.thebeau@windriver.com>2013-04-10 08:37:33 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-11 09:03:21 +0100
commit95b71d2b03a3a6dc5d32a7d6a84ec3420f39aa61 (patch)
tree7d4d08ac26fcec30d591934ccba6d069de41303c /meta-yocto-bsp
parentcd2f003b512adf545dd3e5edd9aad68e09e9cda7 (diff)
downloadast2050-yocto-poky-95b71d2b03a3a6dc5d32a7d6a84ec3420f39aa61.zip
ast2050-yocto-poky-95b71d2b03a3a6dc5d32a7d6a84ec3420f39aa61.tar.gz
routerstationpro: strip the output kernel of .comment section
The routerstationpro has a 16mb flash which the kernel image should fit into. The default build type for vmlinux then should be a stripped vmlinux. Use KERNEL_IMAGE_STRIP_EXTRA_SECTIONS to do this. Reverts commit 9cd3816e4db97c8fd093a120a75a2b5d193afcdd, which causes: RedBoot> load -v vlm-boards/19256/kernel Using default protocol (TFTP) Unrecognized image type: 0x0 [YOCTO 3515] [YOCTO 4220] (From meta-yocto rev: ddd2174d9a2dccddd0791af741ff7fd13cc264ce) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp')
-rw-r--r--meta-yocto-bsp/conf/machine/routerstationpro.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-yocto-bsp/conf/machine/routerstationpro.conf b/meta-yocto-bsp/conf/machine/routerstationpro.conf
index a727e2a..723625b 100644
--- a/meta-yocto-bsp/conf/machine/routerstationpro.conf
+++ b/meta-yocto-bsp/conf/machine/routerstationpro.conf
@@ -6,8 +6,9 @@ require conf/machine/include/tune-mips32.inc
MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 serial"
-KERNEL_ALT_IMAGETYPE = "vmlinux"
-KERNEL_IMAGETYPE = "vmlinux.bin"
+KERNEL_IMAGETYPE = "vmlinux"
+KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
+KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "3.4%"
OpenPOWER on IntegriCloud