Eric Blossom schrieb: > On Tue, Mar 30, 2010 at 12:05:25PM +0200, Stefan Fehrle wrote: >> >> Eric Blossom schrieb: >> > On Tue, Mar 30, 2010 at 08:38:08AM +0200, Stefan Fehrle wrote: >> >> >> >> I wanted to build the USRP2 firmware to enable the testclk at J503, >> but >> >> I >> >> have some errors. I download the source with the command "git clone >> >> git://gnuradio.org/gnuradio >> >> " and the mb-gcc from http://gnuradio.org/tools/ >> >> >> >> Then I execute the commands "./bootstrap" and "./configure.gnu >> >> MB_GCC=/usr/local/bin/microblaze/bin/mb-gcc". I have no errors or >> >> warnings. Then I execute the command "make" and I have the following >> >> errors: >> > >> > If you're building from the firmware directory you must use: >> > >> > # If in firmware directory >> > ./boostrap && ./configure.gnu >> > >> > This will get you the correct compiler. >> > >> > If you build the host code and the firmware from the top of the build, >> > you only need to do >> > >> > # If at top of build tree >> > ./bootstrap && ./configure >> > >> >> r...@thinkpad-kubuntu:/usr/local/src/gnuradio/usrp2/firmware# make >> >> make all-recursive >> >> make[1]: Entering directory `/usr/local/src/gnuradio/usrp2/firmware' >> >> Making all in config >> >> make[2]: Entering directory >> >> `/usr/local/src/gnuradio/usrp2/firmware/config' >> >> make[2]: Nothing to be done for `all'. >> >> make[2]: Leaving directory >> >> `/usr/local/src/gnuradio/usrp2/firmware/config' >> >> Making all in include >> >> make[2]: Entering directory >> >> `/usr/local/src/gnuradio/usrp2/firmware/include' >> >> make[2]: Nothing to be done for `all'. >> >> make[2]: Leaving directory >> >> `/usr/local/src/gnuradio/usrp2/firmware/include' >> >> Making all in lib >> >> make[2]: Entering directory >> `/usr/local/src/gnuradio/usrp2/firmware/lib' >> >> gcc -DHAVE_CONFIG_H -I. -I.. -DHAL_IO_USES_UART -I../include >> -I../lib >> >> --std=gnu99 -Wall -Werror-implicit-function-declaration -mxl-soft-div >> >> -msoft-float -mxl-soft-mul -mxl-barrel-shift -O2 -MT abort.o -MD -MP >> -MF >> >> .deps/abort.Tpo -c -o abort.o abort.c >> >> cc1: error: unrecognized command line option "-mxl-soft-div" >> >> cc1: error: unrecognized command line option "-mxl-soft-mul" >> >> cc1: error: unrecognized command line option "-mxl-barrel-shift" >> >> make[2]: *** [abort.o] Error 1 >> >> make[2]: Leaving directory >> `/usr/local/src/gnuradio/usrp2/firmware/lib' >> >> make[1]: *** [all-recursive] Error 1 >> >> make[1]: Leaving directory `/usr/local/src/gnuradio/usrp2/firmware' >> >> make: *** [all] Error 2 >> >> r...@thinkpad-kubuntu:/usr/local/src/gnuradio/usrp2/firmware# >> >> >> >> >> >> I use Kubuntu 9.04 >> >> >> > > >> I did this but it dosen't solve the problem of executing the command >> "make" > > Sorry, try this: > > $ export PATH=/usr/local/bin/microblaze/bin:$PATH > $ ./bootstrap && ./configure.gnu > $ make > > Eric > >
Now I can build the firmware. When I copy "txrx.bin" from the subfolder apps to the sd-card. I can't connect to the USRP2. The led e and f burns. The GNU Radio Companion (GRC) stops the program with the error message "RuntimeError: No USRPs found on interface eth1". When I copy "txrx.bin" from http://gnuradio.org/releases/usrp2-bin/release/ on the same sd-card I have no errors and the programm runs perfect. Where did I make the misatke? _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio