Skip to content

Build Instructions

Henrik Langer edited this page Mar 4, 2017 · 20 revisions

Hardware

For connecting the BeagleBoard-X15 and CTAG face2|4 Audio Card an extension cape has been created by my mentor Robert Manzke. All hardware design files (created with KiCad) can be found on CTAG face2|4 GitHub repo.

Linux Driver

Note: The drivers has been merged in the official BeagleBoard kernel and are included in the SD images.

Kernel Compilation

  1. Compile kernel according to Kernel Compilation Guide in ctag-face-2-4 repo
  2. Transfer zImage, dtbs, modules/firmware and config to BeagleBoard-X15 SD-Card
  3. Modify/Add uname_r=4.1.18+ to /boot/uEnv.txt
  4. Modify/Add dtb=am57xx-beagle-x15-ctag.dtb to /boot/uEnv.txt
  5. Reboot
  6. Generate initramfs (update-initramfs -c -k $(uname -r)

Prerequisites

Default Debian Images of BeagleBoard already include most of the required build tools (e.g. g++, make, opencl, ...). The library can be easily built using CMake (available in Debian repository). For execution TI DSPLIB is required, which is included in the BeagleBoard images. Simply create a symlink to /usr/share/ti/examples/opencl/dsplib_fft/dsplib.ae66 in code/libdsp-x15.

Build Process

  1. git clone https://github.com/henrix/libdsp-x15.git && cd libdsp-x15
  2. cd code/libdsp-x15
  3. cmake .
  4. make
  5. sudo cp libdsp-x15.so /usr/lib/
  6. sudo ldconfig

Prerequisites

  • libdsp-x15.so (see above)
  • JACK2: sudo apt-get install jackd2 libjack-jackd2-0 libjack-jackd2-dev
  • QT: sudo apt-get install qt4-default qt4-qmake

Build Process

  1. cd code/demo-realtime-plot
  2. qmake demo-realtime-plot-qt.pro
  3. make

Prerequisites

  • libdsp-x15.so (see above)
  • JACK (see above)
  • QT (see above)

Build Process

  1. cd code/demo-filter
  2. qmake demo-filter.pro
  3. make
Clone this wiki locally