All of lore.kernel.org
 help / color / mirror / Atom feed
* DISTRO minimal.conf for ARM architectures
@ 2009-08-31 14:16 Javi Roman
  2009-08-31 15:19 ` Koen Kooi
  2009-08-31 15:22 ` Michael 'Mickey' Lauer
  0 siblings, 2 replies; 9+ messages in thread
From: Javi Roman @ 2009-08-31 14:16 UTC (permalink / raw)
  To: openembedded-devel

Hello,

I've been unable to build minimal.conf distro for an ARM architecture
(more precisely for Beagleboard platform), at this point I would like
ask two questions:

1. Is it minimal.conf distro ready to build on ARM architectures right now?
2. If ARM is not a target for the minimal distribution, do you think
is a huge task to study in depth? Otherwise is it not worthwhile?

Thanks.

-- 
Javi Roman



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

* Re: DISTRO minimal.conf for ARM architectures
  2009-08-31 14:16 DISTRO minimal.conf for ARM architectures Javi Roman
@ 2009-08-31 15:19 ` Koen Kooi
  2009-08-31 15:22 ` Michael 'Mickey' Lauer
  1 sibling, 0 replies; 9+ messages in thread
From: Koen Kooi @ 2009-08-31 15:19 UTC (permalink / raw)
  To: openembedded-devel

On 31-08-09 16:16, Javi Roman wrote:
> Hello,
>
> I've been unable to build minimal.conf distro for an ARM architecture
> (more precisely for Beagleboard platform), at this point I would like
> ask two questions:

If you're targeting beagleboard then angstrom is your best bet.

regards,

Koen




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

* Re: DISTRO minimal.conf for ARM architectures
  2009-08-31 14:16 DISTRO minimal.conf for ARM architectures Javi Roman
  2009-08-31 15:19 ` Koen Kooi
@ 2009-08-31 15:22 ` Michael 'Mickey' Lauer
  2009-08-31 17:41   ` Javi Roman
  1 sibling, 1 reply; 9+ messages in thread
From: Michael 'Mickey' Lauer @ 2009-08-31 15:22 UTC (permalink / raw)
  To: openembedded-devel

On Monday 31 August 2009 16:16:10 Javi Roman wrote:
> I've been unable to build minimal.conf distro for an ARM architecture
> (more precisely for Beagleboard platform), at this point I would like
> ask two questions:
>
> 1. Is it minimal.conf distro ready to build on ARM architectures right now?

Yes. How exactly does it fail for you?

:M:




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

* Re: DISTRO minimal.conf for ARM architectures
  2009-08-31 15:22 ` Michael 'Mickey' Lauer
@ 2009-08-31 17:41   ` Javi Roman
  2009-08-31 17:47     ` Philip Balister
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Javi Roman @ 2009-08-31 17:41 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Aug 31, 2009 at 5:22 PM, Michael 'Mickey'
Lauer<mickey@vanille-media.de> wrote:
> On Monday 31 August 2009 16:16:10 Javi Roman wrote:
>> I've been unable to build minimal.conf distro for an ARM architecture
>> (more precisely for Beagleboard platform), at this point I would like
>> ask two questions:
>>
>> 1. Is it minimal.conf distro ready to build on ARM architectures right now?
>
> Yes. How exactly does it fail for you?

/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi/./gcc/xgcc
-B/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi/./gcc/
-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
-isystem/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/staging/armv7a-oe-linux-gnueabi/usr/include
-B/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueabi/bin/
-B/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueabi/lib/
-isystem /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueabi/include
-isystem /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueabi/sys-include
-O2 -g -Os -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include  -I. -I.
-I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc
-I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/.
-I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/../include
-I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/../libcpp/include
 -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/../libdecnumber
-I../libdecnumber  -g0 -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder
-Dinhibit_libc  -fPIC \
          -c /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c
-DCRT_END -DCRTSTUFFS_O \
          -o crtendS.o
/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: bad value (cortex-a8) for -mtune= switch
/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: bad value (armv7-a) for -march= switch
/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: invalid floating point option:
-mfpu=neon/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: bad value (cortex-a8) for -mtune= switch
/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: bad value (armv7-a) for -march= switch
/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: invalid floating point option: -mfpu=neon
make[2]: *** [crtbeginT.o] Error 1
make[2]: *** [crtendS.o] Error 1
make[2]: *** [crtbeginS.o] Error 1
make[2]: Leaving directory
`/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi'
make: *** [all] Error 2
FATAL: oe_runmake failed


I've thought, before to try to find out the problem, if the tuning of
minimal distro for ARM architecutes would be the Angstrom
distribution.

By the way, I'm trying to use the minimal distro for Beagleboard,
instead of Angstron, because of I have thought minimal distro is a
good point of start a fresh (o vanilla) basic distribution, and
Angstron is a more complete and cutting edge distribution for
Beagleboard platform (as Koen has told me).

Thanks.

-- 
Javi Roman



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

* Re: DISTRO minimal.conf for ARM architectures
  2009-08-31 17:41   ` Javi Roman
@ 2009-08-31 17:47     ` Philip Balister
  2009-08-31 19:12       ` Javi Roman
  2009-08-31 17:58     ` Michael 'Mickey' Lauer
  2009-08-31 18:52     ` Khem Raj
  2 siblings, 1 reply; 9+ messages in thread
From: Philip Balister @ 2009-08-31 17:47 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

Javi Roman wrote:
> On Mon, Aug 31, 2009 at 5:22 PM, Michael 'Mickey'
> Lauer<mickey@vanille-media.de> wrote:
> By the way, I'm trying to use the minimal distro for Beagleboard,
> instead of Angstron, because of I have thought minimal distro is a
> good point of start a fresh (o vanilla) basic distribution, and
> Angstron is a more complete and cutting edge distribution for
> Beagleboard platform (as Koen has told me).

I think you are confusing choice of DISTRO and choice of image.You can 
create vanilla images with Angstrom.

We really need to put something on the wiki explaining what DISTRO means 
in the OE context.

Philip

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]

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

* Re: DISTRO minimal.conf for ARM architectures
  2009-08-31 17:41   ` Javi Roman
  2009-08-31 17:47     ` Philip Balister
@ 2009-08-31 17:58     ` Michael 'Mickey' Lauer
  2009-08-31 18:52     ` Khem Raj
  2 siblings, 0 replies; 9+ messages in thread
From: Michael 'Mickey' Lauer @ 2009-08-31 17:58 UTC (permalink / raw)
  To: openembedded-devel

Hmm, bails out somewhere in the toolchain. I'm afraid I can't help you there. 
Anyone else?

(Unfortunately interest in codifying toolchain specifics in a distribution-
independant way has only started recently, so there might still be 
configurations where we are missing sane defaults. I consider this being a bug 
in the OE metadata, so if you find the culprit, please inform us)

:M:




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

