Linux Firmware Debug Kit (lfdk) provides read/write functions to PCI[1], IO and memory spaces.
lfdk's deb package is available but it is outdated. I usually download [3] and compile source code, and run ldfk manually in a terminal (ctrl
- sudo apt-get install -f git libncurses-dev
- git clone https://github.com/alexhungce/lfdk1.git
- cd lfdk
- make
- cd bin
- sudo insmod ./lfdd_drv.ko
- sudo ./lfdk
A familiar screen will pop up
The navigation is to use arrow keys and hotkeys L, M and I to different spaces as instructed on the bottom of the lfdk.
[1] Built-in lspci command can be used to read PCI configuration space, too
[2] This is tested in Ubuntu Linux 12.04 to 15.04.
[3] One can also download the source code from sourceforge.net above.
Alex, some minor correction in your step 3 of building lfdk, it should "cd lfdk1". Great tool! thanks for sharing it. :)
ReplyDelete