1 |
On Mon, 2009-02-23 at 21:35 -0800, Dave N6NZ wrote: |
2 |
> A quick search of the archives shows that a few weeks ago there was a |
3 |
> question about the state of the tool chain w.r.t. being ready for the TI |
4 |
> Beagle Board, but no definitive answer. I couldn't find any more recent |
5 |
> information. Is the current ARM Cortex support sufficient? Or is |
6 |
> embedded Gentoo not ready to be played with on a Beagle? |
7 |
> |
8 |
> Quoting: |
9 |
> > If so, are the cortex-8 (aka NEON) kernel / toolchain patches yet |
10 |
> > incorporated into the portage tree? The C64x DSP ? |
11 |
> |
12 |
> Thanks, |
13 |
> Dave |
14 |
> |
15 |
|
16 |
I have cross compiled 621 packages for the beagle |
17 |
http://tinderbox.dev.gentoo.org/embedded/beagle/Packages |
18 |
cd .. ; for the binary pkgs if you want those. |
19 |
|
20 |
It all works fine using the following toolchain combo and |
21 |
"sys-devel/crossdev-wrappers". |
22 |
|
23 |
cross-armv7a-softfloat-linux-gnueabi/binutils-2.18-r4 |
24 |
cross-armv7a-softfloat-linux-gnueabi/gcc-4.3.2 |
25 |
cross-armv7a-softfloat-linux-gnueabi/glibc-2.8_p20080602 |
26 |
cross-armv7a-softfloat-linux-gnueabi/linux-headers-2.6.27-r2 |
27 |
|
28 |
# crossdev -S -t armv7a-softfloat-linux-gnueabi -g 4.3.2 -b .... |
29 |
|
30 |
|
31 |
Then copy this |
32 |
http://dev.gentoo.org/~solar/embedded/site/arm-linux-gnueabi |
33 |
Into /usr/share/crossdev/include/site/ |
34 |
|
35 |
# Edit cflags in /usr/CHOST/etc/make.conf |
36 |
CFLAGS="-Os -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon |
37 |
-mfloat-abi=softfp -fomit-frame-pointer |
38 |
-I/usr/armv7a-softfloat-linux-gnueabi/usr/include/ |
39 |
-I/usr/armv7a-softfloat-linux-gnueabi/include/" |