lnls-dig / uhal

HAL for LNLS's μTCA platform
https://lnls-dig.github.io/uhal/
GNU General Public License v3.0
0 stars 1 forks source link

Create operating mode equivalent to `ls /dev/fpga` #31

Closed ericonr closed 1 month ago

ericonr commented 11 months ago

On a machine without the driver used by HALCS, it's hard to find out which devices are active for the kernel, because there aren't /dev/fpga-* device files. decode-reg should be able to show similar information.

ericonr commented 11 months ago

Bonus: add echo 1 | sudo tee /sys/bus/pci/rescan operation mode to decode-reg as well.

ericonr commented 1 month ago

https://github.com/lnls-dig/bpm-cfg/pull/8 creates such a script in a shell oneliner, so there's little reason to develop a replacement.