Beagle Mac OS
The BeagleBone is a mini computer, in the size of a credit card. Very similar to a Raspberry Pi. A single-board computer is pretty much what it sounds like — all the hardware you would expect to. The Beagle communications layer under Mac OS X does not require a specific kernel driver to operate. Mac OS X 10.5 Leopard, 10.6 Snow Leopard, 10.7 Lion, and 10.8 Mountain Lion are supported. It is typically necessary to ensure that the user running the software is currently logged into the desktop. BEAGLE v3.1.0 for macOS; BEAGLE v3.1.0 for Windows 64-bit; BEAGLE v2.1.2 for Mac OS X 10.6 and later; BEAGLE v2.1.0 for Windows XP and later; Installation instructions. Instructions for installing BEAGLE on macOS; Instructions for installing BEAGLE on Windows; Instructions for installing BEAGLE on Linux; Documentation. Release notes; API. In the examples that follow, the host Mac machine has the prompt “phwl@PHWL-MBP %” and the BBG prompt is “debian@beaglebone:$”. The same instructions should work for other Beaglebone Boards like the Pocket Beagle or BeagleBone Black. Connecting via Ethernet. Connect your Mac to. It is very portable, and can run on Windows, Mac OS X, Linux, Raspberry Pi, Amiga, BeOS, Beagle Board, Nokia Communicator, SGI Indys, 3DO ARM systems, 3DO PowerPC systems, WebTV systems, Hitachi SH4, OpenTV prototypes, Compaq Ipaq 3970, Sharp LH79520 ARM processor, etc.
Warning
This project is old and unmaintained, prefer BBBMini project
Get your BeagleBone running Debian¶
You will need a microSD card of 4GB or greater and a 5VDC power supplyof 1A or higher. You can also use a powered USB hub. It is highlyrecommended that you not use the USB port on a laptop, which has currentlimitations.
Go to the BeagleBoard website and get the latest image. You may find multipleimages on the page. For ArduPilot on BeagleBone Black you have todownload the Debian (BeagleBone Black - 2GB eMMC) image. Youcan find it under BeagleBone Black (eMMC flasher) header.
For example, the current imageis BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.The date (in this case 2014-05-14) and the version number (in this case7.5) may change. Make sure you download the latest image.
On Ubuntu/Mac OS X¶
Verify Image with:
before plugging your SD card into your computer, type
this will list the current mounted drives.
Now plug in your SD card and type
and see what the drive that was added is called.
In my case it was /dev/sdd1
in which case in the command below, the it is writtern dd of=/dev/sddreplace this with the correct address for your SD card.
Warning

