-
Notifications
You must be signed in to change notification settings - Fork 5
A.J.'s Notes
##TODO: ###Delphino:
- Combine UART and DMA to DMA to and from UART Tx/Rx buffers.
Day | Description |
---|---|
#1/6/15 | setup workstations |
#1/7/15 | Beaglebone kernel |
#1/8/15 | Delphino UART/DMA |
#1/9/15 | Xenomai on the Beaglebone |
#1/10/15-1/11/15 | Beaglebone Kernel |
#1/12/15 | Beaglebone Xenomai |
Unbricked the Beaglebone and ended up re bricking it multiple times while attempting to install Xenomai from source. I downloaded a (pre built image)[https://rcn-ee.net/rootfs/2015-01-06/flasher/BBB-eMMC-flasher-debian-7.7-console-armhf-2015-01-06-2gb.img.xz] which had linux-rt as the kernel. While it worked it broke the usb capabilities meaning the only way to communicate with the device was via SSH. Since this works
#Xenomai on the Beaglebone Installation attempted again and failed. The problem appears to be that the build scripts are broken and generate files instead of directories. One of the problems being in /lib/modules/3.8.13-bone69 with the folders kernel build and source
Also of an annoyance the build script deleted most of the filesystem.
I got the sample code for UART and DMA to work and tested doing both in a dual core setting. It's worth noting that the sample code for the UART does not entirely work as stated "Characters typed in one terminal should be echoed in the other and vice versa.". As it originally was only the data from the micro-USB (/dev/ttyACM0) to the mini-USB (/dev/ttyUSB0) was mirrored.
For DMA everything worked great after the pins were discovered, have a look at TMDSCNCD28377D_180cCARD_pinout_R1_1.pdf in F28377D Pinouts-Schematics.tar.gz for what pins are what.
The current kernel on the Beaglebone, standard Linux, has latency issues and will not respond to interrupts fast enough. Two kernels were investigated linux-rt and Xenomai. Based on this article Xenomai meets our situation better. It additionally is easier to install since there are instructions for installation (also see this link)[http://brunosmartins.info/xenomai-on-the-beaglebone-black-in-14-easy-steps/]). Note: I did not finish compiling the kernel and will have to resume this work later on.
Installed Ubuntu, core development packages, and Code Composer.
libudev0 doesn't exist in current repositories used a symlink from version 1:
ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0