livebox:portable

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
livebox:portable [2015/03/13 04:56] – [Fedora build notes] brettlivebox:portable [2016/01/30 01:09] (current) – [External hardware] brett
Line 10: Line 10:
 <code> <code>
 sudo apt-get install git sudo apt-get install git
-git clone -portable https://github.com/dbzoo/hah.git portable+git clone --branch portable --single-branch https://github.com/dbzoo/hah.git portable
 </code> </code>
  
Line 68: Line 68:
 </code> </code>
  
 +===== Keeping up to date =====
 +
 +The best way to keep your portable distro up to date is "git pull" or "git fetch && git merge"\\
 +Then do a "make arm-deb" and install it "sudo dpkg -i build/*.deb"\\
 +The deb file will not overwrite your .ini customized .ini changes.
 +<code>
 +$ cd portable
 +$ git pull
 +$ make arm-deb
 +$ sudo dpkg -i build/*.deb
 +</code>
 ====== Fedora build notes ====== ====== Fedora build notes ======
  
Line 79: Line 90:
 yum groupinstall "Development Tools" --skip-broken yum groupinstall "Development Tools" --skip-broken
 </code> </code>
 +
 +====== External hardware ======
 +
 +To get the external hardware to work on a non-livebox device you need to adjust the /etc/xap.d/xap-livebox.ini file
 +
 +<code>
 +port=/dev/ttyO4
 +initserial=+++
 +</code>
 +
 +Why do you need this initserial=+++ configuration line?
 +
 +The external hardware goes into a loop and listens on the serial port consuming all the console text the livebox emits and discards it until it see the +++ token.   This is done to prevent some spurious piece of livebox startup text from triggering the external hardware to do something it should not.   This token on the livebox is emitted by the /etc/init.d/controlpcb livebox startup script however this script does not exist in the portable distribution.  Even if it did its output would not be down the serial port where the external hardware is, it would be the console serial port. So we use this initserial= argument as a workaround.
  • livebox/portable.1426222578.txt.gz
  • Last modified: 2015/03/13 04:56
  • by brett