On 11.05.2012 22:36, David Rowe wrote:

> + available in a $100 open hw/open sw box that sits between the Mic/Spkr
> of any FM (VHF) or SSB (HF) radio (say Raspberry Pi based)

I just tried compiling codec2 on a Raspberry Pi. I also gave cross 
compiling for Windows a try.

Raspberry Pi uses the "official" debian release: Linux raspberrypi 
3.1.9+ #90 Wed Apr 18 18:23:05 BST 2012 armv6l GNU/Linux

Windows crosscompile was done this way on Ubuntu 12.04:
> export ac_cv_func_malloc_0_nonnull=yes
> ./configure --host=i686-w64-mingw32 --enable-static --disable-shared
> make

It seems codec2 runs fine on armv6l - but BCM2835 SoC is too slow for 
realtime operation.

BTW - The windows version of fdmdv_demod crashes whenever I run it on my 
Win7 VM. The other programs run fine on Windows OS.

Here my performance measurements for Codec2 on Raspberry Pi:
c2enc 1400 hts1a.raw hts1a.c2
real    0m2.286s

fdmdv_mod hts1a.c2 hts1a_mod.raw
real    0m1.398s

fdmdv_demod hts1a_mod.raw hts1a_demod.c2
real    0m5.209s

c2dec 1400 hts1a_demod.c2 hts1a_demod.raw
real    0m2.278s

If you are interested in the binaries:
http://andreas-weller.de/download/c2-win32.7z
http://andreas-weller.de/download/c2-rpi.7z
Maybe someone with a rooted Android and ARM6 CPU may try the raspberry 
pi binaries.


Regards,
   Andreas

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to