Peter Haijen wrote:
Hi there,I have a kernel and a binary toolchain downloaded from a vendor, and when I compile this kernel manually, I get a 1.5mb file eventually. However, I want to switch to OE for our development, so I setup an OE environment and made a kernel package and the necessary patches to create the exact same kernel source under OE. When I compile this kernel using the OE build, the resulting file size is more than 4mb in size. I have also tried compiling these kernel sources separately from the OE build environment, but using the OE generated toolchain, and again, the resulting kernel image is too big. For some reason, when I use the OE generated toolchain, the resulting kernel image is +4mb, while the exact same sources compiled with a binary toolchain I downloaded result in a perfect 1.5mb kernel. I would appreciate any hints where to start looking for the reason for this large kernel image.
There was a problem with a binutils version that needed a small patch to a linker script in the kernel. This patch solved this problem. This has been corrected in later kernels and it looks like we dropped the patch from the kernels I know about.
I know this is a bit vague, but is all I can find for you quickly. Maybe one of the guys with better memory can find a pointer to the patch we used.
Philip
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Openembedded-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
