Hi All
I have M.2-JODY-W2 connected to rock 3a to work.
I could to connect WiFi with the NXP driver. Below are the build steps.
> sudo git clone http://source.codeaurora.org/external/imx/mwifiex.git -b lf-5.10.72-2.2.2
> git clone https://github.com/NXP/imx-firmware.git -b lf-5.10.72_2.2.0
> cd mwifiex/
> cd mxm_wifiex/
> cd wlan_src/
> make -j 4 KERNELDIR=/usr/src/rk3568-kernel5.10-alldrivers-ubuntu22.04-kernel5.10-rk3568-rock3a-alldrivers-beta3 CROSS_COMPILE=/usr/bin/ build
However, I tried to make bluetooth work, but I cann’t know which UART device it is and it is not working.
Which tty connect to M.2 Key-E?
root@rock3a:/usr/src/nxp/mwifiex/lf-5.10.72-2.2.2# ls /dev/tty*
/dev/tty /dev/tty14 /dev/tty20 /dev/tty27 /dev/tty33 /dev/tty4 /dev/tty46 /dev/tty52 /dev/tty59 /dev/tty8
/dev/tty0 /dev/tty15 /dev/tty21 /dev/tty28 /dev/tty34 /dev/tty40 /dev/tty47 /dev/tty53 /dev/tty6 /dev/tty9
/dev/tty1 /dev/tty16 /dev/tty22 /dev/tty29 /dev/tty35 /dev/tty41 /dev/tty48 /dev/tty54 /dev/tty60 /dev/ttyFIQ0
/dev/tty10 /dev/tty17 /dev/tty23 /dev/tty3 /dev/tty36 /dev/tty42 /dev/tty49 /dev/tty55 /dev/tty61 /dev/ttyS1
/dev/tty11 /dev/tty18 /dev/tty24 /dev/tty30 /dev/tty37 /dev/tty43 /dev/tty5 /dev/tty56 /dev/tty62
/dev/tty12 /dev/tty19 /dev/tty25 /dev/tty31 /dev/tty38 /dev/tty44 /dev/tty50 /dev/tty57 /dev/tty63
/dev/tty13 /dev/tty2 /dev/tty26 /dev/tty32 /dev/tty39 /dev/tty45 /dev/tty51 /dev/tty58 /dev/tty7
My environment is below.
root@rock3a:~# uname -a
Linux rock3a 5.10.66-1-rockchip-g #2 SMP Mon May 23 21:26:21 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
root@rock3a:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"
root@rock3a:~# iw dev
phy#0
Interface wfd0
ifindex 5
wdev 0x3
addr ce:f9:57:e0:9f:15
type managed
txpower 24.00 dBm
Interface uap0
ifindex 4
wdev 0x2
addr cc:f9:57:e0:a0:15
type managed
txpower 24.00 dBm
Interface mlan0
ifindex 3
wdev 0x1
addr cc:f9:57:e0:9f:15
type managed
txpower 24.00 dBm