The source code for the DT78xx kernel device drivers, device tree, and examples must be installed in specific directories under the TI SDK directory. (By default, the TI SDK is installed in the following directory: /opt/ti-sdk-am335x-evm-07.00.00.00/).
To install the DT7816 source code in the TI SDK directory, perform the following steps:
From the Software Download tab of the DT7816 page on our website, download the installation program DT78XX-setup-3.2.bz2.run (where 3.2 represents the version of the file) to a directory (such as /tmp) on your Linux host computer. Note that it is recommended that you check our website for any updates to this installation file. If an updated file is available, install the updated installation file instead, changing the name of the file in the following steps as needed.
On the Linux host computer, change to the directory where you downloaded the installation program. For example, if you downloaded the installation program to the /tmp directory, enter the following command:
# cd /tmp
Make the installation file executable using the following command:
# chmod +x DT78XX-setup-3.2.bz2.run
Execute the downloaded installation program with the argument --target <path-to-TI_SDK>. For example, if the TI SDK is installed in the directory /opt/ti-sdk-am335x-evm-07.00.00.00/, enter the following command:
# ./DT78XX-setup-3.2.bz2.run --target /opt/ti-sdk-am335x-evm-07.00.00.00/
The installation program installs the source code and makefiles for the DT78xx device drivers, examples, and documentation under the TI SDK directory as follows:
board-support/extra-drivers/dt78xx/ - This directory contains the source code and makefile to build the base driver common to all variants of the DT78xx.
board-support/extra-drivers/dt78xx/dt7816 - This directory contains the source code and the makefile to build the DT7816 driver and the board-specific device tree.
board-support/extra-drivers/dt78xx/dt7837 - This directory contains the source code and the makefile to build the DT7837 driver and the board-specific device tree.
board-support/extra-drivers/dt78xx-usb-gadget/ - Contains the source code and the makefile to build the DT78xx USB gadget driver. This driver is used to communicate with a USB host computer.
example-applications/dt78xx-examples/ - This directory contains all the example programs for the DT78xx modules.
You can now download and install the FFTW library, if desired, and build the examples.