Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
software:linux:beagleboneblue [2017-12-06 17:23]
Graf Urs
software:linux:beagleboneblue [2019-10-14 10:44] (aktuell)
Graf Urs
Zeile 1: Zeile 1:
-======Linux on BeagleBone ​Blue====== +====== Linux on Beaglebone ​Blue Board ====== 
-Useful information about the board can be found under [[:​embedded_systems:​ti_sitara_am335x:​beaglebone_blue:​start|Beagle Bone Blue]]. ​More about working with the board can be found under +Useful information about the board can be found under [[:​embedded_systems:​ti_sitara_am335x:​beaglebone_blue:​start|Beaglebone ​Blue]].
-https://​eewiki.net/​display/​linuxonarm/​BeagleBone+Blue+
  
-===== EEROS on BeagleBoneBlue ===== 
-Fetch example application and build scripts on host. 
-<​code>​ 
-$ git clone https://​github.com/​ntb-ch/​BeagleBoneBlue.git 
-</​code>​ 
-Get EEROS and the hardware wrapper library. 
-<​code>​ 
-$ cd BeagleBoneBlue 
-$ ./clone.sh 
-</​code>​ 
  
-The library for the roboticscape must be manually compiled. Though the library ​is already ​on the target, we must also have it on the host, in order to be able to link an application. Change into:+===== RT-Kernel ===== 
 +Check if there is already ​a RT-Kernel:
 <​code>​ <​code>​
-$ cd robotics_cape_installer/​libraries +uname -r
-</​code>​ +
-and edit the ''​Makefile''​ therein. Change the following to lines from  +
-<​code>​ +
-CC := gcc +
-LINKER := gcc +
-</​code>​ +
-to +
-<​code>​ +
-CC := arm-linux-gnueabihf-gcc-4.9 +
-LINKER := arm-linux-gnueabihf-gcc-4.9 +
-</​code>​ +
-This is necessary because we work on the host and must make sure to choose the right cross compiler. You must install this compiler with +
-<​code>​ +
-$ sudo apt-get install g++-4.9-arm-linux-gnueabihf +
-</​code>​ +
-Now you can create the roboticscape library with +
-<​code>​ +
-$ make+
 </​code>​ </​code>​
  
-Change back into your project directory and start the compilation of EEROSthe hardware wrapper library, and the application with+If notdownload:
 <​code>​ <​code>​
-./make.sh+sudo apt-get install linux-image-4.4.49-ti-rt-r89
 </​code>​ </​code>​
 +Do not use a newer one. Robotics Cape won't work anymore (ERROR: missing PINMUX driver).
  
-Finally, load the executables onto the target with +Reboot ​and delete ​the old kernel:
-<​code>​ +
-$ ./​deploy.sh +
-</​code>​ +
-The password is "​ntb"​. Edit the ''​deploy.txt''​ file to define which files must be downloaded. \\ +
-ssh into the target ​and change into ''/​opt/​eeros/​bin''​. +
-Start the demo application with +
 <​code>​ <​code>​
-sudo ./​myApp ​-c HwConfigBBBlue.json+sudo apt remove ​--purge linux-image-4.4.54-ti-r93
 </​code>​ </​code>​