Wednesday, July 8, 2015

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

I use at least 4GB swap to avoid the OOM problem.
I have not timed the builds but it doesn't take an inordinate amount of
time.

I also build kernels quite happily on ODROID.

On Beaglebone White it took ~36 hours but that was just a test build of
gnuradio to see how long it took.
73 ... Sid.

On 08/07/15 13:58, Philip Balister wrote:
> On 07/08/2015 08:52 AM, Sid Boyce wrote:
>> Forgot to ask - Why cross-compile when you have something as powerful as
>> an ODROID-XU3?
>>
>> I dislike cross compiling and even built gnuradio on a Beaglebone White
>> with just the SDR card some time ago.
> It is still way faster. Also, you avoid the OOM killer that trips up so
> many people.
>
> Philip
>
>> I have 2 USB 2.5 inch hard drives on the ODROID-U3 to give me more than
>> adequate space to build all sorts.
>> Konsole output
>> root@odroidu3:~# fdisk -l
>>
>> Disk /dev/mmcblk0: 62.7 GB, 62730010624 bytes
>> 4 heads, 16 sectors/track, 1914368 cylinders, total 122519552 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Disk identifier: 0x000c4046
>>
>> Device Boot Start End Blocks Id System
>> /dev/mmcblk0p1 3072 266239 131584 6 FAT16
>> /dev/mmcblk0p2 266240 122519551 61126656 83 Linux
>>
>> Disk /dev/sda: 500.1 GB, 500107862016 bytes
>> 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Disk identifier: 0x6045b0b4
>>
>> Device Boot Start End Blocks Id System
>> /dev/sda1 * 2048 820314547 410156250 83 Linux
>> /dev/sda2 820314548 976773167 78229310 82 Linux swap /
>> Solaris
>>
>> Disk /dev/sdb: 500.1 GB, 500107862016 bytes
>> 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Disk identifier: 0x000127ef
>>
>> Device Boot Start End Blocks Id System
>> /dev/sdb1 * 2048 62916607 31457280 83 Linux
>> /dev/sdb2 62916608 972000000 454541696+ 83 Linux
>> /dev/sdb3 972000001 976773167 2386583+ 82 Linux swap /
>> Solaris
>> root@odroidu3:~#
>> 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
>>>
>>
>>
>>
>> _______________________________________________
>> 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


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

No comments:

Post a Comment