BeagleBone Black

Overview

BeagleBone Black is a lower-cost, high-expansion focused BeagleBoard using a low cost Sitara XAM3359AZCZ100 Cortex A8 ARM processor from Texas Instruments.

  1. Sitara AM3359AZCZ100, 1GHz, 2000 MIPS
  2. 512MB DDR3L @ 400MHz
  3. 2GB, 8bit Embedded MMC
  4. miniUSB or 5V DC Jack
  5. 10/100 Ethernet, RJ45
  6. MicroSD, 3.3V
  7. 1 x USB2.0 host port
  8. 16bit HDMI, 1280x1024(Mac), microHDMI
  9. URAT0 accession via 6-pin 3.3V TTL Header
  10. 1 power LED and 4 user controllable LEDs via GPIO
  11. Board size: 3.4” × 2.1”

MuBox on BeagleBoneBlack

Features of MuBox in BeagleBoneBlack:

  1. 3.12.9 kernel
  2. 3.12.9-rt13 real-timekernel (Try this! New!)

Installation

Please note that MuBox only tested on BeagleBone Black. You are on your own if you uses BeagleBone.

Pre-requisite

1. You need a Linux machine (could be x86, ARM based or any architecture)
2. a uSD card and a compatible card reader

uSD card creation by script

Download the installation script to your Linux machine, insert uSD card to card reader attached to your Linux machine, login as root, and run

# ./install-mubox-beaglebone.sh /dev/sdX

To run realtime kernel on BeagleBone Black, download this installation script and run:

# ./install-mubox-beaglebone-rt.sh /dev/sdX

where /dev/sdX is your SD card device. If you are unsure, type "cat /proc/partitions" to list all available disk devices and partitions. The script will format your card, download and install rootfs, install kernel and bootloader, etc.

After the installation completes, eject the card, re-insert the card to BeagleBone Black and power-up the board. Be sure to read our getting started guide in cookbook section if you use MuBox for the first time!

uSD card creation manually

If you feel uncomfortable to the above script, you can create the SD card manually. At first, you need to create the partition on a SD card. Replace sdX in the following instructions with the device name for the SD cards.

  1. Login as root
  2. Start fdisk to partition the SD card:
    fdisk -u /dev/sdX
    
  3. At fdisk prompt:
    1. Type o. This will clear out any partitions on the drive.
    2. Type n to create new partition, then p for primary, 1 for the first partition on the drive, press ENTER to accept the default first sector, then +64M to set the size to 64MB.
    3. Type t to change the partition type, then e to set it to W95 FAT16 (LBA).
    4. Type a, then 1 to set the bootable flag on the first partition.
    5. Now type n, then p for primary, 2 for the second partition on the drive, and enter twice to select the default first and last sectors.
    6. Write the partition table and exit by typing w.
  4. Create ext4 filesystem, set no mount checking, assign volume label and disable journal.
    mkfs.vfat -F 16  /dev/sdX1
    mkfs.ext4 /dev/sdX2
    tune2fs -i 0 -c 0 /dev/sdX2 -L voyage-mubox -O ^has_journal
    
  5. Download and extract bootloader on-the-fly:
    mount /dev/sdX1 /tmp/cf
    curl http://mirror.voyage.hk/download/voyage-mubox/beaglebone/boot-beaglebone.tar.xz | tar --numeric-owner -Jxf - -C /tmp/cf
    sync
    umount /tmp/cf
    
  6. Download and extract root file system on-the-fly:
    mount /dev/sdX2 /tmp/cf
    curl http://mirror.voyage.hk/download/voyage-mubox/voyage-mubox-current.tar.xz | tar --numeric-owner -Jxf - -C /tmp/cf
    
  7. Download and install kernel and modules:
    curl http://mirror.voyage.hk/download/voyage-mubox/beaglebone/kernel-beaglebone-latest.tar.xz | tar --numeric-owner -Jxf - -C /tmp/cf
    
  8. Finally, run the following to change serial ports and various settings:
    find /tmp/cf/lib/modules/ -name "*ko.gz" -exec gunzip '{}' ';'
    sed -i -e "s/ttyS0/ttyO0/" /tmp/cf/etc/inittab
    sed -i -e "/^options.*snd-usb-audio/s/^/#/" /tmp/cf/etc/modprobe.d/alsa-base.conf
    sync
    umount /tmp/cf
    
  9. Done. Eject the card from the reader and insert it to uSD slot in BeagleBone Black. Remember to press power button while power on to boot from uSD!