Wednesday, July 8, 2015

Re: [Discuss-gnuradio] Cross compile GNURadio on ARM in Odroid XU3

I built gnuradio on ODROID-X, -U3 a number of times after git pull to the latest and on ODROID-C1 recently. The latest version is v3.7.7.1-180-gb9bdd1ce installed June 19th.

When cmake complains I install the required packages until the setup is OK but sadly I haven't made a note of those packages.

I cloned the source.
cd gnuradio;mkdir build_linux;cd build_linux

Konsole output
gnuradio/build_linux# cmake -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/python2.7/config-arm-linux-gnueabihf/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr  -DENABLE_PY
THON=ON -DENABLE_VOLK=ON  -DENABLE_GRC=ON -DENABLE_GR_QTGUI=ON -DCMAKE_C_FLAGS="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9" -DCMAKE_ASM-ATT_FLAGS="-march=armv7-a -mthumb-inter
work -mfloat-abi=hard -mfpu=neon" ..
make -j 4 && make -j 4 install
73 ... Sid.

On 08/07/15 12:11, shaunwang wrote:
Hello Dennis    Thank you so much for giving me many information. I never seen a building  way which combines binary file and source file of GNURadio. Do you have the  website that gives all instructions?     The OpenEmbedded and PyBOMBS way is very confusing. I read this website  https://gnuradio.org/redmine/projects/gnuradio/wiki/OE_PyBOMBS. But it is  very confusing. I even cannot find all the files it talks about. You said  you had to customize some CMAKE files, but did you make it work? Could you  tell me how you exactly did it?     For getting NEON for VOLK to compile, isn't is the way to build GNURadio  from source?  I remember I used VOLK file in GNURadio source files.    Since you made it work, could you please tell me the exact details of right  way you used? Thank you so much. I think most of instructions in GNURadio  websites are painful.     Thank you very much. I will be very grateful for any help from you.     Shaun                --  View this message in context: http://gnuradio.4.n7.nabble.com/Cross-compile-GNURadio-on-ARM-in-Odroid-XU3-tp54685p54690.html  Sent from the GnuRadio mailing list archive at Nabble.com.    _______________________________________________  Discuss-gnuradio mailing list  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio    


--   Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot  Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support  Senior Staff Specialist, Cricket Coach  Microsoft Windows Free Zone - Linux used for all Computing Tasks  

No comments:

Post a Comment