These sources build the Linux kernel, DT78xx device drivers (loadable kernel modules), device tree, bootloaders, and filesystem. The following are the important make files and source directories:
dt78xx.mak – The top-level makefile for the DT78xx modules. This has targets to build the Linux kernel, DT78xx device drivers, and device tree.
board-support/extra-drivers/dt78xx – Contains the source code and makefile to build the base driver common to all variants of the DT78xx.
The following files are
built in this directory:
Files |
Description |
dt78xx.ko |
The common base driver. |
board-support/extra-drivers/dt78xx/dt7837 – Contains the source code and the makefile to build the DT7837 driver and the board-specific device tree. All board-specific drivers use functions that are exported from the base driver file dt78xx.ko.
The following files are built in this directory.
Files |
Description |
dt7837.ko |
DT7837 device driver. |
dtb/dt7837.dtb |
DT7837 device tree. |
board-support/extra-drivers/dt78xx/dt7816 – Contains the source code and the makefile to build the DT7816 driver and the board-specific device tree. All board-specific drivers use functions that are exported from the base driver file dt78xx.ko.
The following files are
built in this directory.
Files |
Description |
dt7816.ko |
DT7816 device driver. |
dtb/dt7816.dtb |
DT7816 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.
The following files are built in this directory:
Files |
Description |
g_dt78xx.ko |
DT78xx USB gadget driver. |