Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Cross Toolchain support for blackfin
Date: Fri, 21 May 2010 14:47:42 +0200	[thread overview]
Message-ID: <20100521144742.4acbf742@surf> (raw)
In-Reply-To: <87ljbdv7g2.fsf@macbook.be.48ers.dk>

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

      parent reply	other threads:[~2010-05-21 12:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100521144742.4acbf742@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox