Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 18-05-2014, 09:54   #181
Registered User
 
it-slav's Avatar

Join Date: May 2014
Posts: 46
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by jonasaberg View Post
I hope we can still get it to work on a RPi.
For me it would be quite ok to use a different more poweful computer to make all the main planning of a route.
Then save it and load the route into a low power RPi during sailing.
A standard pc is way too powerhungry to be kept on all the time.
I hope Sean is just to occupied with the merge of the optimized code into the main branch, and can spend some time on the RPi later.

Sent from my GT-I9300 using Tapatalk
Agree, a standard PC needs to much power. A cubieboard3 is an ARM based lowconsumtion computer like the Raspberry PI but with better CPU and some more features.
However, as far as I know, the cubieboard3 do not have full Open GL so it needs similiar tweaking as the RPI to get it working with accelerated graphic.

Regards
Peter
__________________

__________________
it-slav is offline   Reply With Quote
Old 18-05-2014, 10:24   #182
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,537
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by it-slav View Post
Agree, a standard PC needs to much power. A cubieboard3 is an ARM based lowconsumtion computer like the Raspberry PI but with better CPU and some more features.
However, as far as I know, the cubieboard3 do not have full Open GL so it needs similiar tweaking as the RPI to get it working with accelerated graphic.

Regards
Peter
I got a cubietruck (cubieboard 3) last week and love it so far. Opencpn 3.2.2 is workable compiled from source with current draw around 3/400mA on the 12v side of an eBay buck converter to provide the cubie with 5.2v with the batteries around 12.6.
It's quite slow if the cm93 charts are loaded onto the internal nand memory but put them onto a SD card or ssd drive things are much better.
And it's fast enough for fldigi to decode weatherfaxes, something I could never get the Pi to do.
Great board IMHO, the poor Pi has been cast aside now.......
__________________

__________________
conachair is online now   Reply With Quote
Old 18-05-2014, 13:56   #183
Registered User

Join Date: May 2014
Posts: 28
Re: OpenCPN Runs on Embedded ARM

Hi,

I am trying to build Sean's optimum branch for the last evenings but my Pi stops working after roughly 75% of the build. Sometimes it complains about read errors on corrupt swap and sometimes the Pi just stops without any message.

I wonder - could anyone of you please share your config of your Pi's prior to starting the build? I have increased the swap to 250MB, but that's about the only thing. I have tried running it headless through ssh, but with same or even worse results .

I have now started to try to find out how to build it from my pc instead and then only install the package - but it was 15 years ago that I worked on Linux so it takes some time to get everything sorted again.

Thanks,
Lulle
__________________
seglar-lulle is offline   Reply With Quote
Old 18-05-2014, 14:01   #184
Registered User
 
it-slav's Avatar

Join Date: May 2014
Posts: 46
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by seglar-lulle View Post
Hi,

I am trying to build Sean's optimum branch for the last evenings but my Pi stops working after roughly 75% of the build. Sometimes it complains about read errors on corrupt swap and sometimes the Pi just stops without any message.

I wonder - could anyone of you please share your config of your Pi's prior to starting the build? I have increased the swap to 250MB, but that's about the only thing. I have tried running it headless through ssh, but with same or even worse results .

I have now started to try to find out how to build it from my pc instead and then only install the package - but it was 15 years ago that I worked on Linux so it takes some time to get everything sorted again.

Thanks,
Lulle
I use standard raspbian without any special config at all, excpet the one mentioned in this thread.
I think your SD card is broken, I had one broken SD card in the RPI behaved very strange...

Regards
Peter
__________________
it-slav is offline   Reply With Quote
Old 18-05-2014, 14:34   #185
Registered User

Join Date: May 2014
Posts: 28
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by it-slav View Post
I use standard raspbian without any special config at all, excpet the one mentioned in this thread.
I think your SD card is broken, I had one broken SD card in the RPI behaved very strange...

Regards
Peter
Hi, and thanks!

Sounds strange though that the SD card would be broken already. Or? It is 2 weeks old, class 10 16GB. Should I perhaps start all over with it then? I have Raspian installed from NOOBS..

Cheers,
Lulle
__________________
seglar-lulle is offline   Reply With Quote
Old 18-05-2014, 22:34   #186
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,802
Re: OpenCPN Runs on Embedded ARM

The optimum branch has been merged into mainline, so you should just use that now. You do of course still need glshim to use the opengles mali drivers.
__________________
boat_alexandra is offline   Reply With Quote
Old 20-05-2014, 00:18   #187
Registered User

Join Date: May 2014
Posts: 28
Re: OpenCPN Runs on Embedded ARM

Hi.

Ok - yesterday I started with a new SD card. So let's see.

But, @Peter, did you perhaps collect all that has to be done in order to build in one document or instruction?

Cheers,
Lulle

Sent from my GT-I9505 using Cruisers Sailing Forum mobile app
__________________
seglar-lulle is offline   Reply With Quote
Old 20-05-2014, 06:19   #188
Registered User
 
it-slav's Avatar

Join Date: May 2014
Posts: 46
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by seglar-lulle View Post
Hi.

Ok - yesterday I started with a new SD card. So let's see.

But, @Peter, did you perhaps collect all that has to be done in order to build in one document or instruction?

Cheers,
Lulle

Sent from my GT-I9505 using Cruisers Sailing Forum mobile app
This is the best shot when it comes to documentation: OpenCPN Runs on Embedded ARM

But I still have not got it running accelerated.

Regards
Peter
__________________
it-slav is offline   Reply With Quote
Old 20-05-2014, 09:00   #189
Registered User
 
it-slav's Avatar

