restart with bananpi 2017/12, and the installation of mavproxy with debian



Loading the firmware and start it with computer, it's comes like a raspberrypi, I think it would need some config to expend the uSD...

the image I used:
2016-07-13-raspbian-jessie-bpi-m1-m1p-r1.img
it's a 3.4.112 kernel

easiest way is to use the GUI interface, with pi configuration.
so I expand the memory and then enable some interface like uart, IIC SPI.
Also turn it to 950Mhz

after boot up , check version:
pi@bpi-iot-ros-ai:~ $ uname -a
Linux bpi-iot-ros-ai 3.4.112-sun7i #2 SMP PREEMPT Sat May 28 20:25:03 CST 2016 armv7l GNU/Linux


after reboot, I plan to install Mavproxy with this:
http://ardupilot.github.io/MAVProxy/html/getting_started/download_and_installation.html

 first
sudo su
apt-get update
apt-get upgrade

sudo apt-get install python-dev python-opencv python-wxgtk3.0 python-pip python-matplotlib python-pygame python-lxml
sudo apt-get libxml2-dev
 
sudo pip install MAVProxy
 
but comes with error of lacking furure!:
sudo pip install future   
then again 
sudo pip install MAVProxy
 
finally it's installed, with no error
 
add path:
echo "export PATH=$PATH:$HOME/.local/bin" >> ~/.bashrc
 
add user pi to dialout group
sudo adduser <username> dialout
 
ready to try...   

留言

這個網誌中的熱門文章

Heltec ESP32+OLED+Lora, hardware testing

micro SD card for ESP32, on lolin32 with OLED and heltec 32 lora oled

Install Network Time Protocol(NTP) on BeagleBone with Angstrom linux and set local time zone