... | ... | @@ -52,15 +52,18 @@ A guide on how to prepare the observer hardware is available [on request](people |
|
|
|
|
|
### BeagleBone Green setup
|
|
|
|
|
|
* Download the latest Debian flasher image (*console* version is sufficient) from [eLinux (monthly builds)](https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Stretch_Console_Snapshot) or [beagleboard.org (releases)](https://beagleboard.org/latest-images). Use e.g. [Balena Etcher](https://www.balena.io/etcher) to write the image to a microSD card.
|
|
|
* Insert the microSD card and press and hold the *user button* while powering up the BeagleBone until all 4 LEDs are on. The Debian image will then be flashed onto the eMMC (takes ~10 minutes). After completion, the BeagleBone will shut down (all LEDs off).
|
|
|
* Replace the flasher SD card with an empty one (formatted to ext4).
|
|
|
* Make sure the network connectivity to the BeagleBone works.
|
|
|
* Clone the repository to your computer and run the [basic setup script](https://gitlab.ethz.ch/tec/public/flocklab/observer/-/blob/master/debian/setup_system.sh): `cd observer/debian && ./setup_system.sh [beaglebone_address]`
|
|
|
* Adjust the parameters in the following scripts:
|
|
|
1. Download the latest Debian 9 flasher image (*console* version is sufficient) from [eLinux (monthly builds)](https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Stretch_Console_Snapshot) or [beagleboard.org (releases)](https://beagleboard.org/latest-images). Use e.g. [Balena Etcher](https://www.balena.io/etcher) to write the image to a microSD card.
|
|
|
1. Insert the microSD card and press and hold the *user button* while powering up the BeagleBone until all 4 LEDs are on. The Debian image will then be flashed onto the eMMC (takes ~10 minutes). After completion, the BeagleBone will shut down (all LEDs off).
|
|
|
1. Replace the flasher SD card with an empty one (formatted to ext4).
|
|
|
1. Make sure the network connectivity to the BeagleBone works.
|
|
|
1. Clone the repository to your computer and run the [basic setup script](https://gitlab.ethz.ch/tec/public/flocklab/observer/-/blob/master/debian/setup_system.sh): `cd observer/debian && ./setup_system.sh [beaglebone_address]`
|
|
|
1. Adjust the parameters in the following scripts:
|
|
|
* `HOSTNAME` in the [ping watchdog script](https://gitlab.ethz.ch/tec/public/flocklab/observer/-/blob/master/scripts/ping_watchdog.sh)
|
|
|
* `HOSTPREFIX` and `OBSIDS` in the [observer update script](https://gitlab.ethz.ch/tec/public/flocklab/observer/-/blob/master/update_observer.sh)
|
|
|
* Run the [main setup script](https://gitlab.ethz.ch/tec/public/flocklab/observer/-/blob/master/setup_observer.sh) to install all required packages, tools and scripts on the BeagleBone: `./setup_observer.sh [beaglebone_address]`
|
|
|
* Pair the BeagleBone with a FlockLab 2 cape and install the correct calibration files. Don't forget to also connect the cape to the BB with a microUSB cable (you can use the one that comes with the BB).
|
|
|
* Replace the public key in [`debian/config/user`](https://gitlab.ethz.ch/tec/public/flocklab/observer/-/tree/master/debian/config/user) with your own.
|
|
|
1. Run the [main setup script](https://gitlab.ethz.ch/tec/public/flocklab/observer/-/blob/master/setup_observer.sh) to install all required packages, tools and scripts on the BeagleBone: `./setup_observer.sh [beaglebone_address]`
|
|
|
1. Pair the BeagleBone with a FlockLab 2 cape and install the correct calibration files. Don't forget to also connect the cape to the BB with a microUSB cable (you can use the one that comes with the BB).
|
|
|
|
|
|
### Debian 10
|
|
|
|
|
|
It is also possible to use a Debian 10 image for the Beaglebone. If you choose to do so, you need to use the [`rl-2.0`](https://gitlab.ethz.ch/tec/public/flocklab/observer/-/tree/rl2.0) branch of the observer repository. However, the setup procedure is slightly different. Follow [this](https://github.com/ETHZ-TEC/RocketLogger/tree/flocklab/software/system#remote-setup) guide to install the system and necessary dependencies, then continue with step 6. above. |
|
|
\ No newline at end of file |