Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Cross Toolchain support for blackfin
       [not found] <4BF6B272.595C.0012.0@lntsec.com>
@ 2010-05-21 11:07 ` Peter Korsgaard
  2010-05-21 11:34   ` Joachim Pihl
  2010-05-21 12:47   ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Korsgaard @ 2010-05-21 11:07 UTC (permalink / raw)
  To: buildroot

>>>>> "TarunJain" == TarunJain SM <TarunJain.SM@lntsec.com> writes:

 TarunJain> Hi,

Please send mails to the buildroot list, and not directly to me.

 TarunJain>  I am planning to build a cross tool chain for blackfin
 TarunJain> processor, for which i have download the latest available
 TarunJain> "buildroot-2010.02.tar.gz" in which i was unable to find the
 TarunJain> target architecture for blackfin, please guide me to the
 TarunJain> same.

Sorry, we don't have any blackfin support in Buildroot.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Cross Toolchain support for blackfin
  2010-05-21 11:07 ` [Buildroot] Cross Toolchain support for blackfin Peter Korsgaard
@ 2010-05-21 11:34   ` Joachim Pihl
  2010-05-21 12:50     ` Thomas Petazzoni
  2010-05-21 12:47   ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Joachim Pihl @ 2010-05-21 11:34 UTC (permalink / raw)
  To: buildroot

On Fri, 21 May 2010 13:07:57 +0200, Peter Korsgaard <jacmet@sunsite.dk>  
wrote:

>>>>>> "TarunJain" == TarunJain SM <TarunJain.SM@lntsec.com> writes:
>
>  TarunJain> Hi,
>
> Please send mails to the buildroot list, and not directly to me.
>
>  TarunJain>  I am planning to build a cross tool chain for blackfin
>  TarunJain> processor, for which i have download the latest available
>  TarunJain> "buildroot-2010.02.tar.gz" in which i was unable to find the
>  TarunJain> target architecture for blackfin, please guide me to the
>  TarunJain> same.
>
> Sorry, we don't have any blackfin support in Buildroot.
>

I think the Blackfin toolchain as delivered by Analog Devices is based on  
(an old) Buildroot, maybe you should contact them to try and merge their  
efforts into the mainline?

-- 
Joachim Pihl
Senior R&D Engineer
Nevion

Tel: +47 33 48 94 66
Fax: +47 33 48 99 98
Mobile: +47 91 33 98 91
jpihl at nevion.com
www.nevion.com

-----------------------------------
The Global Video Transport Leader
-----------------------------------

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

* [Buildroot] Cross Toolchain support for blackfin
  2010-05-21 11:07 ` [Buildroot] Cross Toolchain support for blackfin Peter Korsgaard
  2010-05-21 11:34   ` Joachim Pihl
@ 2010-05-21 12:47   ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-05-21 12:47 UTC (permalink / raw)
  To: buildroot

On Fri, 21 May 2010 13:07:57 +0200
Peter Korsgaard <jacmet@sunsite.dk> wrote:

>  TarunJain>  I am planning to build a cross tool chain for blackfin
>  TarunJain> processor, for which i have download the latest available
>  TarunJain> "buildroot-2010.02.tar.gz" in which i was unable to find
>  TarunJain> the target architecture for blackfin, please guide me to
>  TarunJain> the same.
> 
> Sorry, we don't have any blackfin support in Buildroot.

Well, in fact I have a beginning of something working here :

 * I've added very basic support for Blackfin in Crosstool-NG.
   Crosstool-NG is therefore able to generate a cross-compilation
   toolchain for Blackfin (FDPIC ELF binary format). The support is
   very, very basic and there are certainly some issues. This feature
   is available in Crosstool-NG 1.7.0.

 * I have made some very basic modification to Buildroot, and I'm able
   to generate a root filesystem for Blackfin with just Busybox (I
   haven't tried other packages at the moment). If you're interested in
   this basic beginning, let me know and I'll clean it up. However, be
   ready for some deep troubles : Blackfin support in CT-NG and
   Buildroot is really in pre-alpha-horribly-untested-buggy-stage.

For now, it only works with Busybox compiled statically, but the
filesystem boots on a real Blackfin platform. For some reason, dynamic
libraries do not work (dynamically-linked programs simply exit, without
any error message and I didn't had the time to investigate).

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] Cross Toolchain support for blackfin
  2010-05-21 11:34   ` Joachim Pihl
@ 2010-05-21 12:50     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-05-21 12:50 UTC (permalink / raw)
  To: buildroot

On Fri, 21 May 2010 13:34:57 +0200
Joachim Pihl <jpihl@nevion.com> wrote:

> On Fri, 21 May 2010 13:07:57 +0200, Peter Korsgaard
> <jacmet@sunsite.dk> wrote:
> 
> >>>>>> "TarunJain" == TarunJain SM <TarunJain.SM@lntsec.com> writes:
> >
> >  TarunJain> Hi,
> >
> > Please send mails to the buildroot list, and not directly to me.
> >
> >  TarunJain>  I am planning to build a cross tool chain for blackfin
> >  TarunJain> processor, for which i have download the latest
> >  TarunJain> available "buildroot-2010.02.tar.gz" in which i was
> >  TarunJain> unable to find the target architecture for blackfin,
> >  TarunJain> please guide me to the same.
> >
> > Sorry, we don't have any blackfin support in Buildroot.
> >
> 
> I think the Blackfin toolchain as delivered by Analog Devices is
> based on (an old) Buildroot, maybe you should contact them to try and
> merge their efforts into the mainline?

I don't know how they did in the past, but these days, they use a
custom toolchain build script, documented at
http://docs.blackfin.uclinux.org/doku.php?id=toolchain:buildscript and
available at
http://blackfin.uclinux.org/git/?p=readonly-mirrors/toolchain.git;a=tree;f=buildscript;h=7ff71182924c2a2fc05553bc897c0bd4d53c7349;hb=HEAD.

The toolchains I got from them are not compiled with sysroot support so
they unfortunately can't be used as external toolchains in Buildroot
(which is why I started adding support for Blackfin in CT-NG). However,
their toolchains are higly multilib, something that CT-NG isn't capable
of doing at the moment.

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2010-05-21 12:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4BF6B272.595C.0012.0@lntsec.com>
2010-05-21 11:07 ` [Buildroot] Cross Toolchain support for blackfin Peter Korsgaard
2010-05-21 11:34   ` Joachim Pihl
2010-05-21 12:50     ` Thomas Petazzoni
2010-05-21 12:47   ` Thomas Petazzoni

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