Gmane
From: Philip Balister <philip <at> balister.org>
Subject: Re: arm-angstrom-linux-gnueabi-objcopy convert vmlinux file to a 3.2GB Image
Newsgroups: gmane.comp.handhelds.openembedded.user
Date: 2007-10-26 12:27:17 GMT (50 weeks, 1 day, 23 hours and 43 minutes ago)
Stefan Herbrechtsmeier wrote:
> Hi,
> 
> I am using OpenEmbedded to make rootfs and kernel Image for my own
> Hardware. After switching DISTRO from generic to angstrom-2007.1 my
> linux uImage is more than 3MB big. The
> arm-angstrom-linux-gnueabi-objcopy command convert the 3.6MB vmlinux
> file to a 3200MB Image file. The generic kernel and the angstrom
> console-image work.
> 
> What can be the reason for this error?

binutils 2.8 interaction with the kernel build. I'm told this fix is 
going upstream. I use it to fix the problem for the davinci kernel at 
the moment.

You are working with a custom kernel recipe? Look at the davinci kernel 
recipe for how I fixed the problem.

Philip

diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
index 5ff5406..538fcb5 100644
--- a/arch/arm/kernel/vmlinux.lds.S
+++ b/arch/arm/kernel/vmlinux.lds.S
@@ -94,6 +94,7 @@ SECTIONS
                         TEXT_TEXT
                         SCHED_TEXT
                         LOCK_TEXT
+                       *(.note.*)
  #ifdef CONFIG_MMU
                         *(.fixup)
  #endif
Attachment (smime.p7s): application/x-pkcs7-signature, 3303 bytes
_______________________________________________
Openembedded-users mailing list
Openembedded-users <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users