AnsweredAssumed Answered

How can I compile without hassle blackcfin buildroot for bfin537

Question asked by sina on Feb 14, 2013
Latest reply on Feb 18, 2013 by Aaronwu


I downloaded blackfin-buildroot-2012R2-RC2.tar.bz2 from website,

I want to cross-compile toolchain and number of linux commands for my target device (bfin537).



I already downloaded the required toolchain for building the buildroot distribution this means I downloaded and extracted blackfin-toolchain-2012R2-RC2.x86_64.tar.bz2 and blackfin-toolchain-uclibc-full-2012R2-RC2.x86_64.tar.bz2 to their respective directories /opt/uClinux/...



Then I have extracted blackfin-buildroot-2012R2-RC2.tar.bz2 and inside its build directory I tried (as a root)



# make menuconfig



Then I selected following options before running make.

---> Target Architecture Blackfin

----> Target ABI (FLAT)

----> Target Architecture Variant (bf537)  

revision 0.3



[*] Install ELF shared libraries 

[*] Install FLAT shared libraries                                            

(0.3) Target CPU revision

[*] Enable compiler cache

     Toolchain type (Buildroot toolchain)  --->   customized toolchain directory for blackfin



In fact the make configuration file is attached to this mail.



I do not know why I get following error for compiling the gdbserver

configure: error: "*** Gdb does not support native target bfin-unknown-uclinux"

make[2]: *** [configure-gdb] Error 1

make[2]: Leaving directory `/home/sina/Desktop/blackfin-buildroot/output/build/gdb-6.6a-target'

make[1]: *** [all] Error 2



I have tried different configuration, the out come is different errors which I do not know how to deal



I am wondering what is wrong with my configuration that I can not compile the buildroot.