[oe-users] arm-angstrom-linux-gnueabi-objcopy convert vmlinux file to a 3.2GB Image
Philip Balister
philip at balister.org
Fri Oct 26 12:27:17 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3303 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20071026/99bd1099/attachment-0002.bin>
More information about the Openembedded-users
mailing list