Skip to content

User Guide: FlyingPI Setup

Michael Lyle edited this page Jul 17, 2017 · 14 revisions

FlyingPI Setup

WORK IN PROGRESS

Build FlyingPIO Hardware

Pre-Requisites

Assembly

  • BMX055 requires care
  • OSRAM LED markings are confusing, the little mark/arrow goes away from the line toward the cathode
  • Test with current limited bench supply on battery pins, 12 V 100 mA or so, make sure no smoke, super-low current, check 5 V on 5 V pins
  • Test with 3V3 on 3V3 pins, make sure super-low current/no smoke
  • Press header onto Pi extension connector

Build Firmware

  • Requires dRonin build environment setup on your dev machine.
  • Install arm toolchain: sudo apt install gcc-arm-linux-gnueabihf. Note: This will uninstall gcc-multilib if you were using it previously for sim builds due to an upstream Ubuntu bug. Install linux-libc-dev:i386 to get x86 sim build working again.
  • PI_CROSS_SIM=yes make sim
  • make ef_flyingpio

Setup PI

  • Obtain latest Raspbian image, lite is fine (2017-04-10 is known to work).
  • Unzip, write to your SD Card (umount /dev/sdX1 etc., dd bs=4M status=progress if=20xx-xx-xx-raspbian-jessie-lite.img -of /dev/sdX)
  • Enable SSH on first boot (mount the SD card (reinsert on desktop distros), cd into boot partition, touch ssh)
  • Connect Ethernet and power up Pi
  • Enable SSH (semi?)permanently, ssh into Pi and sudo raspi-config > Interfacing Options > SSH
  • Copy flyingpi.cfg, flyingpio.dts, flyingpio_eeprom.txt from flight/targets/flyingpio, sim.elf from build/sim-pi, and ef_flyingpio.hex from build/flyingpio/ to home dir on pi
  • Proceed with icee steps... https://gist.github.com/mlyle/debcc19c503e9e62dbe46d7a0a3dc519
Clone this wiki locally