How can I build component usrp on E100?

Hi, all,

I have updated the kernel modules to 3.0.0 for my USRP E100.
UHD is successfully built and benchmark_rx_rate in
uhd/host/build/examples works.
I further installed the gnuradio according to the
usrpe1xx-FAQhttp://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ

$ git clone git://gnuradio.org/gnuradio.git
$ cd gnuradio
$ ./bootstrap
$ ./configure --disable-volk --disable-usrp2 --disable-usrp1
–disable-gr-video-sdl CFLAGS="-march=armv7-a -mtune=cortex-a8
-mfpu=neon -mfloat-abi=softfp -O3" CXXFLAGS="-march=armv7-a
-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3"
-with-qwt-incdir=/usr/include
$ make
$ make check
$ su

make install

ldconfig

Because the component usrp is skipped, when I try to run
gnuradio-examples/python/ofdm/benchmark_ofdm_tx.py
the usrp module cannot be found.
ImportError: cannot import name usrp

The results of configure are as follows.
How can I build usrp on E100?
Is that because the sdcc version is not high enough?
I see this in configuration.
“checking sdcc_version “2.8.0”… 2.8.0
Not building component usrp.”

Thanks,
Yooxi


The following GNU Radio components have been successfully configured:

config
gruel
gnuradio-core
gr-msdd6000
gr-audio
gr-atsc
gr-cvsd-vocoder
gr-gsm-fr-vocoder
gr-noaa
gr-pager
gr-radio-astronomy
gr-trellis
gnuradio-examples
gr-uhd
docs

You my now run the make command to build these components.


The following components were skipped either because you asked not
to build them or they didn’t pass configuration checks:

volk
gcell
usrp
usrp2
gr-usrp
gr-usrp2
gr-gcell
gr-comedi
gr-gpio
gr-radar-mono
gr-video-sdl
gr-wxgui
gr-qtgui
gr-sounder
gr-utils
grc
gr-shd

These components will not be built.

Configured GNU Radio release v3.4.1-47-ga01c4249 for build.

I believe usrp is the old driver for USRP1, which you don’t need since
you’re running UHD. Also, the OFDM example (and the other examples)
don’t run on UHD yet. You can try the “next” branch from git, in which
some of the examples have been ported to use UHD.

Sean

From: [email protected]n.invalid
[mailto:[email protected]n.invalid] On
Behalf Of xi yang
Sent: Wednesday, October 19, 2011 11:37 AM
To: [email protected]
Subject: [Discuss-gnuradio] How can I build component usrp on E100?

Hi, all,

I have updated the kernel modules to 3.0.0 for my USRP E100.

UHD is successfully built and benchmark_rx_rate in

uhd/host/build/examples works.

I further installed the gnuradio according to the usrpe1xx-FAQ

http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ

$ git clone
git://gnuradio.org/gnuradio.githttp://gnuradio.org/gnuradio.git

$ cd gnuradio

$ ./bootstrap

$ ./configure --disable-volk --disable-usrp2 --disable-usrp1

–disable-gr-video-sdl CFLAGS="-march=armv7-a -mtune=cortex-a8

-mfpu=neon -mfloat-abi=softfp -O3" CXXFLAGS="-march=armv7-a

-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3"

-with-qwt-incdir=/usr/include

$ make

$ make check

$ su

make install

ldconfig

Because the component usrp is skipped, when I try to run

gnuradio-examples/python/ofdm/benchmark_ofdm_tx.py

the usrp module cannot be found.
ImportError: cannot import name usrp

The results of configure are as follows.

How can I build usrp on E100?
Is that because the sdcc version is not high enough?
I see this in configuration.
“checking sdcc_version “2.8.0”… 2.8.0
Not building component usrp.”

Thanks,

Yooxi


The following GNU Radio components have been successfully configured:

config

gruel

gnuradio-core

gr-msdd6000

gr-audio

gr-atsc

gr-cvsd-vocoder

gr-gsm-fr-vocoder

gr-noaa

gr-pager

gr-radio-astronomy

gr-trellis

gnuradio-examples

gr-uhd

docs

You my now run the make command to build these components.


The following components were skipped either because you asked not

to build them or they didn’t pass configuration checks:

volk

gcell

usrp

usrp2

gr-usrp

gr-usrp2

gr-gcell

gr-comedi

gr-gpio

gr-radar-mono

gr-video-sdl

gr-wxgui

gr-qtgui

gr-sounder

gr-utils

grc

gr-shd

These components will not be built.

Configured GNU Radio release v3.4.1-47-ga01c4249 for build.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs