UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 22518

Using OPB PCI core (in ML310) doesn't start VxWorks on the Terminal

Description

Keywords: OPB, PCI, VxWorks

Problem description: I generated a project, under EDK, where I instantiated on ML310 a UARTLITE and a PLB_DDR. I then generated download.bit and the BSP for VxWorks. I connected the board with a serial channel. All works fine I can see the VxWorks banner on my terminal. However, the problem arise when I instantiate OPB_PCI core in my design. I can no longer see VxWorks banner on my terminal.

Solution

1

This is a result of a bug in the VxWorks MLD that prevents the creation of the INCLUDE_XPCI_VXWORKS5_4 constant from being defined in the BSP's ppc405_0_drv_config.h file. There are two ways to fix this issue:

1. Put "#define INCLUDE_XPCI_VXWORKS5_4" in the file "ppc405_0_drv_config.h".
Then manually copy the files "xpci_adapter.c" and "xpci_adapter.h" into the Tornado project.

OR

2. Add the following line towards the top of the C:\EDK\sw\lib\bsp\vxworks5_5\data\vxworks5_5_v2_1_0.tcl where you see other mappings:

set driver_adapter_list(pci_v1_01_a) "pci_vxworks5_4_v1_00_a"

After doing this, regenerate the BSP from XPS. This should take care of the _config.h file as well as copying the _adapter.c file to the BSP.

This will be fixed in EDK 8.1iSP1.



2

This problem has been fixed in the latest EDK 8.1i Service Pack available at:
<http://www.xilinx.com/xlnx/xil_sw_updates_home.jsp>
The first service pack containing the fix is EDK 8.1i Service Pack 1.
AR# 22518
Date Created 12/08/2005
Last Updated 04/30/2007
Status Archive
Type General Article