Skip to contentSkip to conversation

kernel cross compilation problem (at91sam9260)

Buildroot grego rigolo 1 participant 1 message Feb 12, 2008

lore
Share & tools
lore
#0 lore raw

hello,
During the linux kernel compilation, i noticed that the file named "Image" had a different size.
Indeed
when i built the kernel with my old buildroot uclibc toolchain, i got
an Image file of about 2.5Mb while with my new configuration, i got an
Image file of 3Gb !!!!!
Image file is generated from the vmlinux file with the following command:
-----> arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux arch/arm/boot/Image
In both cases, the size of my vmlinux file is similar.
I also noticed in my new "vmlinux.o" file that a new section had been created: .ARM.attributes respect to the old vmlinux.o greg

----- Message d'origine ----
De : Doug the RockRat <[email protected]>
? : Rick Foos <[email protected]>; Wayne Keenan <[email protected]>; grego rigolo <[email protected]> Cc : buildroot at uclibc.org
Envoy? le : Lundi, 11 F?vrier 2008, 21h57mn 35s
Objet : Re: [Buildroot] kernel cross compilation problem (at91sam9260)

Is
it
possible
that
a
boot
logo
was
perhaps
added?
That
does
add
a
significant
amount
of
size
to
the
kernel.
---
Rick
Foos
<[email protected]>

Quoted 1 line · wrote:

Hi,

Quoted 2 lines

I
had
the
same
problem
going
from
800k
to
3MB

Quoted 1 line

kernels.
It
was
not
related
to
compilers.

Quoted 2 lines

The
size
is
due
to
a
large
initrd
filesystem.

Quoted 2 lines

Clean
everything
out,
the
standard
cleans
don't
seem

Quoted 1 line

to
do
it.

Quoted 2 lines

I
can't
say
what
exactly
gets
it
done,
removing
init

Quoted 1 line

ram
filesystem,
but
it
looks
like
toolchain
rebuild

Quoted 1 line

as
well
is
required.

Quoted 2 lines

,
and
in
.config

Quoted 2 lines

#
BR2_TARGET_ROOTFS_INITRAMFS
is
not
set

Quoted 2 lines

Best
Regards,

Quoted 1 line

Rick

Quoted 2 lines

________________________________

Quoted 2 lines

From:
buildroot-bounces at uclibc.org
on
behalf
of

Quoted 1 line

Wayne
Keenan

Quoted 1 line

Sent:
Mon
2/11/2008
11:32
AM

Quoted 1 line

To:
grego
rigolo

Quoted 1 line

Cc:
buildroot at uclibc.org

Quoted 1 line

Subject:
Re:
[Buildroot]
kernel
cross
compilation

Quoted 1 line

problem
(at91sam9260)

Quoted 3 lines

Hi,

Quoted 2 lines

Dropping
back
to
using
gcc
3.4.6
and
uclib
x.x.28

Quoted 1 line

worked
for
me.
-
not
a
proper
fix,
but
it
was
a

Quoted 1 line

combination
that
worked
andI
was
fed
up
of
trying

Quoted 1 line

combinations
:)

Quoted 3 lines

Regards

Quoted 1 line

Wayne

Quoted 4 lines

On
Feb
11,
2008
4:10
PM,
grego
rigolo

Quoted 1 line

<[email protected]>

Quoted 3 lines · wrote:

hello,

Quoted 1 line

I'm
using
the
buildroot-20080206.tar.bz2
package
to

Quoted 1 line

build
a
rootfilesystem
and
a
cross
compilation

Quoted 1 line

toolchain
for
my
embedded
board
(sam9260).

Quoted 1 line

I
tried
to
cross
compile
(arm-linux-gcc-4.1.2)
a

Quoted 1 line

2.6.23
linux
kernel
seperately
(not
the
one
included

Quoted 1 line

in
buildroot)
,
and
i
noticed
that
the
size
had

Quoted 1 line

increased
by
3Mb
respect
to
my
old
version.

Quoted 1 line

On
the
other
hand
when
i
try
to
use
the
generated

Quoted 1 line

kernel,
it
hangs
at
the
stage

Quoted 1 line

uncompressing
Linux
....................

Quoted 1 line

Does
anyone
encounters
this
kind
of
problem
?

Quoted 1 line

greg

Quoted 5 lines

________________________________

Quoted 2 lines

Ne
gardez
plus
qu'une
seule
adresse
mail
!
Copiez

Quoted 1 line

vos
mails

Quoted 1 line

<http://fr.rd.yahoo..com/mail/mail_taglines/trueswitch/SIG=11gshn0bu/**http%3A%2F%2Fwww.trueswitch.com%2Fyahoo-fr%2F>

Quoted 1 line

vers
Yahoo!
Mail

Quoted 2 lines

_______________________________________________

Quoted 1 line

buildroot
mailing
list

Quoted 1 line

buildroot at uclibc.org

Quoted 1 line

http://busybox.net/mailman/listinfo/buildroot

Quoted 6 lines

_______________________________________________

Quoted 1 line

buildroot
mailing
list

Quoted 1 line

buildroot at uclibc.org

Quoted 1 line

http://busybox.net/mailman/listinfo/buildroot

____________________________________________________________________________________
Be
a
better
friend,
newshound,
and
know-it-all
with
Yahoo!
Mobile.
Try
it
now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

      ______________________________________________________________________________ 

Yahoo! Mail : un mail innovant avec Messenger compatible Windows Live + stockage illimit?. http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080212/f600e363/attachment.htm