Date:2011-05-27 21:31:18 (8 years 5 months ago)
Author:Werner Almesberger
Commit:6ac10ddf1839eb035bdc8b9cb3df05fe05a845ef
Message:prod/doc/setup.hmac: described PC and Ben software and test script installation

Files: prod/doc/setup.hmac (3 diffs)

Change Details

prod/doc/setup.hmac
4444
4545<SUBSECTION title="Install ben-wpan tools">
4646
47@@@
47To build the ben-wpan tools and install them under
48<SAMP>/usr/local/</SAMP> on the local machine,
49run the following commands:
50<PRE>
51git clone git://projects.qi-hardware.com/ben-wpan.git
52git clone git://projects.qi-hardware.com/f32xbase.git
53cd ben-wpan/tools
54make
55make install
56</PRE>
57<P>
58A different directory prefix can be chosen by overriding the
59<B>INSTALL_PREFIX</B> variable, e.g.,
60<PRE>
61make INSTALL_PREFIX=/usr install
62</PRE>
63<P>
64Note that the test scripts expect <SAMP>${INSTALL_PREFIX}/bin</SAMP>
65to be in <B>PATH</B>.
4866
4967
5068<!-- ---------------------------------------------------------------------- -->
...... 
5270
5371<SUBSECTION title="Install test scripts">
5472
55@@@
73The test scripts are in the directory <SAMP>prod/</SAMP> of the
74<B>ben-wpan</B> project. They currently are designed to be run from
75this directory. Therefore, all that's necessary is to check out the
76repository, as shown above.
5677
5778
5879<!-- ---------------------------------------------------------------------- -->
...... 
131152
132153<SUBSECTION title="Install ben-wpan tools">
133154
134@@@
155To build and install the <B>ben-wpan</B> tools on the Ben, first set
156up networking between the PC and the Ben. If you have not yet checked
157out the project's repository, run these commands:
158
159<PRE>
160git clone git://projects.qi-hardware.com/ben-wpan.git
161git clone git://projects.qi-hardware.com/f32xbase.git
162cd ben-wpan/tools
163</PRE>
164
165If you have already checked out the repository, <B>cd</B> to
166<SAMP>ben-wpan/tools/</SAMP> and run
167
168<PRE>
169make clean
170</PRE>
171
172Next, if on OpenWrt, compile the tools with
173<PRE>
174make TARGET=ben_openwrt
175</PRE>
176
177If on Jlime, use
178<PRE>
179make TARGET=ben_jlime
180</PRE>
181
182Finally, upload the tools to the Ben and install them under
183<SAMP>/usr/bin/</SAMP> with
184
185<PRE>
186make HOST=ben install
187</PRE>
188
189Where <B>ben</B> is the host name or IP address assigned to the Ben.
135190
136191
137192<!-- ---------------------------------------------------------------------- -->

Archive Download the corresponding diff file



interactive