Introduction: Qualcomm Dragonboard 410C With Grove Starter Kit - First Steps
After installing Linux Linaro-Alip, it's time to install everything in 410C to make it work with the Grove Starter Kit. If you just received the board with Android inside, install Linux Linaro-Alip with IDE. To install it, refer to these tutorials, available in Portuguese at Embarcados and in English in Instructables.
To download the Schematic, access this link.
So, let's start!
Step 1: Update Linaro
sudo apt-get update
sudo apt-get dist-upgrade -u
Step 2: Install Extra Packages
sudo apt-get install git build-essential autoconf automake libtool swig3.0 python-dev nodejs-dev cmake pkg-config libpcre3-dev
sudo apt-get install libmraa-dev libupm-dev
sudo apt-get install arduino arduino-mk
sudo apt-get clean
Step 3: Install MRAA to Access the IOs - I2C, SPI, UART and GPIO.
git clone https://github.com/intel-iot-devkit/mraa
cd mraa
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig /usr/local/lib
Step 4: Install UPM Library - for the LCD
sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
git clone https://github.com/intel-iot-devkit/upm
cd upm
mkdir build
cd build
cmake -DBUILDSWIGNODE=OFF ..
make
sudo make install
sudo ldconfig /usr/local/lib/libupm-*
Step 5: Configure Softwares
sudo addgroup linaro i2c
git clone https://github.com/96boards/96boards-tools
sudo cp 96boards-tools/70-96boards-common.rules /etc/udev/rules.d/
cat | sudo tee /etc/profile.d/96boards-sensors.sh << EOF
export JAVA_TOOL_OPTIONS="-Dgnu.io.rxtx.SerialPorts=/dev/tty96B0"
export MONITOR_PORT=/dev/tty96B0
export PYTHONPATH="$PYTHONPATH:/usr/local/lib/python2.7/site-packages"
EOF
sudo cp /etc/profile.d/96boards-sensors.sh /etc/X11/Xsession.d/96boards-sensors
Step 6: Reboot
sudo reboot
Step 7: Clone and Use the Examples!
git clone https://github.com/96boards/Starter_Kit_for_96Boards
Happy Hacking!!!