-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathINSTALL_beaglebone.txt
More file actions
93 lines (60 loc) · 1.83 KB
/
INSTALL_beaglebone.txt
File metadata and controls
93 lines (60 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Opkg packages needed:
python-compile
python-distutils
python-pyserial
openssh-keygen
Setup key:
ssh-keygen -> Insert public key into repo
git clone git@github.com:kweekly/sensezilla-python.git
( Compiling protobuf ):
wget http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz
tar xvf protobuf-2.5.0.tar.gz
cd protobuf-2.5.0
./configure
make (this takes quite a while)
cd ../
tar cvf protobuf-2.5.0-built.tar protobuf-2.5.0/
gzip protobuf-2.5.0-built.tar (transfer this to your computer)
(continue below)
Setup protobuf:
transfer protobuf-2.4.1-built.tar.gz
tar xvf protobuf-2.4.1-built
cd protobuf-2.4.1/
make install
cd python
python setup.py build
python setup.py install
Setup UART1 (automatically done by code):
http://www.gigamegablog.com/2012/01/22/beaglebone-coding-101-using-the-serial-and-analog-pins/
FOR NEWER BB:
vim /media/BEAGLEBONE/uEnv.txt
optargs=capemgr.enable_partno=BB-UART2
Disable unneeded services:
systemctl disable bone101.service
systemctl disable cloud9.service
systemctl disable pvr-init.service
systemctl disable gdm.service
Setup sensezilla:
cd messages
protoc --python_out=. *.proto
vim /etc/profile.d/sensezilla.sh
SENSEZILLA_MISSION=beagleboard
SENSEZILLA_DIR=/home/root/sensezilla-python
export SENSEZILLA_MISSION
export SENSEZILLA_DIR
PATH="$SENSEZILLA_DIR/bin:$PATH"
vim conf/local.conf
[xbee_relay]
network_key = <key>
Set to start on startup:
transfer sensezilla_initd to /etc/init.d/sensezilla
chmod +x /etc/init.d/sensezilla
update-rc.d sensezilla defaults
Set the password:
passwd
Set the hostname:
vim /etc/hostname
hostname <name>
Set Timezone to California time:
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime