Skip to contentSkip to conversation

Cross Toolchain support for blackfin

Buildroot Peter Korsgaard 3 participants 4 messages May 21, 2010 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"TarunJain" == TarunJain SM <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 6 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"TarunJain" == TarunJain SM <[email protected]> writes:

TarunJain> Hi,

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

Quoted 8 lines

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?

Signature · 13 lines
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
-----------------------------------
#4 lore raw
In reply to Peter Korsgaard
Quoted 7 lines · On Fri, 21 May 2010 13:07:57 +0200 Peter Korsgaard <[email protected]> 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

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw
In reply to Joachim Pihl
Quoted 15 lines · On Fri, 21 May 2010 13:34:57 +0200 Joachim Pihl <[email protected]> wrote:
Quoted 12 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"TarunJain" == TarunJain SM <[email protected]> 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.

Quoted 6 lines
Quoted 2 lines

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

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