Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 148938

Forum Post: Linux PCI rescan/enable error on Sitara AM389X

$
0
0

Hello everybody,

I'm working with an FPGA connected to a Sitara processor. I configure the FPGA once the system is up and running, and of course at this point the kernel has already probed the PCIe bus and hasn't see anything powered yet.  I'd like to be able to rescan the PCIe bus once the device is configured and the PCIe core is running.

I tryed a little bit with /sys/bus/pci/* without results.

 

# ls -la /sys/bus/pci/devices/ drwxr-xr-x    2 root     root            0 Aug  1 16:26 . drwxr-xr-x    5 root     root            0 Aug  1 16:26 .. lrwxrwxrwx    1 root     root            0 Aug  1 16:26 0000:00:00.0 -> ../../../devices/pci0000:00/0000:00:00.0 lrwxrwxrwx    1 root     root            0 Aug  1 16:26 0000:01:00.0 -> ../../../devices/pci0000:00/0000:00:00.0/0000:01:00.0 # echo 1 > /sys/bus/pci/devices/0000\:01\:00.0/enable  # dmesg ... pci 0000:01:00.0: Refused to change power state, currently in D3

I use a Linux Kernel 2.6.37 (I activate in the kernel config CONFIG_HOTPLU_PCI...).

Any idea?

Thanks in advance,

Simone


Viewing all articles
Browse latest Browse all 148938

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>