discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Building on ODroid C2 running CentOS 7 report.


From: Sid Boyce
Subject: Re: [Discuss-gnuradio] Building on ODroid C2 running CentOS 7 report.
Date: Thu, 28 Apr 2016 17:42:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

I haven't yet tried on the -C2 but I have built gnuradio on the ODROID-X and ODROID-U3.

I found you need at least 4GB of swap or it silently dies during the build.
73 ... Sid.

On 28/04/16 17:19, Marcus Müller wrote:
Dear Owen,

I'd say the fact that you quickly eat up all your RAM is the best
indication for it possibly being a good idea to cross-build for the
Odroid on a PC. I've never actually did a cross-compilation for CentOS
or Fedora packages (just for the same architecture), but that might just
be the way to go: Get a .spec file for GNU Radio on x86_64, adjust it as
necessary, and use it to build stuff for the C2. As said, I've never
done this myself, though.

Best regards,
Marcus

On 04/28/2016 06:13 PM, Lamar Owen wrote:
I have been successful in getting CentOS 7 onto an ODroid C2.  This is
the AArch64 version; armv8, 64-bit.

I did run into a bug in build-gnuradio, however.  The logic that
determines the release number for CentOS/RHEL/SL 6 is flawed.  The
logic looks for the pattern '*elease*6*' in /etc/redhat-release;
however, on the CentOS 7 AArch64 version, here's what is in that file:
address@hidden ~]$ cat /etc/redhat-release
CentOS Linux release 7.2.1603 (AltArch)
address@hidden ~]$

This incorrectly drives the script to try the prereqs for
CentOS/RHEL//SL 6 instead of 7.  Changing the test to '*elease*6.*'
fixes it.

I don't quite have a full GUI build of GNURadio yet since I've been
hand-building the EPEL dependencies one by one, and now I have another
list of deps to build..... (There is no EPEL for CentOS7 on any arm,
32 or 64-bit, yet).  The build, not counting GRC and a few other GUI
modules, takes over 6 and a half hours on the C2 and eats swap for
lunch (a couple of the wrapper files need >2GB of virt during the
build, and the C2 only has 2GB of RAM).

I'll give a fuller report once I have a successful GUI build, and/or
when EPEL is available for AArch64......


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]