• Amitkumar Karwar's avatar
    mwifiex: add more dump information for PCIe interface · 7e174833
    Amitkumar Karwar authored
    We will now dump MAC, APU, CIU, ICU firmware memory segments also
    for PCIe interface. Following is the updated userspace script which
    reads firmware dump information.
    
        mwifiex_pcie_fw_dump.sh: #!/bin/bash
        ethtool --set-dump mlan0 0
        ethtool --get-dump mlan0
        ethtool --get-dump mlan0 data /tmp/ITCM.log
    
        ethtool --set-dump mlan0 1
        ethtool --get-dump mlan0
        ethtool --get-dump mlan0 data /tmp/DTCM.log
    
        ethtool --set-dump mlan0 2
        ethtool --get-dump mlan0
        ethtool --get-dump mlan0 data /tmp/SQRAM.log
    
        ethtool --set-dump mlan0 3
        ethtool --get-dump mlan0
        ethtool --get-dump mlan0 data /tmp/IRAM.log
    
        ethtool --set-dump mlan0 4
        ethtool --get-dump mlan0
        ethtool --get-dump mlan0 data /tmp/APU.log
    
        ethtool --set-dump mlan0 5
        ethtool --get-dump mlan0
        ethtool --get-dump mlan0 data /tmp/CIU.log
    
        ethtool --set-dump mlan0 6
        ethtool --get-dump mlan0
        ethtool --get-dump mlan0 data /tmp/ICU.log
    
        ethtool --set-dump mlan0 7
        ethtool --get-dump mlan0
        ethtool --get-dump mlan0 data /tmp/MAC.log
    Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
    Signed-off-by: default avatarCathy Luo <cluo@marvell.com>
    Signed-off-by: default avatarAvinash Patil <patila@marvell.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    7e174833
main.h 37.7 KB