2009-07-15 21:51:42     Compiling uClinux apps with VisualDSP

Document created by Aaronwu Employee on Aug 16, 2013
Version 1Show Document
  • View in full screen mode

2009-07-15 21:51:42     Compiling uClinux apps with VisualDSP

Patrick Doyle (UNITED STATES)

Message: 77410   

 

I know this is in the FAQ, and that the FAQ says "Visual DSP does not produce FDPIC ELFs which are required to run under Blackfin Linux. ", but sometimes FAQ answers get stale.

 

So I figured I'd ask the frequently asked question one more time, just in case the answer changed.

 

Is it possible to install the approprate libraries and header files, and set the appropriate flags (to compile FDPIC), compile an application with VisualDSP, produce an output file, and convert that output file from dxe format to ELF format?

 

If it were, I could set up a uClinux environment on the target board and teach my client how to compile uClinux applications using VisualDSP, and download them to the target.  Once he learned what was possible with the uClinux kernel, I could gradually introduce him to developing in a Linux environment.

 

Hey... it's worth a shot.

 

--wpd

QuoteReplyEditDelete

 

 

2009-07-15 22:03:43     Re: Compiling uClinux apps with VisualDSP

Mike Frysinger (UNITED STATES)

Message: 77411   

 

the FAQ is not stale

QuoteReplyEditDelete

 

 

2009-07-16 10:45:02     Re: Compiling uClinux apps with VisualDSP

Patrick Doyle (UNITED STATES)

Message: 77457    I hope you didn't mind (too much) me asking.

 

In the mean time, I noticed (on

  docs.blackfin.uclinux.org/doku.php?id=toolchain:installing)

that the toolchain itself is available for Windows and that it claims

I should be able to use it to compile Linux FDPIC applications.

 

Where could I learn more about using the toolchain in Windows?

(Incidentally, the README.txt file that is installed with the Windows

toolchain points the user to

  docs.blackfin.uclinux.org/doku.php?id=toolchain:windows, which

doesn't exist).

 

--wpd

QuoteReplyEditDelete

 

 

2009-07-16 14:07:16     Re: Compiling uClinux apps with VisualDSP

Mike Frysinger (UNITED STATES)

Message: 77470   

 

the toolchain works exactly the same regardless of OS

 

there isnt any Windows-specific documentation yet because we havent found anything worth while documenting ...

QuoteReplyEditDelete

 

 

2009-07-16 14:16:43     Re: Compiling uClinux apps with VisualDSP

Patrick Doyle (UNITED STATES)

Message: 77475    ok, thanks. I wasn't sure if a web page had moved or not.

 

Would you like me to submit a patch against the README.txt file

removing the reference to that non-existent web page?

 

Would you like me to add the page to the wiki saying that Windows

specific documentation will be presented here as soon as there is any

Windows specific documentation?

 

--wpd

QuoteReplyEditDelete

 

 

2009-07-16 14:33:58     Re: Compiling uClinux apps with VisualDSP

Mike Frysinger (UNITED STATES)

Message: 77478   

 

do you have anything that you'd like to see documented ?  otherwise, we can just add a stub page that says "No Windows-specific documentation exists.  If you have things you'd like to see documented, let us know."

QuoteReplyEditDelete

 

 

2009-07-16 15:06:52     Re: Compiling uClinux apps with VisualDSP

Patrick Doyle (UNITED STATES)

Message: 77482    I don't have anything yet, but I haven't tried using it yet.

 

No, I take that back -- I noticed the wiki page for ldr-utils said to

use bfin-uclinux-ldr, but that's not installed in Windows. Instead,

it would appear that I would have to use bfin-elf-ldr in order to load

code over the serial port. That is, if it supported the BF518, which

it says it doesn't.

 

Anyway, I'll add the stub page tonight or over the weekend.

 

--wpd

QuoteReplyEditDelete

 

 

2009-07-16 15:46:42     Re: Compiling uClinux apps with VisualDSP

Mike Frysinger (UNITED STATES)

Message: 77483   

 

the ldr utils are all the same, simply renamed.  the 2009R1 release will include the bfin-uclinux toolchain (older ones couldnt because of ld-elf2flt being written in a shell script).

 

there was no BF51x support in 2008R1.5 for any OS or any toolchain

QuoteReplyEditDelete

Attachments

    Outcomes