2008-07-15 02:55:39     8. How to use L1 memory with bfin-uclinux-gcc in user application??

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

2008-07-15 02:55:39     8. How to use L1 memory with bfin-uclinux-gcc in user application??

Young Kyle (CHINA)

Message: 58804   

 

I read the document about <<using L1 memory>> on the website    

http://docs.blackfin.uclinux.org/doku.php?id=using_l1_memory

it only tells using bfin-linux-uclibc-gcc to compile the application

but I want to know how to use bfin-uclinux-gcc to use L1?

the problem is the file formats are different

one(bfin-linux-uclibc-gcc) is elf, the other(bfin-uclinux-gcc) is flat.

But on uclinux ,there is flat. How to change file format to make app can run on uclinux with l1?

QuoteReplyEditDelete

 

 

2008-07-15 04:38:00     Re: 8. How to use L1 memory with bfin-uclinux-gcc in user application??

Mike Frysinger (UNITED STATES)

Message: 58837   

 

you cannot use L1 attributes with FLAT.  you can use the L1 memory functions to dynamically allocate/free memory regardless of file format though.

 

bfin-linux-uclibc-gcc produces FDPIC ELF, not ELF.  that is perfectly usable under Linux on the Blackfin processor.

 

please read the documentation for more information:

http://docs.blackfin.uclinux.org/doku.php?id=toolchain:executable_file_formats

http://docs.blackfin.uclinux.org/doku.php?id=toolchain:targets

QuoteReplyEditDelete

 

 

2008-07-15 23:54:30     Re: 8. How to use L1 memory with bfin-uclinux-gcc in user application??

Young Kyle (CHINA)

Message: 58894   

 

thank you Mike!

 

Now I understand the different between them clearly

Attachments

    Outcomes