IF YOU GET THIS WRONG YOU CAN WIPE YOUR HDD
then xzcat it to your SD card in your Ubuntu/Mac OS X machine
when this is finished, remove the SD Card and place it into your BBB.
On Windows¶
Download Win32 disk imager fromhere. Insert yourSD card, then start the application that you downloaded.
Select the image that you downloaded and then press Write.
when this is finished, remove the SD Card and place it into your BBB.
Flashing the image to the eMMC¶
Place the SD card in your BBB. Make sure you have removed Ethernet andall other USB devices from your BBB. Connect it to a wall adapter (5VDC1A) or a powered USB hub.
Press the boot button, and hold it down while booting, until all fourblue lights are solid.
Let go, and wait. It will take around 15 mins.
The lights will flicker a lot at this stage, you will know it iscomplete when the four lights return to solid Blue (no flickering).Power down the BBB and remove the SD card.
Beagle Mastiff Mix
Connect the BeagleBone Black to your machine using the USB cord that’sprovided with it. Depending on your OS, install the requireddrivers.
Now ssh into the BeagleBone Black by typing
There is no password for the root user on the Debian image
You could also connect the BBB to your local network over Ethernet andssh to it.
The PixHawk Fire Cape¶
In order to run APM in the BeagleBone black you’ll need to use the rightset of sensors. Most of these sensors are included in the PixHawk Firecape (PXF), an open hardware board available from Erle Robotics store.
Making the rt kernel¶
(taken fromhttps://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel)
modified for the RT version, and to simplify.
Compiling the BeagleBone Black Kernel¶
The following contains instructions for building the BeagleBone Blackkernel on your PC with Ubuntu 13.04 O.S.
to make it simple, run¶
you may need to put in your password here…
if you do not have this already, make the following directory
mkdir /home/YOUR_USERNAME/export/rootfs
Prerequisites¶
ARM Cross Compiler¶
To compile the linux kernel for the BeagleBone Black, you must firsthave an ARM cross compiler installed on your linux box. I usegcc-4.7-arm-linux-gnueabi-base that comes with Ubuntu 13.04. To installthe compiler run:
GIT¶
The Beaglebone patches and build scripts are stored in a git repository.Install git:
And configure with your identity.
lzop Compression¶
The kernel is compressed using lzo. Install the lzop parallel filecompressor:
uBoot mkimage¶
The bootloader used on the BeagleBone black isu-boot. u-boot has a special imageformat called uImage. It includes parameters such as descriptions, themachine/architecture type, compression type, load address, checksumsetc. To make these images, you need to have a mkimage tool that comespart of the u-Boot distribution. Download u-boot, make and install theu-boot tools:
Compiling the BeagleBone Black Kernel¶
Here we compile the BeagleBone Black Kernel, and generate an uImage filewith the DTB blob appended to the kernel for ease of use.
Now we build any kernel modules:
And if you have your rootfs ready, you can install them:
Installing the RT kernel¶
After you have made the Linux kernel…
ensure you have Debian installed on the beaglebone and ssh into theBeaglebone from Linux….
(my ip address, adjust for your beaglebone)
Go to folder /boot/uboot/
make sure there is a backup folder there. If not:
then backup your zImage
then
it should show 3.8.13-bone28 or similar.
Now we need to go to our Ubuntu computers terminal. Ggo to your exportfolder that you made:
and run
then run
back on your Beaglebone run the following
Beagle Mass
you should now have both the old file and the new rt folder.
Now type:
Some useful tips¶
Hooking up the sensors¶
When hooking up your Sensor board it connects as follows (using SHORTwires)
I2c Debug¶
To detect if the i2c is working, you can use the following command
i2c check
The numbers: 1e, 53, 69, 77 are the MAG, Gyro, Accel, and Baro.(not inthat order)
Hooking up your Receiver¶
To be added
Hooking up your Airspeed sensor¶
To be added
Devices tested so far¶
Responded with the Who Am I request on SPI
- MPU6000
- MPU9250 (may have compass issues due to soldering of jumper wire)
- MS5611 (SPI)
Not responding on SPI
1 LSM9DS0 ( soldering issue, no connection to I/O
Responded to I2C detect
- CapeID EEPROM 0x54h AT24CS32
- CapeID COA_OTP 0x5Ch AT24CS32
- Crypto 0x64h ATSHA204
- Airspeed 0x28h MS4525DO-DS3AIXXXDS
- Compass Ext 0x1eh HMC5883L
- Power management 0x24 TPS65217C
- on-board EEProm 0x50h unknown
- HDMI core…. unused, do not enable 0x34
Not responded to I2C test
Beagle Mastiff
- MS5611 (I2C) 0x76h
2. RGB LED Driver 0x55h TCA62724 (is conflicting with non existent Capeeeprom)
Adjusting the BBB clock¶
cpufreq-info
shows your current frequency
Edit /etc/default/cpufrequtils (you might need to create it if itdoesn’t exist). Specify the governor with the GOVERNOR variable:
add the following……
CTRL-X to exit
Y to save
Reboot, and check to see that it has worked
Installing and Making ArduPilot on BBB¶
install git, make, gawk, g++, arduino-core on your BBB
then open
or
or
or
then
from this directory, run the tmp/Plane.elf (or Copter, or Rover)
Connecting to GCS¶
To be added……………
Status¶
The following table sumarizes the driver development status:
Milestone | Status |
---|---|
ArduPilot running in the BBB (I2C connected sensors) | Ok |
Device Tree for the PXF | WIP |
MPU6000 SPI userspace driver | Ok |
MPU9150 I2C userspace driver | Ok |
LSM9DS0 SPI userspace driver | Coded |
MPU9250 SPI userspace driver | Coded |
MS5611 I2C/SPI userspace driver | Coded |
GPIO userspace driver | WIP |
I2CDriver multi-bus aware | WIP |
AP_InertialSensor_Linux | ToDo |
PRU PWM driver | Ok (issue with the PREEMPT_RT kernel) |
MPU6000 SPI kernel driver | WIP |
MPU9150 I2C kernel driver | ToDo |
LSM9DS0 SPI kernel driver | ToDo |
MPU9250 SPI kernel driver | ToDo |
MS5611 I2C/SPI kernel driver | ToDo |
Beagle Mascot
Status: ``Ok``, ``Coded`` (needs test), ``WIP`` (work in progress), ``Issue``, ``ToDo``