Beagleong Black LCD Display with Stereo Audio Cape

From wiki
Revision as of 08:49, 7 February 2015 by AVRman (Talk | contribs)

Jump to: navigation, search


Before you start

Using the prebuilt image we provided to test hardware.

How to make a bootable SD card

1. Insert the SD card into your computer, if using virtual machines, please make sure the SD card mounted to the Linux operating system.

2. Confirm the SD card mount point “/dev/sdX”, usually it should be “/dev/sdb”. You can use this command to find out what the “X” is in the Linux system.

$ sudo fdisk –l

3. Copy the file “prebuilt-angstrom-bbb-lcd-audio-exif-2014-12-25.tar.gz“ somewhere(such as $HOME).

4. Extract the file “prebuilt-angstrom-bbb-lcd-audio-exif-2014-12-25.tar.gz“

$ tar xzvf prebuilt-angstrom-bbb-lcd-audio-exif-2014-12-25.tar.gz

5. Go to the folder “prebuilt-angstrom-bbb-lcd-audio-exif-2014-12-25“

$ cd ~/prebuilt-angstrom-bbb-lcd-audio-exif-2014-12-25

6. Flash the Angstrom OS to the SD card

$ sudo ./ --device /dev/sd<?>

Notes: The SD card should be at least 2GB, and you’d better to use Sandisk Class4 level SD card or or above.

Start the Angstrom OS

1. Insert SD card into BeagleBoneBlack.

2. Power on the board.


Touch screen

Click on the screen, the mouse arrow stays in position triggered.

Audio test

Start terminal, use command alsamixer to adjust the volume, default is lower volume.

then use command mplayer to test.

# mplayer FILENAME //such as: mplayer ~/marsboard/Music/AudioTest.aac

Build Angstrom compilation environment

Prepare Angstrom source

1. Copy the file “angstrom-source-bbb-lcd-audio-exif-2014-12-25.tar.gz” to $HOME. 2. Extract the file:

$ cd HOME$
$ tar xzvf angstrom-source-bbb-lcd-audio-exif-2014-12-25.tar.gz

You can find what you need under folder “angstrom-source-bbb-lcd-audio-exif-2014-12-25“, such as “u-boot ”, “kernel”:

(1) Linux file system: $HOME/angstrom-source-bbb-lcd-audio-exif-2014-12-25/filesystem

(2) Linux kernel source: $HOME/angstrom-source-bbb-lcd-audio-exif-2014-12-25/kernel

(3) uboot source: $HOME/angstrom-source-bbb-lcd-audio-exif-2014-12-25/uboot

(4) Cross-compiler tools: $HOME/angstrom-source-bbb-lcd-audio-exif-2014-12-25/gcc-linaro-arm-linux-gnueabihf-4.7

Set Environment Variables

Go to the source folder, export the environment variables

$ cd angstrom-source-bbb-lcd-audio-exif-2014-12-25
$ source

Notes: For ease of use, the environment variables settings related are written in script, and run the script only after current terminal is valid, when the terminal closed environment variable itself is lost, so in the new terminal need to re-run the script

Personal tools