CONFIDENTIAL
Z3-DM8168-PCI-RPS V1.05.01c
___________________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
38
10.4 Using the DM8168 PCI Express interface
The PCI Express interface on the DM8168 provides a direct high speed access path between the host and
the DM8168 memory space. A good example of how this can be used is booting the DM8168 using the PCIe
interface. The host PC can upload the u-boot, kernel and root file system in the DM8168 memory space via
PCIe bus, then let the DM8168 execute it.
Example software to boot the Z3-DM8168-PCI-RPS system via the PCIe bus is provided as part of the EZSDK
in the …/ezsdk/example-applications/linux-driver-examples-psp*/pcie directory. The boot example
application takes command line parameters with the file names for u-boot, kernel and root file system,
uploads them and boots the DM8168.
The application relies on an underlying device driver to provide low-level access to the DM8168 device
addresses as set by the BAR registers in PCI configuration space. An example Linux driver is provided in the
kernel tree, at …/kernels/drivers/char. The files ti81xx_pcie_bootdrv.c and ti81xx_pcie_bootdrv.h
implement the driver entirely. You can move them to the host PC running Linux and compile them to
create a loadable module on the host machine.
The document “DM816x_AM389x_PCI_Express_Endpoint_Boot_Driver_User_Guide.pdf” is a must read. It can
be found in the …/ezsdk/board-support/docs directory.