From 07e18ae35641a5186b1576e4b2fac6e62aed6dd1 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Tue, 3 May 2011 14:19:46 +0200 Subject: [PATCH] [openwrt] tweak installation instructions --- mote/v2/openwrt/INSTALL | 2 +- mote/v2/openwrt/install.sh | 25 +++++++++++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/mote/v2/openwrt/INSTALL b/mote/v2/openwrt/INSTALL index 209ed62..f836c4d 100644 --- a/mote/v2/openwrt/INSTALL +++ b/mote/v2/openwrt/INSTALL @@ -1,2 +1,2 @@ To set up a customized OpenWRT Backfire build environment for Flukso targets, just run: -./install.sh /path/you/would/like/to/backfire +. ./install.sh /your/preferred/backfire/installation/path diff --git a/mote/v2/openwrt/install.sh b/mote/v2/openwrt/install.sh index 03df483..a94b7bd 100755 --- a/mote/v2/openwrt/install.sh +++ b/mote/v2/openwrt/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -USAGE="Usage: ./install " +USAGE="Usage: . ./install /your/preferred/backfire/installation/path" if (( $# < 1 )) then @@ -67,12 +67,21 @@ rm $BACKFIRE_PATH/package/base-files/files/etc/hotplug.d/iface/40-rdate # and then build the Fluksometer firmware... echo -echo " ============================================================================ " -echo " To compile this custom Backfire build for Flukso, just type: make -j8 in the " -echo " installation path you selected. Use at least as many jobs as the number of " -echo " cores available on your build machine. " +echo " ================================================= " +echo " To compile this custom Backfire build for Flukso, " +echo " just type make -j8 in the installation path you " +echo " selected. Use at least as many jobs as the number " +echo " of cores available on your build machine. " echo -echo " IMPORTANT: make sure your machine has a recent version (>= v4.3.4) of the " -echo " avr-gcc toolchain installed " -echo " ============================================================================ " +echo " IMPORTANT: make sure your machine has a recent " +echo " version of the gcc-avr toolchain (>= 4.3.4) and " +echo " avr-libc (>= 1.6.7) installed. " +echo +echo " To upload the firmware to the Fluksometer after " +echo " compilation, type make flash V=99. Then connect " +echo " the Fluksometer to your machine via ethernet and " +echo " power it up. " +echo +echo " Happy hacking! " +echo " ================================================= " echo