* Re: DISTRO minimal.conf for ARM architectures
  2009-08-31 17:41   ` Javi Roman
  2009-08-31 17:47     ` Philip Balister
  2009-08-31 17:58     ` Michael 'Mickey' Lauer
@ 2009-08-31 18:52     ` Khem Raj
  2009-08-31 19:01       ` Michael 'Mickey' Lauer
  2 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2009-08-31 18:52 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Aug 31, 2009 at 10:41 AM, Javi Roman<javiroman@kernel-labs.org> wrote:
> On Mon, Aug 31, 2009 at 5:22 PM, Michael 'Mickey'
> Lauer<mickey@vanille-media.de> wrote:
>> On Monday 31 August 2009 16:16:10 Javi Roman wrote:
>>> I've been unable to build minimal.conf distro for an ARM architecture
>>> (more precisely for Beagleboard platform), at this point I would like
>>> ask two questions:
>>>
>>> 1. Is it minimal.conf distro ready to build on ARM architectures right now?
>>
>> Yes. How exactly does it fail for you?
>
> /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi/./gcc/xgcc
> -B/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi/./gcc/
> -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
> -isystem/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/staging/armv7a-oe-linux-gnueabi/usr/include
> -B/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueabi/bin/
> -B/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueabi/lib/
> -isystem /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueabi/include
> -isystem /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueabi/sys-include
> -O2 -g -Os -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
> -isystem ./include  -I. -I.
> -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc
> -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/.
> -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/../include
> -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/../libcpp/include
>  -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/../libdecnumber
> -I../libdecnumber  -g0 -finhibit-size-directive -fno-inline-functions
> -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder
> -Dinhibit_libc  -fPIC \
>          -c /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c
> -DCRT_END -DCRTSTUFFS_O \
>          -o crtendS.o
> /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
> error: bad value (cortex-a8) for -mtune= switch
> /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
> error: bad value (armv7-a) for -march= switch
> /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
> error: invalid floating point option:
> -mfpu=neon/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
> error: bad value (cortex-a8) for -mtune= switch
> /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
> error: bad value (armv7-a) for -march= switch
> /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1:
> error: invalid floating point option: -mfpu=neon
> make[2]: *** [crtbeginT.o] Error 1
> make[2]: *** [crtendS.o] Error 1
> make[2]: *** [crtbeginS.o] Error 1
> make[2]: Leaving directory
> `/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi/gcc'
> make[1]: *** [all-gcc] Error 2
> make[1]: Leaving directory
> `/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi'
> make: *** [all] Error 2
> FATAL: oe_runmake failed
>
>
> I've thought, before to try to find out the problem, if the tuning of
> minimal distro for ARM architecutes would be the Angstrom
> distribution.

the problem is that the compiler being used it old for armv7 support.
Try using gcc 4.4.1
something like

PREFERRED_GCC_VERSION_local                     = "4.4.1"

in your loca.conf file would do it for you.
and once done do a complete rebuild.


> good point of start a fresh (o vanilla) basic distribution, and
> Angstron is a more complete and cutting edge distribution for
> Beagleboard platform (as Koen has told me).
>
> Thanks.
>
> --
> Javi Roman
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

* Re: DISTRO minimal.conf for ARM architectures
  2009-08-31 18:52     ` Khem Raj
@ 2009-08-31 19:01       ` Michael 'Mickey' Lauer
  0 siblings, 0 replies; 9+ messages in thread
From: Michael 'Mickey' Lauer @ 2009-08-31 19:01 UTC (permalink / raw)
  To: openembedded-devel

On Monday 31 August 2009 20:52:03 Khem Raj wrote:
> On Mon, Aug 31, 2009 at 10:41 AM, Javi Roman<javiroman@kernel-labs.org> 
wrote:
> > On Mon, Aug 31, 2009 at 5:22 PM, Michael 'Mickey'
> >
> > Lauer<mickey@vanille-media.de> wrote:
> >> On Monday 31 August 2009 16:16:10 Javi Roman wrote:
> >>> I've been unable to build minimal.conf distro for an ARM architecture
> >>> (more precisely for Beagleboard platform), at this point I would like
> >>> ask two questions:
> >>>
> >>> 1. Is it minimal.conf distro ready to build on ARM architectures right
> >>> now?
> >>
> >> Yes. How exactly does it fail for you?
> >
> > /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc
> >-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi/
> >./gcc/xgcc
> > -B/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/g
> >cc-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueab
> >i/./gcc/ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
> > -isystem/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/staging/armv7a-oe-linux-
> >gnueabi/usr/include
> > -B/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnue
> >abi/bin/
> > -B/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnue
> >abi/lib/ -isystem
> > /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueab
> >i/include -isystem
> > /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/cross/armv7a/arm-oe-linux-gnueab
> >i/sys-include -O2 -g -Os -DIN_GCC -DCROSS_COMPILE   -W -Wall
> > -Wwrite-strings
> > -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
> > -isystem ./include  -I. -I.
> > -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/g
> >cc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc
> > -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/g
> >cc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/.
> > -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/g
> >cc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/../include
> > -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/g
> >cc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/../libcpp/include
> > -I/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/g
> >cc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/../libdecnumber
> > -I../libdecnumber  -g0 -finhibit-size-directive -fno-inline-functions
> > -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder
> > -Dinhibit_libc  -fPIC \
> >          -c
> > /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc
> >-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c -DCRT_END -DCRTSTUFFS_O
> > \
> >          -o crtendS.o
> > /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc
> >-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1: error: bad value
> > (cortex-a8) for -mtune= switch
> > /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc
> >-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1: error: bad value
> > (armv7-a) for -march= switch
> > /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc
> >-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1: error: invalid
> > floating point option:
> > -mfpu=neon/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-g
> >nueabi/gcc-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1: error: bad
> > value (cortex-a8) for -mtune= switch
> > /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc
> >-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1: error: bad value
> > (armv7-a) for -march= switch
> > /builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gcc
> >-cross-initial-4.2.4-r8.1/gcc-4.2.4/gcc/crtstuff.c:1: error: invalid
> > floating point option: -mfpu=neon
> > make[2]: *** [crtbeginT.o] Error 1
> > make[2]: *** [crtendS.o] Error 1
> > make[2]: *** [crtbeginS.o] Error 1
> > make[2]: Leaving directory
> > `/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gc
> >c-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi
> >/gcc' make[1]: *** [all-gcc] Error 2
> > make[1]: Leaving directory
> > `/builds/ASV1-BEAGLEBOARD.REVB6/build/tmp/work/armv7a-oe-linux-gnueabi/gc
> >c-cross-initial-4.2.4-r8.1/gcc-4.2.4/build.i686-linux.arm-oe-linux-gnueabi
> >' make: *** [all] Error 2
> > FATAL: oe_runmake failed
> >
> >
> > I've thought, before to try to find out the problem, if the tuning of
> > minimal distro for ARM architecutes would be the Angstrom
> > distribution.
>
> the problem is that the compiler being used it old for armv7 support.
> Try using gcc 4.4.1
> something like
>
> PREFERRED_GCC_VERSION_local                     = "4.4.1"

Ah, cool. If it's just that, then we should bump a couple of toolchain 
versions.

Thanks,

:M:




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

* Re: DISTRO minimal.conf for ARM architectures
  2009-08-31 17:47     ` Philip Balister
