Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-09 Thread Tech
I think when I built it I used: cmake -DCMAKE_CXX_FLAGS="-mcpu=cortex-a7 -mfpu=neon-vfpv4 -mtune=cortex-a7 -funsafe-math-optimizations" ../ -Wno-dev I also had to enable swap space because the bpi doesn't have enough memory for some of the compile stages: sudo dd if=/dev/zero of=/sata/swapfile b

Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-09 Thread Arturo Rinaldi
Instead of building on the board itself, wouldn't be better to compile the source code on your working machine by exporting the toolchain compilers by means of a simple script ? 2015-01-09 22:52 GMT+01:00 Andreas Ladanyi : > > On Fri, Jan 9, 2015 at 1:37 PM, Andreas Ladanyi >> wrote: >> >>> I m

Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-09 Thread Andreas Ladanyi
On Fri, Jan 9, 2015 at 1:37 PM, Andreas Ladanyi wrote: I must correct a detail. The datasheet tells me that bananapi has a Cortex-A7. cat /proc/cpuinfo: Processor: ARMv7 Processor rev 4 (v7l) processor: 0 BogoMIPS: 1431.55 processor: 1 BogoMIPS: 1436.46 Features: sw

Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-09 Thread West, Nathan
On Fri, Jan 9, 2015 at 1:37 PM, Andreas Ladanyi wrote: > I must correct a detail. The datasheet tells me that bananapi has a > Cortex-A7. > > cat /proc/cpuinfo: > > Processor: ARMv7 Processor rev 4 (v7l) > processor: 0 > BogoMIPS: 1431.55 > > processor: 1 > BogoMIPS: 1436.46 >

Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-09 Thread Andreas Ladanyi
I must correct a detail. The datasheet tells me that bananapi has a Cortex-A7. cat /proc/cpuinfo: Processor: ARMv7 Processor rev 4 (v7l) processor: 0 BogoMIPS: 1431.55 processor: 1 BogoMIPS: 1436.46 Features: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva

[Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-09 Thread Andreas Ladanyi
Hi,   iam trying to compile GNURadio with the build-gnuradio script. Iam running a BananaPi (armv7 / cortex-a9) with the last raspian image for the Pi.   The building process showed me two error messages. One message was that cmake is below 2.8.10. So i compiled and installed the last cmake 3.1

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread Martin Braun
Was this code you wrote, or is it from gr-tutorial? M On 01/09/2015 03:59 PM, PIGUET Damien wrote: > Oh sorry I was looking at the wrong line. Now it works, thanks! > > Damien > > > On 09. 01. 15 15:42, Koslowski, Sebastian (CEL) wrote: >> * PGP Signed by an unknown key >> >> >> On 01/09/2015

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread PIGUET Damien
Oh sorry I was looking at the wrong line. Now it works, thanks! Damien On 09. 01. 15 15:42, Koslowski, Sebastian (CEL) wrote: > * PGP Signed by an unknown key > > > On 01/09/2015 03:36 PM, PIGUET Damien wrote: >> Here is my block XML: >> >> >> >> My QPSK Demodulator >> tutorial_my_qpsk

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread Koslowski, Sebastian (CEL)
On 01/09/2015 03:36 PM, PIGUET Damien wrote: > Here is my block XML: > > > >My QPSK Demodulator >tutorial_my_qpsk_demod_cb >Tutorial >import tutorial >tutorial.my_qpsk_demod_cb($Gray_code) > > Gray Code > gray_code > ... > GRC uses whatever you put in to crea

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread PIGUET Damien
Dear Sebastian, Thank you very much for your help. I checked my XML block file and it uses gray_code with lower 'g', this is why I don't understand why GRC generates a Python code with upper G. Moreover, the Pythong code generated by GRC calls the Demodulator, hence it should pass the paramet

Re: [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion

2015-01-09 Thread Koslowski, Sebastian (CEL)
On 01/09/2015 02:31 PM, PIGUET Damien wrote: > self.tutorial_my_qpsk_demod_cb_0 = > > cannot find 'Gray_code': tutorial.my_qpsk_demod_cb($Gray_code) > < Looks like your block XML should read "tutorial.my_qpsk_demod_cb($gray_code)" in the make tag. (Notice the lowe