Thread 中讨论的其他器件:WL1837
工具与软件:
大家好!
我们将 imx8mp 用于 wl1837 WLAN 模块、内核版本为 6.12.13、并且我们使用 18xx-ti-utils 提供的校准器工具来执行监管测试。
问题是、 在我们将 WLAN 模块固件从 R8.9.0.0.90升级到 R8.9.1.0.2_FIPS 后、校准器工具无法正常工作。 我不知道 PLT 模式是否受 R8.9.1.0.2_FIPS 版本限制、因为当我用 R8.9.1.0.2 非 FIPS 版本替换固件时、校准器可以正常工作。 这是测试结果。
固件来自 git://git.ti.com/wilink8-wlan/wl18xx_fw.git
*校准器可以与 R8.9.0.0.90配合使用,该固件版本来自 commit id d2588c16809ecca8e0dc7ea011fc6180c7b08a92
* 校准器可以与 R8.9.1.0.2配合使用、该固件版本来自提交 ID 685097375c6530c98ce052fcd160001abaa1b256
*校准器无法使用 R8.9.1.0.2_FIPS,此固件版本来自 commit id 0fd0e89a89fe8b9ee9ceca9479e531c255a64356
下面是我使用固件版本.R8.9.1.0.2_FIPS 时的输出和内核日志。
```μ A
~# ifconfig wlan0 down
~# calibrator --debug wlan0 plt power_mode on
--调试:收到的消息:
--------------- 开始 NetLink 消息--------------------------------------------------------
[NetLink 标头] 16个八位位组
.nlmsg_len = 68
.type = 2
.flags = 0 <>
.Seq = 1741613516
.port = 1405095400
[errormsg] 20个八位位组
.error =-5"输入/输出错误"
[原始消息] 16个八位位组
.nlmsg_len = 16
.type = 24 <0x18>
.flags = 5
.Seq = 1741613516
.port = 1405095400
--------------- 结束 NetLink 消息--------------------------------------------------------
命令失败:输入/输出错误(-5)
[ 1282.711350] wlcore:下
[ 1291.495319] wlcore:测试模式 cmd set plt mode
[ 1291.495345] wlcore:加电
[ 1291.844972] wlcore:引导固件 ti-connectivity/wl18xx-fw-4.bin
[1291.851418] wlcore:要上传的固件块:15.
[ 1291.851447] wlcore:块14地址0x0 len 120860
[1291.851456] wlcore:开始固件上传
[ 1291.851461] wlcore:fw_data_len 120860 chunk_size 16384
[ 1291.851691] wlcore:正在将 FW 块0x00000000ef3deb87上载至0x0
[1291.853162] wlcore:将 FW 块0x00000000b27c0bee 上载到0x4000
[ 1291.854630] wlcore:将 FW 块0x00000000bec4ca33上载到0x8000
[1291.856108] wlcore:将 FW 块0x000000000a88f810上载到0xc000
[ 1291.857782] wlcore:将固件块0x000000002ddf3848上载至0x10000
[1291.859255] wlcore:正在上传固件块0x00000000aca91a18至0x14000
[ 1291.860726] wlcore:正在上传 FW 块0x00000000da97fbf4至0x18000
[ 1291.862189] wlcore:正在上传固件最后一块(6172 B) 0x000080501a2f 至0x1c000
[ 1291.862791] wlcore:块13地址0x100000 len 131072.
[ 1291.862801] wlcore:开始固件上传
[ 1291.862806] wlcore:fw_data_len 131072 block_size 16384
[ 1291.863304] wlcore:上传 FW 块0x000000007a2f456a 至0x100000
[ 1291.864976] wlcore:上传固件块0x000081b9a2ce 至0x104000
[ 1291.866648] wlcore:正在上传固件块0x000000008f76b2b0至0x108000
[ 1291.868331] wlcore:正在将 FW 块0x00000000a6010098上载到0x10c000
[ 1291.870012] wlcore:正在上传固件块0x000000004e177535至0x110000
[ 1291.871714] wlcore:上传 FW 块0x00000000a998154b 至0x114000
[1291.873396] wlcore:将 FW CHUNK 0x0000000002058433上传到0x118000
[1291.875103] wlcore:正在上传固件块0x00000000afb2f7d1至0x11c000
[ 1291.876562] wlcore:将 FW Last Block(0 B) 0x00000000534d8f15上载到0x120000
[1291.876776] wlcore:块12地址0x20400000 len 54052
[1291.876786] wlcore:开始固件上传
[ 1291.876791] wlcore:fw_data_len 54052 block_size 16384
[ 1291.877229] wlcore:正在上传固件块0x0000000065c36a05至0x20400000
[1291.878903] wlcore:将 FW 块0x00000000b5cde773上载到0x20404000
[ 1291.880600] wlcore:将 FW 块0x0000000016502211上载到0x20408000
[ 1291.882062] wlcore:正在上传固件最后一块(4900B) 0x000000002f282ca5至0x2040c000
[ 1291.882551] wlcore:块11 addr 0xb00000 len 536
[1291.882560] wlcore:开始固件上传
[ 1291.882565] wlcore:fw_data_len 536 chunk_size 16384
[ 1291.882785] wlcore:正在将 FW 最后一块(536 B) 0x00000000e9d863ae 上传到0xb00000
[ 1291.882892] wlcore:block10 addr 0xb0ae40 len 28708
[1291.882901] wlcore:开始固件上传
[ 1291.882906] wlcore:fw_data_len 28708 block_size 16384
[ 1291.883365] wlcore:将 FW 块0x000000001343151f 上载到0xb0ae40
[ 1291.884832] wlcore:将 FW Last Block(12324 B) 0x0000000030cd7872上载到0xb0ee40
[ 1291.885974] wlcore:块9地址0x80900000 len 61692
[ 1291.885986] wlcore:开始固件上传
[ 1291.885992] wlcore:fw_data_len 61692 chack_size 16384
[ 1291.886226] wlcore:将 FW 块0x00000000caa8f035上载到0x80900000
[ 1291.887700] wlcore:正在将 FW 块0x00000000468ece67上载到0x80904000
[1291.889172] wlcore:正在将 FW 块0x000000001d80abbd 上载到0x80908000
[ 1291.890639] wlcore:正在上传固件最后一块(12540 B) 0x00000000e6d2d467至0x8090c000
[1291.891804] wlcore:block8 addr 0x80920000 len 31992.
[1291.891817] wlcore:开始固件上传
[ 1291.891822] wlcore:fw_data_len 31992 chunk_size 16384.
[ 1291.892059] wlcore:正在将 FW 块0x0000000053ca9d37上载到0x80920000
[ 1291.893529] wlcore:正在上传固件最后一块(15608 B) 0x00000000ee95902c 至0x80924000
[ 1291.894946] wlcore:块7地址0x80940000 len 6144
[ 1291.894955] wlcore:开始固件上传
[ 1291.894961] wlcore:fw_data_len 6144 chack_size 16384
[ 1291.895221] wlcore:将固件最后一块(6144 B) 0x000000009f02dc3d 上载到0x80940000
[ 1291.895794] wlcore:块6地址0x80944000 len 6144
[1291.895803] wlcore:开始固件上传
[ 1291.895809] wlcore:fw_data_len 6144 chack_size 16384
[ 1291.896034] wlcore:正在上传固件最后一个块(6144 B) 0x0000c8a0abe5至0x80944000
[ 1291.896604] wlcore:块5地址0x80948000 len 6144
[1291.896613] wlcore:正在启动固件上传
[ 1291.896618] wlcore:fw_data_len 6144 chack_size 16384
[ 1291.896842] wlcore:正在上传固件最后一个块(6144 B) 0x0000335a8074至0x80948000
[ 1291.897412] wlcore:块4地址0x8094c000 len 6144
[1291.897421] wlcore:开始固件上传
[ 1291.897426] wlcore:fw_data_len 6144 chack_size 16384
[ 1291.897651] wlcore:上传固件最后一块(6144 B) 0x00000000ca280812至0x8094c000
[ 1291.898221] wlcore:块3地址0x80950000 len 8192
[1291.898230] wlcore:开始固件上传
[ 1291.898235] wlcore:fw_data_len 8192 chack_size 16384
[1291.898459] wlcore:将固件最后一块(8192 B) 0x00000000565387ea 上载到0x80950000
[ 1291.899214] wlcore:块2地址0x80960000 len 21260
[1291.899226] wlcore:开始固件上传
[ 1291.899231] wlcore:fw_data_len 21260 block_size 16384
[1291.899464] wlcore:上传固件块0x00000000f36e9fef 至0x80960000
[ 1291.900924] wlcore:正在将固件上一个块(4876 B) 0x000078306af6上载到0x80964000
[ 1291.901409] wlcore:块1地址0x80953000 len 1536
[1291.901418] wlcore:开始固件上传
[ 1291.901424] wlcore:fw_data_len 1536 chack_size 16384
[1291.901647] wlcore:正在上传固件最后一块(1536 B) 0x0000f5be13f6至0x80953000
[ 1291.901817] wlcore:块0地址0x80958000 len 24576
[1291.901826] wlcore:开始固件上传
[ 1291.901832] wlcore:fw_data_len 24576 block_size 16384
[ 1291.902060] wlcore:将 FW 块0x00000000823cdb56上载到0x80958000
[ 1291.903527] wlcore:正在上传固件最后一块(8192 B) 0x000059a7af6f 至0x8095c000
[ 1291.904864] wlcore:固件启动后的芯片 ID:0x6030111
[1294.449172] wlcore:等待硬件完成初始化时出现错误超时
```μ A
谢谢。
刘亦伟