Hello NXP Community,
I’m unable to establish a P2P connection on the iMX8MP-EVK using MiracleCast (https://github.com/albfan/miraclecast) for Miracast. The connection starts but fails with an “unknown” reason. Below are the details.
Hardware and Software Setup
- Board: iMX8MP-EVK (6GB)
- Wi-Fi Module: AW-CM276MA
- OS: Yocto-LF_v6.12.3-1.0.0_images_IMX8MPEVK
- MiracleCast Version: Latest from https://github.com/albfan/miraclecast
- Wi-Fi Interfaces:
- mlan0: Station interface
- uap0: Access Point interface
- wfd0: Wi-Fi Direct interface
Steps
systemctl stop wpa_supplicant.service
sudo miracle-wifid &
sudo miracle-sinkctl
Select link (e.g., run 5), connection fails.
Logs MiracleCast
[ADD] Link: 5
[ADD] Link: 6
[ADD] Link: 7
run 5
[PROV] Peer: d2:39:fa:76:45:ad@5 Type: pbc
[GO NEG] Peer: d2:39:fa:76:45:ad@5 Type: pbc
[FAIL] Peer: d2:39:fa:76:45:ad@5 Reason: unknown
[REMOVE] Peer: d2:39:fa:76:45:ad@5
*Attaching the Journal log
ifconfig (mlan0 & wfd0)
mlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet 192.168.1.106 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::eafb:1cff:fee1:51d9 prefixlen 64 scopeid 0x20<link>
ether e8:fb:1c:e1:51:d9 txqueuelen 1000 (Ethernet)
RX packets 10 bytes 1426 (1.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26 bytes 3175 (3.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wfd0: flags=-28669<UP,BROADCAST,MULTICAST,DYNAMIC> mtu 1500
ether ea:fb:1c:e1:51:d9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Observations
- P2P negotiation starts, virtual interface (p2p-mlan0-0) is created, and association occurs.
- Connection fails with “unknown” reason; mlan0 shows no activity.
- rfkill: Cannot open RFKILL control device error appears.
Questions
- Has anyone used MiracleCast with iMX8MP-EVK ?
- Are there driver/firmware updates for P2P ?
- How to resolve the rfkill error?
Thank you for any assistance!
Best,