Skip to content

Commit

Permalink
Add BLUE DTB
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkix authored Mar 20, 2017
1 parent 6b0a6c3 commit 771a147
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,11 @@ I recommend to use a u-blox M8N GPS. Connect the GPS to the GPS connector. Make
2. Install software: `sudo apt install -y bb-cape-overlays cpufrequtils g++ liblttng-ust-dev pkg-config gawk git make screen python python-dev python-lxml python-pip`
3. Install Python library: `sudo pip install future`
4. Set link to pkg-config: `sudo ln -s pkg-config /usr/bin/arm-linux-gnueabihf-pkg-config`
5. Set clock to fixed 1GHz: `sudo sed -i 's/GOVERNOR="ondemand"/GOVERNOR="performance"/g' /etc/init.d/cpufrequtils`
5. Update scripts: `cd /opt/scripts && sudo git pull`
6. Install RT Kernel: `sudo /opt/scripts/tools/update_kernel.sh --ti-rt-channel --lts-4_4`
7. Reboot system: `sudo reboot`
8. Get DTB sources: `git clone https://github.com/RobertCNelson/dtb-rebuilder.git`
9. Change dir: `cd dtb-rebuilder`
9. Checkout 4.4-ti branch: `git checkout 4.4-ti`
10. Patch file: `sed -i 's/0x03c 0x36/0x03c 0x35/' src/arm/am335x-boneblue.dts`
11. Compile DTB: `make`
12. Install DTB: `sudo make install`
13. Reboot system: `sudo reboot`
5. Add BLUE DTB: `sudo sed -i 's/#dtb=$/dtb=am335x-boneblue-ArduPilot.dtb/' /boot/uEnv.txt`
6. Set clock to fixed 1GHz: `sudo sed -i 's/GOVERNOR="ondemand"/GOVERNOR="performance"/g' /etc/init.d/cpufrequtils`
7. Update scripts: `cd /opt/scripts && sudo git pull`
8. Install RT Kernel: `sudo /opt/scripts/tools/update_kernel.sh --ti-rt-channel --lts-4_4`
9. Reboot system: `sudo reboot`

## Compile ArduPilot
1. Clone ArduPilot code: `git clone https://github.com/ArduPilot/ardupilot.git`
Expand Down

0 comments on commit 771a147

Please sign in to comment.