User Tools

Site Tools


open_source:ccgx:raspbian_deb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
open_source:ccgx:raspbian_deb [2015-04-29 00:12] jhofsteeopen_source:ccgx:raspbian_deb [2019-06-22 15:49] (current) – removed mvader
Line 1: Line 1:
-====== Installing CCGX functionality on a raspberry pi (package based) ====== 
  
-While Matthijs is having fun at http://www.victronenergy.com/live/open_source:ccgx:installing_ccgx_func_on_raspberry_pi this page is about deploying packages for a Raspberry PI. This is not something officially supported nor complete. This is tested on a Rpi B+ v1.2 with Raspbian. 
- 
-First of all, the Rpi 1 is based on a armv6, while armhf has a minimum of ARMv7+VFP3, yet the Raspbian image believes it is running armhf. The answer seems simply that Raspbian redefined armhf to ARMv6+VFP but forgot to rename it somehow. Since these binaries are incompatible, it won't in general be enough to compile a package for Debian/armhf and expect it to work on a Rpi 1. 
-A Rpi 2 can run Debian armhf and would be better of doing so instead of running Raspbian. 
- 
-Anyway, it seems that supporting a package for a rpi needs rpi specific packages, so that is what is done. To get it (there is only 1 for testing) the following must be done: 
- 
-<code> 
-sudo nano /etc/apt/sources.list 
-</code> 
- 
-And add the following line 
-<code> 
-deb http://updates.victronenergy.com/feeds/raspbian/dists/wheezy/contrib binary-armhf/ 
-</code> 
- 
-e.g. vedirect-dbus can now be installed with 
-<code> 
-sudo apt-get update 
-sudo apt-get install vedirect-dbus 
-</code> 
- 
-vedirect_dbus is an implementation of the design at http://www.victronenergy.com/live/open_source:ccgx:start. On a linux system it can send its obtained values to any language of your desire. You can start it with e.g. 
- 
-<code> 
-vedirect-dbus -s /dev/ttyUSB0 -vvv 
-</code> 
- 
-note: on a rpi it will connect to a SESSION dbus 
open_source/ccgx/raspbian_deb.1430259148.txt.gz · Last modified: 2015-04-29 00:12 by jhofstee

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki