Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 27-04-2012, 04:53   #1
Registered User

Join Date: Apr 2012
Posts: 59
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, 05:53   #2
Registered User
 
Tristan's Avatar

Join Date: Aug 2006
Location: Cruising
Boat: Custom Ketch Asperida
Posts: 230
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, 05:55   #3
Registered User

Join Date: Apr 2012
Posts: 59
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, 05:58   #4
Registered User
 
Cavalier's Avatar

Join Date: Dec 2010
Location: Houston, TX
Boat: Beneteau 461 47'
Posts: 927
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 offline   Reply With Quote
Old 27-04-2012, 22:10   #5
Registered User

Join Date: Mar 2010
Location: Svanesund, Orust, Sweden
Boat: Forgus 31
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 27-04-2012, 23:41   #6
cruiser

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

http://www.cruisersforum.com/forums/...arm-74082.html

Index of /ticki
conachair is offline   Reply With Quote
Old 28-04-2012, 00:18   #7
Registered User

Join Date: Mar 2010
Location: Svanesund, Orust, Sweden
Boat: Forgus 31
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


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


Advertise Here


All times are GMT -7. The time now is 08:42.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.