EasyManua.ls Logo

NXP Semiconductors UM11490 - Wi-Fi Driver Debugging; Enable the driver debug logs

NXP Semiconductors UM11490
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
3 Wi-Fi driver debugging
This section explains how to enable driver debug logs and access debug information.
Some debug logs can be enabled at runtime and driver load time. Other logs require
to first rebuild the driver with a specific configuration. The firmware dump methods to
generates dump file to debug on the firmware front are also detailed in this section.
3.1 Enable the driver debug logs
This section provides the guidelines on how to enable the driver debug logs using either
the module parameter or /proc at runtime.
3.1.1 Use the module parameter
Use the drvdbg module parameter to enable driver debug logs while the driver is
loading. Refer to Section 3.2 "Driver debug log types" for the module parameter values.
Edit the configuration file:
root@imx8mqevk:~# nano /lib/firmware/nxp/wifi_mod_para_sd8987.conf
Configuration file content:
SD8987 = {
cfg80211_wext=0xf
wfd_name=p2p
cal_data_cfg=none
fw_name=nxp/sdiouart8987_combo_v0.bin
drvdbg=< bit masks of driver debug message control>
}
3.1.2 Use /proc at runtime
Use the following command to enable driver debug logs when the driver is already
loaded:
root@imx8mqevk:~# echo "drvdbg=<bit masks of driver debug
message control>" > /proc/mwlan/adapter0/<interface>/debug
UM11490 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 2 — 29 January 2021
44 / 88

Table of Contents

Related product manuals