John Melton G0ORX/N6LYT

Tuesday, July 31, 2012

Multiple Raspberry Pi and ghpsdr3 working

I now have two Raspberry Pi systems and I have installed Raspbian "wheezy" image which supports hardware floating point.

Both are running without any keyboard/mouse or display connected and I am running an ssh session to both from my development machine.

I have One Raspberry Pi running the server code and a second running the dspserver code.  Both were built (along with DttSP) using the hardware floating point.

The one running the server code is using about 35% of the cpu and the one running the dspserver is running about 78% (rising to 95% if the sub receiver is enabled) with a client connected.

Both QtRadio, jMonitor and the Android client were run with no obvious audio or spectrum display problems.

To build the server and the dspserver on the Raspberry Pi systems I installed the following packages:

    sudo apt-get install subversion libfftw3-dev libusb-1.0.0-dev

I then used subversion to download the source code from the svn store.

I also changed the Makefiles CFLAGS to generate code to use the hardware floating point:

    -march=armv6 -mfpu=vfp -mfloat-abi=hard

There was no problem compiling either the server, dspserver or DttSP.

You can see the setup below.  Just Mercury and Metis on the Atlas Bus for this test, the two Raspberry Pi devices (in small black cases) and an Ethernet hub to connect all the devices together to my LAN.


At 2 August 2012 at 17:35 , Blogger Tony Abbey said...

Hi John
I've downloaded svn to my RPi and followed the link on ghpsdr3 to get the source code which ended with the message "Checked out revision 2417", so I guess that worked OK. Now as a bit of a newbie to linux repositories etc, what do I do to edit the makefiles as you suggest, and compile/run the code? I see Sid et al are also chasing you.
Tony G3OVH

At 2 August 2012 at 19:39 , Blogger John said...

Hi Tony,

I have added Makefile.rpi to the DttSP, server and dspserver directories on the svn. If you run 'svn update' in the ghpsdr3/src directory it should add in the 3 Makefiles. Then you can run 'make -f Makefile.rpi' in each of the directories (DttSP before dspserver) and it should build the binaries for you.

-- John

At 3 August 2012 at 20:30 , Blogger Tony Abbey said...

Hi John

Thanks for the advice. I'm afraid I cant try out your code any more because I seem to have bricked my Pi. I have been posting on the RaspberryPi.org website about "Kernel Panic" but havn't found a solution yet.


At 3 August 2012 at 23:51 , Blogger Tony Abbey said...

Hi John

Managed to unbrick my RPi by reflashing the SD card - must have got some spurious writes to it. Followed your instructions again and was able to compile the code OK, although with a lot of warnings in dspserver - thank you. i was hoping to listen with dspserver to the server ip addresses that I can receive on my Android machine rather than set up my own, but I am getting a connection timeput error and no graphical display. Perhaps I need a bit more guidance on how to use the binaries.


At 8 November 2014 at 02:30 , Blogger oakleyses said...

louis vuitton, michael kors outlet, coach purses, michael kors outlet, tory burch outlet, nike shoes, kate spade outlet, michael kors outlet, polo ralph lauren outlet, prada handbags, louboutin outlet, oakley sunglasses cheap, longchamp handbags, oakley sunglasses, longchamp outlet, true religion jeans, coach outlet, michael kors outlet, oakley sunglasses, michael kors outlet, air max, polo ralph lauren outlet, true religion jeans, longchamp handbags, gucci outlet, louboutin, jordan shoes, tiffany and co, burberry outlet, prada outlet, louis vuitton handbags, louboutin, tiffany and co, ray ban sunglasses, louis vuitton outlet, louis vuitton outlet, ray ban sunglasses, burberry outlet, christian louboutin shoes, michael kors outlet, kate spade handbags, coach factory outlet, louis vuitton outlet stores, coach outlet store online, chanel handbags, air max, nike free

At 8 November 2014 at 02:31 , Blogger oakleyses said...

sac louis vuitton, sac louis vuitton, mulberry, air max pas cher, michael kors pas cher, louis vuitton uk, michael kors, polo lacoste, sac hermes, nike tn, longchamp, converse pas cher, nike free, nike trainers, oakley pas cher, nike roshe run, hollister, ray ban pas cher, polo ralph lauren, nike roshe, air jordan, ray ban sunglasses, sac longchamp, timberland, true religion outlet, vanessa bruno, barbour, vans pas cher, north face, nike free pas cher, air force, lululemon, nike air max, air max, new balance pas cher, hollister, north face, sac burberry, hogan outlet, sac guess, abercrombie and fitch, louboutin, true religion outlet, michael kors, ralph lauren, air max, louis vuitton, nike blazer

At 8 November 2014 at 02:33 , Blogger oakleyses said...

wedding dresses, herve leger, lululemon outlet, canada goose jackets, nfl jerseys, canada goose, babyliss pro, mcm handbags, canada goose, canada goose uk, ugg australia, ghd, giuseppe zanotti, longchamp, uggs outlet, ferragamo shoes, nike huarache, canada goose outlet, north face outlet, soccer jerseys, celine handbags, hollister, ugg, bottega veneta, instyler, mont blanc, valentino shoes, jimmy choo outlet, insanity workout, canada goose, marc jacobs, ugg boots, ugg boots, new balance shoes, reebok outlet, abercrombie and fitch, beats by dre, chi flat iron, asics running shoes, nike roshe run, rolex watches, mac cosmetics, soccer shoes, north face jackets, vans shoes, ugg pas cher, p90x, birkin bag

At 8 November 2014 at 02:36 , Blogger oakleyses said...

moncler, vans, air max, iphone 6 cases, converse shoes, pandora charms, timberland boots, wedding dresses, lancel, moncler, supra shoes, moncler, ray ban, parajumpers, moncler, hollister, gucci, thomas sabo, oakley, rolex watches, swarovski crystal, converse, pandora charms, karen millen, montre homme, juicy couture outlet, moncler outlet, ralph lauren, links of london, hollister clothing store, louis vuitton, pandora jewelry, hollister, baseball bats, canada goose, louboutin, air max, juicy couture outlet, swarovski, canada goose, ugg, moncler, ugg, coach outlet store online, moncler, toms shoes

At 16 December 2014 at 10:12 , Blogger Rob said...

Hi John,

I am looking at purchasing a second hand Atlas based openHDSDR system. It has OZY Matiias rather than Metis. Would this setuup work with a USB interface to the Pi?


At 6 March 2015 at 07:38 , Anonymous vagina getar dua lubang said...

thank you for some of these web articles is very impressive and qualified to compete alat bantu seksual

At 1 June 2015 at 09:44 , Blogger Taibai Li said...

huangqihang0601true religion sale
tory burch outlet online
gucci uk
ralph lauren
kate spade bags
coach outlet online
kate spade uk
chanel outlet
coach outlet store online
michael kors handbags
tory burch shoes
chanel online shop
coach outlet store online
kate spade outlet
oakley sunglasses outlet
michael kors handbags
replica watches
coach factory outlet
prada outlet
ralph lauren outlet
air max 90
gucci outlet
ray bans
michael kors outlet online
mont blanc pens
michael kors handbag
pandora jewelry
michael kors uk
michael kors
michael kors outlet online
coach outlet
oakley sunglasses sale
gucci outlet
fitflops outlet
ray ban uk
ralph lauren uk
ray ban sunglass
oakley sunglasses wholesale


Post a Comment

Subscribe to Post Comments [Atom]

<< Home