compile rtlsdr running from snakeos

335 views
Skip to first unread message

ekow

unread,
Dec 2, 2012, 9:19:51 PM12/2/12
to dealextr...@googlegroups.com
I just buy this cheap NAS, and running snakeOS
http://code.google.com/p/snake-os/
I want to running rtlsdr (http://sdr.osmocom.org/trac/wiki/rtl-sdr )
with this nas.
Is it posible ?
how to compile the rtlsdr to run from snake os ?
# uname -a
Linux snake 2.6.16-gazineu #2 Wed Oct 19 23:34:21 CEST 2011 armv4l GNU/Linux

regards,
eko

littlenibble

unread,
Dec 28, 2012, 7:50:11 AM12/28/12
to dealextr...@googlegroups.com
+1

Stefan Scheffler

unread,
Dec 28, 2012, 2:07:57 PM12/28/12
to dealextr...@googlegroups.com

What's that good for?

Is this cpu heavy? The cpu has no fpu so doing anything involving
floating point math will be slow.

They use autotools, so cross compiling should involve:
export PATH=<snake-sdk>/tools/tools/arm-uclibc-3.4.6/bin/:$PATH
./configure --target=arm-linux (+ flags for locating libusb)
make

I could give it a try. but won't be able to test it.

Is gnuradio needed?




Am Fri, 28 Dec 2012 04:50:11 -0800 (PST)
schrieb littlenibble <mor...@fale.com>:

ekow

unread,
Dec 28, 2012, 3:25:36 PM12/28/12
to dealextr...@googlegroups.com
On Sat, Dec 29, 2012 at 2:07 AM, Stefan Scheffler
<stefans...@gmx.net> wrote:
>
> What's that good for?
>
> Is this cpu heavy? The cpu has no fpu so doing anything involving
> floating point math will be slow.
>
I think it's not cpu heavy.
I'll use rtlsdr justo tu get the IQ data from RTL dongle,
then stream the data to another pc.

> They use autotools, so cross compiling should involve:
> export PATH=<snake-sdk>/tools/tools/arm-uclibc-3.4.6/bin/:$PATH
> ./configure --target=arm-linux (+ flags for locating libusb)
> make
>
> I could give it a try. but won't be able to test it.
>
> Is gnuradio needed?
>
Please give it a try.
It does not need GNU Radio
>
>
>
> Am Fri, 28 Dec 2012 04:50:11 -0800 (PST)
> schrieb littlenibble <mor...@fale.com>:
>
>> +1
>>
>>
>> Em segunda-feira, 3 de dezembro de 2012 00h19min51s UTC-2, Eko W
>> escreveu:
>> >
>> > I just buy this cheap NAS, and running snakeOS
>> > http://code.google.com/p/snake-os/
>> > I want to running rtlsdr (http://sdr.osmocom.org/trac/wiki/rtl-sdr
>> > ) with this nas.
>> > Is it posible ?
>> > how to compile the rtlsdr to run from snake os ?
>> > # uname -a
>> > Linux snake 2.6.16-gazineu #2 Wed Oct 19 23:34:21 CEST 2011 armv4l
>> > GNU/Linux
>> >
>> > regards,
>> > eko
>> >
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Snake OS mail list": http://groups.google.com/group/dealextreme-nas-?hl=en
>
> Snake OS website is here: http://code.google.com/p/snake-os/

Stefan Scheffler

unread,
Dec 28, 2012, 8:07:54 PM12/28/12
to dealextr...@googlegroups.com

Whoops .. make that --host=arm-linux not --target

Am Fri, 28 Dec 2012 20:07:57 +0100
schrieb Stefan Scheffler <stefans...@gmx.net>:

Stefan Scheffler

unread,
Dec 28, 2012, 8:25:53 PM12/28/12
to dealextr...@googlegroups.com

Ok.. try these:

http://code.google.com/p/snake-os/downloads/detail?name=rtl_sdr.tar.gz

I had to add a workaround because our libm lacks round(). The changes
are attached. It's not really the proper way to do that but it works.


Am Sat, 29 Dec 2012 03:25:36 +0700
schrieb ekow <smud...@gmail.com>:
rtl-sdr-no-round.diff

littlenibble

unread,
Dec 31, 2012, 8:46:58 AM12/31/12
to dealextr...@googlegroups.com
Worked with the RTL dongle?

How to install the compiled rtl_tcp ?

Tkx!

littlenibble

unread,
Dec 31, 2012, 9:01:08 AM12/31/12
to dealextr...@googlegroups.com
What about a opk package?

littlenibble

unread,
Dec 31, 2012, 11:05:34 AM12/31/12
to dealextr...@googlegroups.com
Just realized that we need the driver also.


Thanks for the support and patience,



Em sexta-feira, 28 de dezembro de 2012 23h25min53s UTC-2, stscheff escreveu:

littlenibble

unread,
Jan 1, 2013, 4:41:59 PM1/1/13
to dealextr...@googlegroups.com
Myself replying: yes, it worked, but lacks the driver. Just run with ./rtl_tcp


Thanks.

Em segunda-feira, 31 de dezembro de 2012 11h46min58s UTC-2, littlenibble escreveu:

Stefan Scheffler

unread,
Jan 2, 2013, 4:12:59 PM1/2/13
to dealextr...@googlegroups.com

Ouch.. getting a recent diver to work on our kernel could get
interesting..

Are you sure that it's needed? Rtl-sdr seems to talk directly to the
device.


Am Tue, 1 Jan 2013 13:41:59 -0800 (PST)

littlenibble

unread,
Jan 2, 2013, 8:49:00 PM1/2/13
to dealextr...@googlegroups.com
Dear stscheff,

You are right. No driver needed. 

It is working. Nice as a proof of concept! A bit unstable. I will keep trying.

Very good for remote scanning some frequencies, since the SDR-Radio (actually a cheap DVB Dongle and the SnakeOs server) can be installed in the roof and the i/q packages routed via LAN to the SDR# (SDR Sharp - freeware/open source) SDR player.

Very good, cheap and efective solution.

Thanks for your contribution!

ekow

unread,
Jan 10, 2013, 9:56:34 PM1/10/13
to dealextr...@googlegroups.com
Thanks Stefan for compiling rtl_sdr.
I just try the rtl_adsb,
it's worked and show AVR format decoded data.
now i want to redirect the data to another PC using nc -l -p 12345
but i think the nc program is not compiled to work as server,
it's only work as client.

Stefan Scheffler

unread,
Jan 11, 2013, 9:17:42 PM1/11/13
to dealextr...@googlegroups.com

I bought one of those sticks too now. So I got to play with this a bit.
I was kinda curious what the DVB-T reception is like around here
(pretty bad.. at least with the included antenna).

Do you specifically need netcat? I could build a binary for it if
needed. It's probably in the debian chroot too.

You could also abuse ssh. Doing something like this will connect to
snake, run rtl_adsb and send the output to a file.

ssh -t root@ip-of-snake "/usb/sda1/rtl/rtl_adsb" > adsbdata

If you use a public key encryption you wouldn't even need a password.

Am Fri, 11 Jan 2013 09:56:34 +0700
schrieb ekow <smud...@gmail.com>:

littlenibble

unread,
May 18, 2013, 4:06:50 PM5/18/13
to dealextr...@googlegroups.com
Nice.

Can you compile it to be compatible with the router WR703N running OpenWRT please?

Thanks!


Em segunda-feira, 3 de dezembro de 2012 00h19min51s UTC-2, Eko W escreveu:

Mendelson Gusmão

unread,
Sep 16, 2013, 11:49:09 PM9/16/13
to dealextr...@googlegroups.com
I just began doing some experiments with SDR (mostly with ADS-B using dump1090). I'm planning to try to compile dump1090 for SnakeOS. So far it's just an idea but I'd like to get some considerations from more experienced devs before trying...

Regards,

Reply all
Reply to author
Forward
0 new messages