1 |
2009/7/20 Peter Stuge <peter@×××××.se> |
2 |
|
3 |
> Mike Frysinger wrote: |
4 |
> > > >> Mmm, iam using FPGA emulation board ML402 with LEON3 cpu and |
5 |
> > > >> Gaisler's IP-blocks. |
6 |
> > > > |
7 |
> > > > Gaisler has a toolchain, right? Does that work? |
8 |
> > > |
9 |
> > > Yes, gaisler toochain works fine with gaisler's Snapgear Linux. |
10 |
> > |
11 |
> > and what is their tuple exactly ? |
12 |
> |
13 |
> info: |
14 |
> |
15 |
> http://www.gaisler.com/cms/index.php?option=com_content&task=view&id=63&Itemid=31 |
16 |
> |
17 |
> downloads: |
18 |
> |
19 |
> http://www.gaisler.com/cms/index.php?option=com_content&task=view&id=160&Itemid=108 |
20 |
> ftp://gaisler.com/gaisler.com/linux/linux-2.6/toolchains/sparc-linux-3.4.4/ |
21 |
> |
22 |
> ftp://gaisler.com/gaisler.com/linux/linux-2.6/toolchains/sparc-uclinux-3.4.4/ |
23 |
> |
24 |
> I guess the tuples are simply sparc-linux and sparc-uclinux. |
25 |
> |
26 |
> |
27 |
> > do they apply custom patches ? |
28 |
> |
29 |
> Don't know, but they have just one toolchain for all targets. |
30 |
> |
31 |
> --8<-- (the first info page url up there) |
32 |
> LINUX support for LEON2 and LEON3 is provided through a special |
33 |
> version of the SnapGear Embedded Linux distribution. SnapGear Linux |
34 |
> is a full source package, containing kernel, libraries and |
35 |
> application code for rapid development of embedded Linux systems. The |
36 |
> LEON port of SnapGear supports both MMU and non-MMU LEON |
37 |
> configurations, as well as the optional V8 mul/div instructions and |
38 |
> floating-point unit (FPU). The port include symetric multi-processing |
39 |
> (SMP) support for LEON3 systems with multiple processors. A single |
40 |
> cross-compilation tool-chain is provided which is capable of |
41 |
> compiling the kernel and applications for any configuration. |
42 |
> -->8-- |
43 |
> |
44 |
> |
45 |
> > > but is there an easy way to attach their precompiled gcc and |
46 |
> > > binutils to gentoo crossbuild system? Hmm.. |
47 |
> > |
48 |
> > there isnt a "gentoo crossbuild system". you tell emerge what |
49 |
> > toolchain to use and it uses it. there is no requirement of "the |
50 |
> > toolchain must have been installed with crossdev". |
51 |
> |
52 |
> So it seems their toolchain could easily be used. |
53 |
> |
54 |
> |
55 |
> //Peter |
56 |
> |
57 |
|
58 |
O, thanks, but i know alrady about gaisler's toolchain. Compiler works well |
59 |
and generates nice sparcv8-softfloat binaries. Also i've compiled kernel |
60 |
successfully. Snapgear linux (as a whole) is #$% imho. Works bad. The |
61 |
question is - how to intergate nice compiler with emerge. I feel that it |
62 |
should be easy, but still can't catch this thing.. |
63 |
|
64 |
-- |
65 |
Thanks, |
66 |
Sergey |