diff options
author | Michel Thebeau <michel.thebeau@windriver.com> | 2013-04-10 08:37:33 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-11 09:03:24 +0100 |
commit | 1de5bda888fd0925d9182559cd769cebca7735df (patch) | |
tree | fe423688f71795a0d540e46983426329a875da90 /meta-yocto-bsp/conf/machine | |
parent | 4a20f6b23ed297ecb6b05ac347b61278075b18f4 (diff) | |
download | poky-1de5bda888fd0925d9182559cd769cebca7735df.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: 832f94f9de9c7745256935a522044d37d30794aa)
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/conf/machine')
-rw-r--r-- | meta-yocto-bsp/conf/machine/routerstationpro.conf | 5 |
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 a727e2a0a2..723625bb14 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 | |||
6 | 6 | ||
7 | MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 serial" | 7 | MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 serial" |
8 | 8 | ||
9 | KERNEL_ALT_IMAGETYPE = "vmlinux" | 9 | KERNEL_IMAGETYPE = "vmlinux" |
10 | KERNEL_IMAGETYPE = "vmlinux.bin" | 10 | KERNEL_ALT_IMAGETYPE = "vmlinux.bin" |
11 | KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment" | ||
11 | 12 | ||
12 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 13 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
13 | PREFERRED_VERSION_linux-yocto ?= "3.4%" | 14 | PREFERRED_VERSION_linux-yocto ?= "3.4%" |