@ 2009-08-31 19:12       ` Javi Roman
  0 siblings, 0 replies; 9+ messages in thread
From: Javi Roman @ 2009-08-31 19:12 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Aug 31, 2009 at 7:47 PM, Philip Balister<philip@balister.org> wrote:
> Javi Roman wrote:
>>
>> On Mon, Aug 31, 2009 at 5:22 PM, Michael 'Mickey'
>> Lauer<mickey@vanille-media.de> wrote:
>> By the way, I'm trying to use the minimal distro for Beagleboard,
>> instead of Angstron, because of I have thought minimal distro is a
>> good point of start a fresh (o vanilla) basic distribution, and
>> Angstron is a more complete and cutting edge distribution for
>> Beagleboard platform (as Koen has told me).
>
> I think you are confusing choice of DISTRO and choice of image.You can
> create vanilla images with Angstrom.
>
> We really need to put something on the wiki explaining what DISTRO means in
> the OE context.
>

Oh, no, I understand the meaning of a DISTRO (I guess). The point here
is I was looking for a DISTRO, a base DISTRO (or generic distro,
better than "minimal") for a set of different boards that I have (ARM,
PPC, MIPS, x86) .

I have built a minimal.conf distro for ALIX board, and I would like to
build the same distro (I'm not talking about the final image) for a
Beagle board (for example), with the same eglibc, gcc, ... and so
forth. I'm talking about a base line distro.

It is possible that minimal.conf distro is not for I am using, I mean
is not a generic distro at all. I'm a little bit confused about it.


-- 
Javi Roman
Sent from Madrid, Spain



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

end of thread, other threads:[~2009-08-31 19:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-31 14:16 DISTRO minimal.conf for ARM architectures Javi Roman
2009-08-31 15:19 ` Koen Kooi
2009-08-31 15:22 ` Michael 'Mickey' Lauer
2009-08-31 17:41   ` Javi Roman
2009-08-31 17:47     ` Philip Balister
2009-08-31 19:12       ` Javi Roman
2009-08-31 17:58     ` Michael 'Mickey' Lauer
2009-08-31 18:52     ` Khem Raj
2009-08-31 19:01       ` Michael 'Mickey' Lauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.