HI,
I am trying to reset DM6467 from HOST Linux PC through PCI interface. Below are my setups,
Setup 1:
1. XIO2001 EVM placed on PCIe slot of a Host PC (Linux)
2. One (1) DM6467 EVM placed on the PCI slot of XIO2001 EVM. And DM6467 EVM is in PCI boot mode.
Setup 2:
1. XIO2001 EVM placed on PCIe slot of a Host PC (Linux)
2. Two (2) DM6467 EVMs placed on the PCI slots of XIO2001 EVM. And Both DM6467 EVMs are in PCI boot mode.
My requirement:
1. Reset individual DM6467 EVMs from Host PC (Linux)
My Observations:
1. In setup one(1), we are able to load the software to DM6467 EVM. Here XIO2001 and one DM6467 are enumerated on Host Linux PC(lspci). And we are able to reset DM6467 EVM from Host PC through "echo 1 > /sys/bus/pci/devices/<device_id>/reset". Once reset, we are able to load the software again through Host PC onto DM6467 EVM. And it is working fine.
2. In setup two (2), Here XIO2001 and two DM6467s are enumerated on Host Linux PC. But, we are not getting the "/sys/bus/pci/devices/<device_id>/reset" entry at all for both the DM6467 devices
3. In the setup one (1), if the reset button is pressed on the DM6467 EVM, the EVM goes to reset state. However, if we try to load the software on DM6467 EVM again, the Host PC hangs/freezes.
4. In the setup two (2), both the EVMs are loaded with software from Host PC and both are running fine. Now pressing reset button on one DM6467 EVM, resets the other DM6467 EVM also.
5. Continuation of Observation 4, if we try to load the software on any of the DM6467 EVM's the Host PC hangs/freezes.
6. Resetting the XIO2001 through PCI register "3E" bit 6, resets both DM6467 EVMs. However again while loading the software from Host PC, the Host PC hangs.
Is there a way to reenumerate the PCI devices from Host Linux PC.
Any hints on the above observations?. Please share
Regards,
Santosh