主题:TPS65219 中讨论的其他器件
工具/软件:
您好 TI 论坛、
在定制硬件板上移植 TI AM62x AOSP 15 SDK (v10_01_01) 时、我遇到了一个问题、我获得了 AOSP 15 GUI、电路板上的所有内容都已正确启动。 在我的定制硬件上、 使用的 Wi-Fi 模块是 UBlox Maya-W160-00b。 此模块内部具有 NXP IW416 芯片、因此我配置了适当的所需固件以及与此相关的所有内容。
问题如下:启动电路板时、创建 mlan0 节点(通过 ifconfig 命令进行验证)。 当我通过 Android GUI 检查 Wi-Fi 接口功能时、电路板正在重新启动。 稍后在 dmesg 日志中、我发现有一些崩溃、并粘贴在下面。
console:/ # [ 137.022607][ T262] servicemanager: Caller(pid=625,uid=1000,sid=u:r:system\_server:s0) Found android.hardware.wifi.supplicant.ISupplicant/default in device VINTF manifest. [ 137.043775][ T262] servicemanager: Caller(pid=625,uid=1000,sid=u:r:system\_server:s0) Found android.hardware.wifi.supplicant.ISupplicant/default in device VINTF manifest. [ 137.072130][ T262] servicemanager: Caller(pid=625,uid=1000,sid=u:r:system\_server:s0) Since 'android.hardware.wifi.supplicant.ISupplicant/default' could not be found trying to start it as a lazy AIDL service. (if it's not configured to be a lazy service, it may be stuck starting or still starting). [ 137.117620][ T1] init: starting service 'wpa\_supplicant'... [ 137.129670][ T1] init: Created socket '/dev/socket/wpa\_wlan0', mode 660, user 1010, group 1010 [ 137.241597][ T1] init: ... started service 'wpa\_supplicant' has pid 1773 [ 137.249870][ T1] init: Control message: Processed ctl.interface\_start for 'aidl/android.hardware.wifi.supplicant.ISupplicant/default' from pid: 262 (/system/bin/servicemanager) [ 137.504288][ T1773] capability: warning: \`wpa\_supplicant' uses 32-bit capabilities (legacy support in use) [ 137.551981][ T262] servicemanager: Caller(pid=1773,uid=1010,sid=u:r:hal\_wifi\_supplicant\_default:s0) Found android.hardware.wifi.supplicant.ISupplicant/default in device VINTF manifest. [ 137.571980][ T262] BpBinder: onLastStrongRef automatically unlinking death recipients: [ 138.031136][ T559] Internal error: UBSAN: array index out of bounds: 00000000f2005512 [#1] PREEMPT SMP [ 138.040618][ T559] Modules linked in: pru\_rproc irq\_pruss\_intc cdns\_csi2rx spidev snd\_soc\_simple\_card snd\_soc\_simple\_card\_utils mcrc64 cpufreq\_dt ti\_am65\_cpsw\_nuss gpio\_tps65219 am65\_cpts ti\_k3\_r5\_remoteproc k3\_cppi\_desc\_pool pruss ptp ov5640 pps\_core spi\_cadence\_quadspi j721e\_csi2rx snd\_soc\_davinci\_mcasp snd\_soc\_ti\_sdma snd\_soc\_ti\_udma spi\_omap2\_mcspi pvrsrvkm(O) snd\_soc\_ti\_edma pwm\_tiehrpwm k3\_udma\_glue k3\_udma mwifiex\_sdio irq\_ti\_sci\_inta irq\_ti\_sci\_intr k3\_ringacc mwifiex sci\_clk reset\_ti\_sci ti\_sci\_pm\_domains cfg80211 davinci\_mdio i2c\_omap i2c\_mux\_pca954x ti\_sci optee mdio\_gpio mux\_mmio optee\_rng palmas\_regulator tidss phy\_can\_transceiver zram sii902x 8250\_omap cdns\_dphy cdns\_dphy\_rx rfkill cdns\_dsi mdio\_bitbang cma\_heap drm\_dma\_helper display\_connector dwc3\_am62 dwc3\_of\_simple dwc3\_haps gpio\_davinci gpio\_pca953x mux\_core gpio\_regulator i2c\_dev i2c\_mux ili210x ite\_it66121 k3\_j72xx\_bandgap k3\_bandgap k3\_psil\_lib omap\_hwspinlock omap\_mailbox palmas tee panel\_simple phy\_cadence\_torrent phy\_gmii\_sel phy\_j721e\_wiz [ 138.040999][ T559] phy\_omap\_usb2 reset\_ti\_syscon pwrseq\_simple rtc\_ti\_k3 rpi\_panel\_attiny\_regulator rti\_wdt snd\_soc\_nau8822 sa2ul sdhci\_am654 system\_heap syscon\_clk tps65219 ti\_msgmgr tc358762 tps6598x tps65219\_pwrbutton zsmalloc tps65219\_regulator [ 138.152986][ T559] CPU: 3 PID: 559 Comm: wificond Tainted: G O 6.6.66-android15-8-maybe-dirty-4k #1 ffdbf223efec4d508ceef806d2a4948ba488def5 [ 138.175363][ T559] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 138.183026][ T559] pc : mwifiex\_scan\_channel\_list+0x32c/0x340 [mwifiex] [ 138.189989][ T559] lr : mwifiex\_scan\_channel\_list+0x120/0x340 [mwifiex] [ 138.196884][ T559] sp : ffffffc086683760 [ 138.200893][ T559] x29: ffffffc0866837b0 x28: ffffff800ed36a62 x27: 0000000000000050 [ 138.208734][ T559] x26: 0000000000000000 x25: 0000000000000002 x24: 0000000000000000 [ 138.216567][ T559] x23: ffffff800ed34000 x22: ffffff804bf54843 x21: 0000000000000004 [ 138.224419][ T559] x20: ffffff804bf54800 x19: ffffff804feb4e15 x18: ffffffc08665d090 [ 138.232258][ T559] x17: 2802010000070101 x16: 0000000000000000 x15: 0000010000000000 [ 138.240112][ T559] x14: 000001000000ff03 x13: 6c6048302418120c x12: 160b0402000c0001 [ 138.247951][ T559] x11: 0028002802010000 x10: 0000000000000842 x9 : bb5efe8298d4e700 [ 138.255787][ T559] x8 : bb5efe8298d4e700 x7 : 0000000000000028 x6 : 0000000000000001 [ 138.263622][ T559] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000004 [ 138.271454][ T559] x2 : ffffffc07a7d61af x1 : 0000000040000000 x0 : ffffff800f6f0000 [ 138.279292][ T559] Call trace: [ 138.282439][ T559] mwifiex\_scan\_channel\_list+0x32c/0x340 [mwifiex c23a741b15e2fd2646479ecf17381ab9717bf3ba] [ 138.292557][ T559] mwifiex\_scan\_networks+0x158/0x260 [mwifiex c23a741b15e2fd2646479ecf17381ab9717bf3ba] [ 138.302365][ T559] mwifiex\_cfg80211\_scan+0x3c4/0x898 [mwifiex c23a741b15e2fd2646479ecf17381ab9717bf3ba] [ 138.312171][ T559] rdev\_scan+0x5c/0x170 [cfg80211 3a372a0ded09ea00e6fd0682132be8877b7c648e] [ 138.322249][ T559] cfg80211\_scan+0x34/0x180 [cfg80211 3a372a0ded09ea00e6fd0682132be8877b7c648e] [ 138.332656][ T559] nl80211\_trigger\_scan+0xaf8/0xb34 [cfg80211 3a372a0ded09ea00e6fd0682132be8877b7c648e] [ 138.344319][ T559] genl\_rcv\_msg+0x30c/0x354 [ 138.348719][ T559] netlink\_rcv\_skb+0x134/0x150 [ 138.353376][ T559] genl\_rcv+0x34/0x50 [ 138.357246][ T559] netlink\_unicast+0x254/0x3ec [ 138.361910][ T559] netlink\_sendmsg+0x2e0/0x3d4 [ 138.366586][ T559] \_\_sys\_sendto+0x1c8/0x258 [ 138.370978][ T559] \_\_arm64\_sys\_sendto+0x28/0x3c [ 138.375699][ T559] invoke\_syscall+0x58/0x114 [ 138.380190][ T559] el0\_svc\_common+0xac/0xe0 [ 138.384608][ T559] do\_el0\_svc+0x1c/0x28 [ 138.388653][ T559] el0\_svc+0x38/0x68 [ 138.392464][ T559] el0t\_64\_sync\_handler+0x68/0xbc [ 138.397405][ T559] el0t\_64\_sync+0x1a8/0x1ac [ 138.401811][ T559] Code: a9457bfd 9102c3ff f85f8e5e d65f03c0 (d42aa240) [ 138.408599][ T559] ---[ end trace 0000000000000000 ]--- [ 138.413917][ T559] Kernel panic - not syncing: UBSAN: array index out of bounds: Fatal exception [ 138.422792][ T559] SMP: stopping secondary CPUs [ 138.427445][ T559] Kernel Offset: disabled [ 138.431626][ T559] CPU features: 0x000000,00000008,000a0000,1000421b [ 138.438060][ T559] Memory Limit: none
在更详细地探究此问题后、我发现 mwifiex 驱动程序存在一些问题。 因此、通过使用适当的修复进行修改、我能够修复上面粘贴的崩溃。 现在、通过这项更改、我可以在打开 Wi-Fi 网络的同时在 GUI 上看到 Wi-Fi 网络。 不过、主要问题是我无法使用所选的网络名称进行连接。
您能否建议通过 AOSP GUI 在 TI AM62x EVK 板上 Wi-Fi 功能是否正常工作?
这是已知问题还是任何 AOSP 框架相关问题?