Join Date: May 2014
Posts: 46
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by boat_alexandra View Post
The optimum branch has been merged into mainline, so you should just use that now. You do of course still need glshim to use the opengles mali drivers.
Are you saying that I could use the following command to get the optimum code?
Code:
git clone git://github.com/OpenCPN/OpenCPN.git
regards
Peter
__________________
it-slav is offline   Reply With Quote
Old 20-05-2014, 09:21   #190
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by it-slav View Post
Are you saying that I could use the following command to get the optimum code?
Code:
git clone git://github.com/OpenCPN/OpenCPN.git
regards
Peter
To make a fresh local clone of the main OpenCPN repository, yes.
Then just use
Code:
git pull
to get the latest changes every time you want them.
And yes, the optimum code is merged in the master branch there.

Pavel
__________________
nohal is offline   Reply With Quote
Old 24-05-2014, 10:14   #191
Registered User

Join Date: Mar 2014
Location: Tyne and Wear
Boat: Westerly Tempest
Posts: 15
Re: OpenCPN Runs on Embedded ARM

First of all thanks to SB Freddie for keeping me pointing in the right direction and also Sean for the work he's done and secondly, I've got zilch linux experience apart from flashing my android phone with different roms over the years.
I got a Cubietruck (CT) with 32gb class10 card and I've also got a 120gb ssd. This is to form the backbone of a navigation / media centre on my boat. I installed Qbee-X (ubantu), made the rootfs partition fill the card with gparted using the gparted live cd on my pc and formated the ssd with gparted on the CT. Spent a morning getting the wlan working finally discovering that the wlan driver module was missing from the modules folder. I then managed to download the source and then follow the build and install instructions and low and behold (a few errors appeared during the build) it installed and appears to be working. Next was the CM93 charts for which was frustrating. I got lost trying to network my pc and CT together (on the list to revisit) and I eventually got to access the ssd plugged in to my pc using Ext2Fs. Transferred the charts over and a load of different movie formats and all seems working.
Moving the charts around seems fine.
Zooming in and out using the scroll wheel needs a light touch.

I have a serial (ps2) Fortuna GPS receiver which I would like to attach. Am I right in saying I need to connect this via a serial to ttl adaptor?
Also is there any way of testing OpenCPN with a dummy feed?

Regards and thanks

Stu
__________________
stu3284 is offline   Reply With Quote
Old 24-05-2014, 20:31   #192
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,802
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by stu3284 View Post
Also is there any way of testing OpenCPN with a dummy feed?

Regards and thanks

Stu
You can use the vdr plugin.
__________________
boat_alexandra is offline   Reply With Quote
Old 25-05-2014, 02:31   #193
Registered User

Join Date: Mar 2014
Location: Tyne and Wear
Boat: Westerly Tempest
Posts: 15
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by boat_alexandra View Post
You can use the vdr plugin.
Cheers, thats today's entertainment sorted.
__________________
stu3284 is offline   Reply With Quote
Old 25-05-2014, 08:21   #194
Registered User
 
it-slav's Avatar

Join Date: May 2014
Posts: 46
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by stu3284 View Post
First of all thanks to SB Freddie for keeping me pointing in the right direction and also Sean for the work he's done and secondly, I've got zilch linux experience apart from flashing my android phone with different roms over the years.
I got a Cubietruck (CT) with 32gb class10 card and I've also got a 120gb ssd. This is to form the backbone of a navigation / media centre on my boat. I installed Qbee-X (ubantu), made the rootfs partition fill the card with gparted using the gparted live cd on my pc and formated the ssd with gparted on the CT. Spent a morning getting the wlan working finally discovering that the wlan driver module was missing from the modules folder. I then managed to download the source and then follow the build and install instructions and low and behold (a few errors appeared during the build) it installed and appears to be working. Next was the CM93 charts for which was frustrating. I got lost trying to network my pc and CT together (on the list to revisit) and I eventually got to access the ssd plugged in to my pc using Ext2Fs. Transferred the charts over and a load of different movie formats and all seems working.
Moving the charts around seems fine.
Zooming in and out using the scroll wheel needs a light touch.

I have a serial (ps2) Fortuna GPS receiver which I would like to attach. Am I right in saying I need to connect this via a serial to ttl adaptor?
Also is there any way of testing OpenCPN with a dummy feed?

Regards and thanks

Stu
Have you got the accelerated opengl graphics working?

Regards
Peter
__________________
it-slav is offline   Reply With Quote
Old 25-05-2014, 10:09   #195
Registered User

Join Date: Mar 2014
Location: Tyne and Wear
Boat: Westerly Tempest
Posts: 15
Re: OpenCPN Runs on Embedded ARM

Quote:
Originally Posted by it-slav View Post
Have you got the accelerated opengl graphics working?

Regards
Peter
Nope, enabling it just cause the screen to have a big grey block on. It seems to run fine without it enabled and I can move freely around the charts. I have the charts on the ssd. Quilting is still enabled.

I am having problems getting the VDR plugin to work. I've put it in the directory users/lib/opencpn but it doesn't show up in the plugins list to enable it. ???? Log says file or directory does not exist.

I also think I need to get a better power supply as the whole thing just switches itself off now and again now and again and then won't boot up. If I unplug the keyboard it'll reboot then i have to plug the keyboard in. If only I can find my PSP power supply
Regards
Stu
__________________

__________________
stu3284 is offline   Reply With Quote
Reply

Tags
opencpn

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open CPN and Google Earth bgrimwade OpenCPN 19 09-12-2011 16:32
OpenCPN Version 2.5 Release bdbcat OpenCPN 86 02-09-2011 19:14
OpenCPN Stops Running BobLarkin OpenCPN 2 31-08-2011 00:38
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.