Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 27-04-2012, 05:53   #1
Registered User

Join Date: Apr 2012
Posts: 32
Compile for Arm processor

Hi. I am just wondering if it would be hard to compile for Arm processors. I am really interested in seeing if this could run on the Raspberry Pi. It could make a really interesting cheap, low power chart plotter. I see it is heading for Android devices so available on a Raspi would be interesting.
__________________

__________________
jimseng is offline   Reply With Quote
Old 27-04-2012, 06:53   #2
Registered User
 
Tristan's Avatar

Join Date: Aug 2006
Location: Cruising
Boat: Custom Ketch Asperida
Posts: 211
Re: Compile for Arm processor

I've tried to do it on ARM9 board running embedded Linux. Didn't succeed - one of the reasons I didn't have enough RAM (64M). Next project Alix 3D3 x86 based board also running Linux with 256M of RAM.
T.
__________________

__________________
Tristan is offline   Reply With Quote
Old 27-04-2012, 06:55   #3
Registered User

Join Date: Apr 2012
Posts: 32
Re: Compile for Arm processor

Interesting. The raspi is either Fedora or Debian and has 256 Mb. I might give it a go!
__________________
jimseng is offline   Reply With Quote
Old 27-04-2012, 06:58   #4
Head in a locker
 
Cavalier's Avatar

Cruisers Forum Supporter

Join Date: Dec 2010
Location: Houston, TX
Boat: Beneteau 461 47'
Posts: 879
Images: 1
Quote:
Originally Posted by Tristan
I've tried to do it on ARM9 board running embedded Linux. Didn't succeed - one of the reasons I didn't have enough RAM (64M). Next project Alix 3D3 x86 based board also running Linux with 256M of RAM.
T.
Good point. You really have to rethink your whole memory architecture when looking at the RaspberryPi contra a standard x86 compile - better to think more 'mobile' with your data handling too. It'd be a great project though! There are many things the RPi can be used for when it comes to developing a low cost "X"...
__________________
"By day the hot sun fermented us; and we were dizzied by the beating wind. At night we were stained by dew, and shamed into pettiness by the innumerable silences of stars."
Cavalier is online now   Reply With Quote
Old 27-04-2012, 23:10   #5
Registered User

Join Date: Mar 2010
Location: Göteborg, Sweden
Boat: Seamaster 700
Posts: 96
Send a message via Skype™ to balp
Re: Compile for Arm processor

Quote:
Originally Posted by jimseng View Post
Hi. I am just wondering if it would be hard to compile for Arm processors. I am really interested in seeing if this could run on the Raspberry Pi. It could make a really interesting cheap, low power chart plotter. I see it is heading for Android devices so available on a Raspi would be interesting.
It should be easy, how well it works in the end is an other story.

With Cmake you can make a nice toolchain file to define the cross compilers and then configure the build with.

cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-RasPI.cmake ..

The toochaoin file should contain defines for the compiler and paths. There are are few examples on CMakes wiki pages. I have no idea how RasPie cross compile chain look, what linux it uses and so on. I know they have a small weak Arm core thou, and good gfx. I'm not sure OpenCPN will run smooth on that hardware.
__________________
balp is offline   Reply With Quote
Old 28-04-2012, 00:41   #6
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,541
Re: Compile for Arm processor

OpenCPN Runs on Embedded ARM

Index of /ticki
__________________
conachair is online now   Reply With Quote
Old 28-04-2012, 01:18   #7
Registered User

Join Date: Mar 2010
Location: Göteborg, Sweden
Boat: Seamaster 700
Posts: 96
Send a message via Skype™ to balp
Re: Compile for Arm processor

The Beagle board have a much more powerful arm core that the rasberypie if i got the specs right. I have not in detail looked at the Rasbery Pi yet thou. Beagle board we used a year or two back at work.
__________________

__________________
balp is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 04:00.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.