Skip to contentSkip to conversation

kernel cross compilation problem (at91sam9260)

Buildroot grego rigolo 5 participants 5 messages Feb 11, 2008 – Feb 15, 2008

lore
Share & tools
lore
#0 lore raw

hello,
I'm using the buildroot-20080206.tar.bz2 package to build a rootfilesystem and a cross compilation toolchain for my embedded board (sam9260).
I tried to cross compile (arm-linux-gcc-4.1.2) a 2.6.23 linux kernel seperately (not the one included in buildroot) , and i noticed that the size had increased by 3Mb respect to my old version. On the other hand when i try to use the generated kernel, it hangs at the stage
uncompressing Linux ....................
Does anyone encounters this kind of problem ?
greg

      _____________________________________________________________________________ 

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080211/97f80182/attachment.htm

#1 lore raw

Hi,

Dropping back to using gcc 3.4.6 and uclib x.x.28 worked for me. - not a proper fix, but it was a combination that worked andI was fed up of trying combinations :)

Regards
Wayne

Quoted 13 lines · grego rigolo

hello,
I'm using the buildroot-20080206.tar.bz2 package to build a rootfilesystem and a cross compilation toolchain for my embedded board (sam9260). I tried to cross compile (arm-linux-gcc-4.1.2) a 2.6.23 linux kernel seperately (not the one included in buildroot) , and i noticed that the size had increased by 3Mb respect to my old version.
On the other hand when i try to use the generated kernel, it hangs at the stage
uncompressing Linux ....................
Does anyone encounters this kind of problem ?
greg

Quoted 8 lines

------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails<http://fr.rd.yahoo..com/mail/mail_taglines/trueswitch/SIG=11gshn0bu/**http%3A%2F%2Fwww.trueswitch.com%2Fyahoo-fr%2F>vers Yahoo! Mail

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080211/7b6f612f/attachment-0001.htm

#2 lore raw

Hi,

I had the same problem going from 800k to 3MB kernels. It was not related to compilers.

The size is due to a large initrd filesystem.

Clean everything out, the standard cleans don't seem to do it.

I can't say what exactly gets it done, removing init ram filesystem, but it looks like toolchain rebuild as well is required.

, and in .config

# BR2_TARGET_ROOTFS_INITRAMFS is not set

Best Regards,
Rick

________________________________

From: [email protected] on behalf of Wayne Keenan
Sent: Mon 2/11/2008 11:32 AM
To: grego rigolo
Cc: buildroot at uclibc.org
Subject: Re: [Buildroot] kernel cross compilation problem (at91sam9260)

Hi,

Dropping back to using gcc 3.4.6 and uclib x.x.28 worked for me. - not a proper fix, but it was a combination that worked andI was fed up of trying combinations :)

Regards
Wayne

On Feb 11, 2008 4:10 PM, grego rigolo <[email protected]> wrote:

hello,
I'm using the buildroot-20080206.tar.bz2 package to build a rootfilesystem and a cross compilation toolchain for my embedded board (sam9260).
I tried to cross compile (arm-linux-gcc-4.1.2) a 2.6.23 linux kernel seperately (not the one included in buildroot) , and i noticed that the size had increased by 3Mb respect to my old version. On the other hand when i try to use the generated kernel, it hangs at the stage
uncompressing Linux ....................
Does anyone encounters this kind of problem ?
greg

________________________________

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails <http://fr.rd.yahoo..com/mail/mail_taglines/trueswitch/SIG=11gshn0bu/**http%3A%2F%2Fwww.trueswitch.com%2Fyahoo-fr%2F> vers Yahoo! Mail

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080211/4ca4f9a2/attachment.htm

#3 lore raw

Is it possible that a boot logo was perhaps added? That does add a significant amount of size to the kernel.

Quoted 65 lines · --- Rick Foos

Hi,

I had the same problem going from 800k to 3MB kernels. It was not related to compilers.

The size is due to a large initrd filesystem.

Clean everything out, the standard cleans don't seem to do it.

I can't say what exactly gets it done, removing init ram filesystem, but it looks like toolchain rebuild as well is required.

, and in .config

# BR2_TARGET_ROOTFS_INITRAMFS is not set

Best Regards,
Rick

________________________________

From: buildroot-bounces at uclibc.org on behalf of Wayne Keenan
Sent: Mon 2/11/2008 11:32 AM
To: grego rigolo
Cc: buildroot at uclibc.org
Subject: Re: [Buildroot] kernel cross compilation problem (at91sam9260)

Hi,

Dropping back to using gcc 3.4.6 and uclib x.x.28 worked for me. - not a proper fix, but it was a combination that worked andI was fed up of trying combinations :)

Regards
Wayne

On Feb 11, 2008 4:10 PM, grego rigolo
<[email protected]> wrote:

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

build a rootfilesystem and a cross compilation toolchain for my embedded board (sam9260).
I tried to cross compile (arm-linux-gcc-4.1.2) a
2.6.23 linux kernel seperately (not the one included in buildroot) , and i noticed that the size had increased by 3Mb respect to my old version.
On the other hand when i try to use the generated
kernel, it hangs at the stage

	uncompressing Linux ....................
	Does anyone encounters this kind of problem ?
	greg
Quoted 5 lines

________________________________

Ne gardez plus qu'une seule adresse mail ! Copiez
vos mails

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

Quoted 9 lines

vers Yahoo! Mail

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Quoted 4 lines
Quoted 1 line

_______________________________________________

buildroot mailing list
buildroot at uclibc.org
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