Getting Started Guide for DM3730 Beagleboard-xM
From RidgeRun Developer Connection
This guide includes instructions and tips users should follow to get their BeagleBoard-xM to work with the RidgeRun's SDK Turrialba Evaluation SDK. For this guide different commands need to be executed on the host machine and the target. Commands to be run on the Ubuntu host have a yellow background. Commands to be run on the Ubuntu target have an aqua background.
The RidgeRun SDK offers a great set of features for the Beagleboard-xM, you can get these features on a nutshell on the BeagleBoard-xM Evaluation SDK page. To understand the Turrialba SDK basic structure be sure to check out our RidgeRun Turrialba SDK User Guide.
3. DVSDK_4 Installation . If your are using Ubuntu 12.04 you might need to installing it with the option --forcehost:
sudo chmod a+x dvsdk_dm3730-evm_4_03_00_06_setuplinux ./dvsdk_dm3730-evm_4_03_00_06_setuplinux --forcehost
4. Host Configuration .
6. Build SDK
Install bootloader and kernel on BeagleBoard-xM
Unlike the Beagleboard, the Beagleboard-xM does not have internal storage and you can only boot your Beagleboard-xM from a micro SD card. You can follow the steps described in How to boot a board from a SD card to set everything up.
Target file image
Currently, the Beagleboard-xM Turrialba Evaluation SDK supports two modes for root file system
With the Beagleboard-xM Turrialba Evaluation SDK you can set a file system directory over NFS as root file system. For the details be sure to check out How to use root NFS file system guide.
As a another alternative you can put the target root file system on a partition on the same micro SD card as the image for bootloader and kernel. On the your Devdir command line run:
And in the File System Configuration menu set the File system image target to Secure Digital Card as on Fig. 1.
When you deploy the bootloader and the kernel image to the SD card you will deploy the file system as well (but in different partition), remember to check How to boot a board from a SD card to get instructions on how deploy all the firmware to a micro SD card.
Using the board's features
This section shows how to use some of the basic features of the board using the RidgeRun's SDK Turrialba.
Using the Camera module input
Currently only the VGA leopard imaging sensor (mt9v113) is supported. In order to use this camera module some changes need to be made on the devdir:
Modify the the fs/overlay/etc/init.d/mdev file of the devdir by adding:
#Getting the mayor and minor number for the device MAJOR=`cat /sys/bus/media/devices/media0/dev | cut -d':' -f1` MINOR=`cat /sys/bus/media/devices/media0/dev | cut -d':' -f2` # Force /dev/media0 to be created required by the camera sensor mknod /dev/media0 c $MAJOR $MINOR
After installing on the target, the following command must be run to register the devices:
media-ctl -r -l '"mt9v113 2-003c":0->"OMAP3 ISP CCDC":0, "OMAP3 ISP CCDC" :1->"OMAP3 ISP CCDC output":0'
The mt9v113 2-003c identifier correspond to the camera sensor, the i2c-bus and the i2c-address.
Using the DVI-D output
The DVI-D is set as at the default video output on the Beagleboard-xM Turrialba SDK. Be sure to check the screen resolution on the bootargs in order to get a compatible output; on the RidgeRun SDK kernel configuration you can find it as on the Fig. 2.
Using the Audio input/output
To configure the audio capture using the input jack of the Beagleboard-xM you must set the correct control contents for the ALSA soundcard mixer. You can set it by executing the following commands:
amixer sset 'Analog' 1 amixer sset 'Analog Left AUXL' cap amixer sset 'Analog Right AUXR' cap amixer sset 'TX1' 'Analog' amixer sset 'TX1 Digital' 5
The audio playback using the output jack of the Beagleboard-xM can be set by executing the following commands:
amixer sset 'DAC1 Digital Fine' 40 amixer sset 'Headset' 2 amixer sset 'HeadsetL Mixer AudioL1' on
To purchase a professional SDK, please contact us for more information, we'll be glad to help.