[Buildroot] kernel image size depends on toolchain?

Andreas Kuehn Andreas.Kuehn at gin.de
Wed Jun 11 10:20:36 UTC 2008


Here it comes...

                                           old        actual
-------------------------------------------------------------
linux/System.map                          695909      695917
linux/vmlinux                           27876137    27875949
linux/vmlinux.o                         46429585    46507157
linux/arch/arm/boot/Image                2896464  3224138320
linux/arch/arm/boot/uImage               1412856     4528180
linux/arch/arm/boot/compressed/vmlinux   1480207     4594834
linux/arch/arm/boot/compressed/piggy.gz  1397310     4512806

Obviously, the Image file is a little out of shape.
Who created that monster? I take that as a proof that the toolchain 
hasn't been built properly.  -- Any ideas? --




Peter Korsgaard wrote:
>>>>>> "Andreas" == Andreas Kuehn <Andreas.Kuehn at gin.de> writes:
> 
> Hi,
> 
>  Andreas> That is how I found that thing. It simply doesn't fit into my boot
>  Andreas> flash anymore.
>  Andreas> And Yes, it is the same, not even a copy, .config file for both trys.
> 
>  Andreas> The reason why I need the "new" uclibc is, that I need access to the
>  Andreas> PIOs of my at91sam9261 and at91sam9263 controllers. And the "old"
>  Andreas> uclibc has this mmap bug that creates an page overflow error.
> 
>  Andreas> Is there a chance that something in the uclibc like the
>  Andreas> LARGEFILESUPPORT creates some static or incompressable data block?
> 
> That doesn't sound likely. Are the vmlinux files also different in
> sizes? Try comparing output of $CROSS-nm on the vmlinux files.
> 



More information about the buildroot mailing list