Hello,
I’m a newbie struggling with the new usrp2 to work…
From the FAQ on the gnuradio.org, I found that I have to update the
image on the SD card. But I have two problems (actually more, but first
things first.)
- As http://gnuradio.org/trac/wiki/USRP2UserFAQ says,
'# Build the firmware by running make in the gnuradio/usrp2 directory
',
but my ubuntu 8.10 does not compile anything showing messages as below:
root@ece-Xnote:/home/ece/gnuradio/usrp2# make
Making all in host
make[1]: Entering directory /home/ece/gnuradio/usrp2/host' Making all in include make[2]: Entering directory
/home/ece/gnuradio/usrp2/host/include’
Making all in usrp2
make[3]: Entering directory
/home/ece/gnuradio/usrp2/host/include/usrp2' make[3]: Nothing to be done for
all’.
…
make[3]: Entering directory /home/ece/gnuradio/usrp2/firmware' make[3]: Nothing to be done for
all-am’.
make[3]: Leaving directory /home/ece/gnuradio/usrp2/firmware' make[2]: Leaving directory
/home/ece/gnuradio/usrp2/firmware’
make[1]: Leaving directory /home/ece/gnuradio/usrp2/firmware' make[1]: Entering directory
/home/ece/gnuradio/usrp2’
make[1]: Nothing to be done for all-am'. make[1]: Leaving directory
/home/ece/gnuradio/usrp2’
This is my first problem.
So, I downloaded the binary images from
http://gnuradio.org/releases/usrp2-bin/trunk/,
and ran
sudo u2_flash_tool --dev=/dev/sg3 -t s/w usrp2/firmware/txrx.bin -w
(my computer showed /dev/sg3 as the Flash Reader)
BUT, it showed the message below:
ece@ece-Xnote:~/gnuradio/usrp2/firmware$ sudo ./u2_flash_tool
–dev=/dev/sg3 -t s/w ./txrx.bin -w
Traceback (most recent call last):
File “./u2_flash_tool”, line 111, in
main()
File “./u2_flash_tool”, line 97, in main
r = (write_flash(offset, filename, options.dev)
File “./u2_flash_tool”, line 24, in write_flash
dev.seek(offset, 0) # seek to absolute byte offset
IOError: [Errno 29] Illegal seek
I guess I’m stuck somewhere in gnuradio 3.1.13 or ubuntu8.10, have no
idea what to do…
Definitely need some help to start.
Thanks for your help, in advance