Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] download problem
@ 2007-05-16 11:55 Miroslaw Dach
  2007-05-16 12:28 ` Bernhard Fischer
  0 siblings, 1 reply; 6+ messages in thread
From: Miroslaw Dach @ 2007-05-16 11:55 UTC (permalink / raw)
  To: buildroot

Hi All,

	I wanted to build the rootfile system for ppc_405 processor.
Originally I wanted to build the busybox against uClibc libraries.
I have read that build root project does all in one goal.

Unfortunately I have the difficulties to install the svn on my Linux PC.
Would it be somehow possible to download the version of buildroot suitable 
for ppc_405 from the net directly omitting svn.

Best Regards

Mirek

-- 
=============================================================================
          Miroslaw Dach (Miroslaw.Dach at psi.ch) - SLS/Controls Group 
                PSI - Paul Scherrer Institut CH-5232 Villigen
=============================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] download problem
  2007-05-16 11:55 [Buildroot] download problem Miroslaw Dach
@ 2007-05-16 12:28 ` Bernhard Fischer
  2007-05-16 13:27   ` Miroslaw Dach
  0 siblings, 1 reply; 6+ messages in thread
From: Bernhard Fischer @ 2007-05-16 12:28 UTC (permalink / raw)
  To: buildroot

On Wed, May 16, 2007 at 01:55:21PM +0200, Miroslaw Dach wrote:
>Hi All,
>
>	I wanted to build the rootfile system for ppc_405 processor.
>Originally I wanted to build the busybox against uClibc libraries.
>I have read that build root project does all in one goal.
>
>Unfortunately I have the difficulties to install the svn on my Linux PC.
>Would it be somehow possible to download the version of buildroot suitable 
>for ppc_405 from the net directly omitting svn.

Sure, there are daily snapshots available. Let me refer you to:
http://buildroot.uclibc.org/download.html

HTH,

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] download problem
  2007-05-16 12:28 ` Bernhard Fischer
@ 2007-05-16 13:27   ` Miroslaw Dach
  2007-05-16 13:59     ` Bernhard Fischer
  0 siblings, 1 reply; 6+ messages in thread
From: Miroslaw Dach @ 2007-05-16 13:27 UTC (permalink / raw)
  To: buildroot

Thank you for the suggestion:

I have downloaded the buildroot-snapshot.tar.bz2

I have followed the instruction to make the proper configuration before 
building the toolchain. 

I have selected powerpc but I did not find anything specific concerning the 
architecture I would like to use.

The processor I have is the powerpc 405 without Floating Point support.
Where I can set this settings in order to properly build the toolchain.


Best Regards

Mirek

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] download problem
  2007-05-16 13:27   ` Miroslaw Dach
@ 2007-05-16 13:59     ` Bernhard Fischer
  2007-05-16 15:12       ` Miroslaw Dach
  0 siblings, 1 reply; 6+ messages in thread
From: Bernhard Fischer @ 2007-05-16 13:59 UTC (permalink / raw)
  To: buildroot

On Wed, May 16, 2007 at 03:27:05PM +0200, Miroslaw Dach wrote:
>Thank you for the suggestion:
>
>I have downloaded the buildroot-snapshot.tar.bz2
>
>I have followed the instruction to make the proper configuration before 
>building the toolchain. 
>
>I have selected powerpc but I did not find anything specific concerning the 
>architecture I would like to use.
>
>The processor I have is the powerpc 405 without Floating Point support.
>Where I can set this settings in order to properly build the toolchain.

BR2_SOFT_FLOAT
BR2_TARGET_OPTIMIZATION

The menuconfig entries have help-text for further information.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] download problem
  2007-05-16 13:59     ` Bernhard Fischer
@ 2007-05-16 15:12       ` Miroslaw Dach
  2007-05-16 15:24         ` Bernhard Fischer
  0 siblings, 1 reply; 6+ messages in thread
From: Miroslaw Dach @ 2007-05-16 15:12 UTC (permalink / raw)
  To: buildroot

I have set BR2_TARGET_OPTIMIZATION

BR2_TARGET_OPTIMIZATION="-Os -pipe -O -mcpu=405 --with-cpu=405 
--enable-cxx-flags=-mcpu=405"



but I do not see that the toolchain was build with 
those options for the ppc_405 architecture:

/root/buildroot/build_powerpc/staging_dir/bin/powerpc-linux-uclibc-gcc -v

Using built-in specs.
Target: powerpc-linux-uclibc
Configured with: 
/root/buildroot/toolchain_build_powerpc/gcc-4.1.2/configure 
--prefix=/root/buildroot/build_powerpc/staging_dir 
--build=i386-pc-linux-gnu --host=i386-pc-linux-gnu 
--target=powerpc-linux-uclibc --enable-languages=c --disable-__cxa_atexit 
--enable-target-optspace --with-gnu-ld 
--with-gmp=/root/buildroot/toolchain_build_powerpc/gmp 
--with-mpfr=/root/buildroot/toolchain_build_powerpc/mpfr --enable-shared 
--disable-nls --enable-threads --disable-multilib
Thread model: posix
gcc version 4.1.2


My previously build crosstool gave the output as following:

bash SLSBASE=]# ./powerpc-405-linux-gnu-gcc -v
Using built-in specs.
Target: powerpc-405-linux-gnu
Configured with: 
/home/ioc/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-4.0.2-glibc-2.3.2/gcc-4.0.2/configure 
--target=powerpc-405-linux-gnu --host=i686-host_pc-linux-gnu 
--prefix=/opt/crosstool/gcc-4.0.2-glibc-2.3.2/powerpc-405-linux-gnu 
--with-cpu=405 --enable-cxx-flags=-mcpu=405 
--with-headers=/opt/crosstool/gcc-4.0.2-glibc-2.3.2/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include 
--with-local-prefix=/opt/crosstool/gcc-4.0.2-glibc-2.3.2/powerpc-405-linux-gnu/powerpc-405-linux-gnu 
--disable-nls --enable-threads=posix --enable-symvers=gnu 
--enable-__cxa_atexit --enable-languages=c,c++ --enable-shared 
--enable-c99 --enable-long-long
Thread model: posix
gcc version 4.0.2


In the toolchain which was created by buildroot I do not see the options 
like:

--with-cpu=405 
--enable-cxx-flags=-mcpu=405

Best Regards

Mirek



=============================================================================
          Miroslaw Dach (Miroslaw.Dach at psi.ch) - SLS/Controls Group 
                PSI - Paul Scherrer Institut CH-5232 Villigen
=============================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] download problem
  2007-05-16 15:12       ` Miroslaw Dach
@ 2007-05-16 15:24         ` Bernhard Fischer
  0 siblings, 0 replies; 6+ messages in thread
From: Bernhard Fischer @ 2007-05-16 15:24 UTC (permalink / raw)
  To: buildroot

On Wed, May 16, 2007 at 05:12:15PM +0200, Miroslaw Dach wrote:
>I have set BR2_TARGET_OPTIMIZATION
>
>BR2_TARGET_OPTIMIZATION="-Os -pipe -O -mcpu=405 --with-cpu=405 
>--enable-cxx-flags=-mcpu=405"

that's wrong. At least my gcc does not accept that last flag.
>
>
>
>but I do not see that the toolchain was build with 
>those options for the ppc_405 architecture:
>
>/root/buildroot/build_powerpc/staging_dir/bin/powerpc-linux-uclibc-gcc -v
>
>Using built-in specs.
>Target: powerpc-linux-uclibc
>Configured with: 
>/root/buildroot/toolchain_build_powerpc/gcc-4.1.2/configure 
>--prefix=/root/buildroot/build_powerpc/staging_dir 
>--build=i386-pc-linux-gnu --host=i386-pc-linux-gnu 
>--target=powerpc-linux-uclibc --enable-languages=c --disable-__cxa_atexit 
>--enable-target-optspace --with-gnu-ld 
>--with-gmp=/root/buildroot/toolchain_build_powerpc/gmp 
>--with-mpfr=/root/buildroot/toolchain_build_powerpc/mpfr --enable-shared 
>--disable-nls --enable-threads --disable-multilib
>Thread model: posix
>gcc version 4.1.2

Looks ok.
>
>
>My previously build crosstool gave the output as following:
>
>bash SLSBASE=]# ./powerpc-405-linux-gnu-gcc -v
>Using built-in specs.
>Target: powerpc-405-linux-gnu
>Configured with: 
>/home/ioc/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-4.0.2-glibc-2.3.2/gcc-4.0.2/configure 
>--target=powerpc-405-linux-gnu --host=i686-host_pc-linux-gnu 
>--prefix=/opt/crosstool/gcc-4.0.2-glibc-2.3.2/powerpc-405-linux-gnu 
>--with-cpu=405 --enable-cxx-flags=-mcpu=405 
>--with-headers=/opt/crosstool/gcc-4.0.2-glibc-2.3.2/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include 
>--with-local-prefix=/opt/crosstool/gcc-4.0.2-glibc-2.3.2/powerpc-405-linux-gnu/powerpc-405-linux-gnu 
>--disable-nls --enable-threads=posix --enable-symvers=gnu 
>--enable-__cxa_atexit --enable-languages=c,c++ --enable-shared 
>--enable-c99 --enable-long-long
>Thread model: posix
>gcc version 4.0.2
>
>
>In the toolchain which was created by buildroot I do not see the options 
>like:
>
>--with-cpu=405 
>--enable-cxx-flags=-mcpu=405

which is perfectly fine. Please see the help-text for these options for
further details.

PS:
You can pass additional configure flags to binutils and gcc if you think
you need this.

HTH,

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-16 15:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-16 11:55 [Buildroot] download problem Miroslaw Dach
2007-05-16 12:28 ` Bernhard Fischer
2007-05-16 13:27   ` Miroslaw Dach
2007-05-16 13:59     ` Bernhard Fischer
2007-05-16 15:12       ` Miroslaw Dach
2007-05-16 15:24         ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox