AM62 Wifi Device Not Appearing

AM62 Q 1GB WB IT V1.0A
Mallow Board V1.1A
TorizonCore 6.7.0 Build 23

I just installed TorizonCore 6.7 onto an AM62 Q 1GB WB IT V1.0A using a Mallow Board V1.1A. I am following the quick start guide and the next steps are to get the wifi setup.

When I searched on the forums here, I found this thread that seems to be talking about the same issues I am currently having, however they noted that the problem should have been fixed months ago. Verdin AM62 WiFi not working

I checked my devices and no mlan0 is available as I would expect to see based on my experiences with the Colibri modules.

torizon@verdin-am62-15036754:~$ nmcli device status
DEVICE     TYPE      STATE        CONNECTION
ethernet0  ethernet  connected    network0
ethernet1  ethernet  unavailable  --
docker0    bridge    unmanaged    --
can0       can       unmanaged    --
can1       can       unmanaged    --
sit0       iptunnel  unmanaged    --
lo         loopback  unmanaged    --

Here is the output from tdx-info

Software summary
------------------------------------------------------------
Bootloader:               U-Boot
Kernel version:           6.1.80-6.7.0-devel+git.603f75dc931d #1-TorizonCore SMP PREEMPT Fri Apr 26 07:54:36 UTC 2024
Kernel command line:      root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/f12b299cf5c78026e2ee14ccad3a43f8109ba882fb106d75d7e9ea31cb0c83bd/0
Distro name:              NAME="TorizonCore"
Distro version:           VERSION_ID=6.7.0-devel-202405-build.23
Distro variant:           VARIANT="Docker"
Hostname:                 verdin-am62-15036754
------------------------------------------------------------

Hardware info
------------------------------------------------------------
HW model:                 Toradex Verdin AM62 WB on Verdin Development Board
Toradex version:          0069 V1.0A
Serial number:            15036754
Processor arch:           aarch64
------------------------------------------------------------

In the thread I mentioned above, Drew from Toradex asked for the output of grep dmesg | grep wifi. Mine shows the similar results as they saw in that post.

My results show mrvl/sdiouart8997 instead of mrvl/sdiouartiw416 though.

torizon@verdin-am62-15036754:~$ sudo dmesg | grep wifi
[    5.886405] mwifiex_sdio mmc2:0001:1: Direct firmware load for mrvl/sdiouart8997_combo_v4.bin failed with error -2
[    5.886463] mwifiex_sdio mmc2:0001:1: Failed to get firmware mrvl/sdiouart8997_combo_v4.bin
[    5.886471] mwifiex_sdio mmc2:0001:1: info: _mwifiex_fw_dpc: unregister device

To add to this, it appears as though I have the Azurewave AW-CM276NF BT/Wifi module, instead of the U-BLOX MAYA-W160-00B that would be expected on the new V1.1 AM62 boards. Is it possible that 6.7 of TorizonCore does not come with the needed firmware for my wifi module given that it is not on the production boards now?

Given that the Toradex team fixed the issue in build 6.6 of Torizon, I am suspecting an issue with my hardware. Were there any known issues with Wifi on the early version of the AM62 boards?

What other steps can I take to try to diagnose and fix this problem?

Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Greetings,

Based on the information you’ve provided, it seems like the issue you’re encountering with the WiFi on your Verdin AM62 Q 1GB WB IT V1.0A running TorizonCore 6.7.0 is related to the firmware for the WiFi module not being loaded properly. The error messages from dmesg indicate that the system is unable to load the mrvl/sdiouart8997_combo_v4.bin firmware file, which is necessary for the WiFi module to function.

This problem is not necessarily indicative of a hardware issue, especially since you mentioned that similar issues had been resolved in previous TorizonCore builds. It’s possible that the firmware file is either missing from the system or not in the expected directory.

Here are some steps you can take to troubleshoot and potentially resolve this issue:

  1. Check for Firmware Files: Verify that the firmware file mrvl/sdiouart8997_combo_v4.bin exists on your system. Typically, firmware files are located in /lib/firmware/. If the file is missing, you will need to obtain it and place it in the correct directory.

  2. Update Your System: Ensure your system is fully updated. Although you’re running a recent version of TorizonCore, there might have been updates or patches released that address this issue. Updating the system can be done via OTA updates if your device is connected to the internet.

  3. Manual Firmware Installation: If the firmware file is missing, you can manually download the required firmware and place it in the /lib/firmware/mrvl/ directory. After placing the file, reboot the system to see if the issue is resolved.

  4. Kernel and Driver Compatibility: Ensure that the kernel version and the WiFi driver are compatible. Incompatibilities might lead to the driver failing to load the firmware correctly. Since you’re running a development version of TorizonCore, checking the Toradex developer resources for any notes on compatibility issues would be advisable.

  5. Check Module Autoloading: Verify that the system is configured to automatically load the necessary kernel modules for the WiFi hardware at boot. You can check the contents of /etc/modules-load.d/ or use lsmod to see if the WiFi driver module is loaded.

  6. Review Kernel Logs: Further analyze the kernel log messages (dmesg) for any additional clues. There might be other error messages preceding or following the firmware load failure that could provide more insight into

Please, also check if these links can help you solve your problem:

Toradex’s Linux Images - How to connect to a Wi-Fi network | Toradex Developer Center.

Greetings @dleberfinger,

I just flashed the same image as you did on my own AM62 device and everything appears to be working as expected:

torizon@verdin-am62-15230292:~$ nmcli device status
DEVICE     TYPE      STATE         CONNECTION
ethernet0  ethernet  connected     network0
mlan0      wifi      disconnected  --
uap0       wifi      disconnected  --
ethernet1  ethernet  unavailable   --
docker0    bridge    unmanaged     --
can0       can       unmanaged     --
can1       can       unmanaged     --
sit0       iptunnel  unmanaged     --
lo         loopback  unmanaged     --
torizon@verdin-am62-15230292:~$ dmesg | grep wifi
[    6.113548] mwifiex_sdio mmc2:0001:1: info: FW download over, size 570976 bytes
[    7.544166] mwifiex_sdio mmc2:0001:1: WLAN FW is active
[    7.574792] mwifiex_sdio mmc2:0001:1: Unknown api_id: 5
[    7.746531] mwifiex_sdio mmc2:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (16.92.21.p84)
[    7.746569] mwifiex_sdio mmc2:0001:1: driver_version = mwifiex 1.0 (16.92.21.p84)

As you can see the interface and firmware are all present on my side. I suppose now the question is what happened to your setup.

There were no modifications to this image right? This is what you saw right after flashing the image from Easy Installer?

On the module do you have both antennas attached?

Best Regards,
Jeremias

@jeremias.tx Can you please confirm the information I asked about above? I am working with a pre-production sample board that has the Azurewave module still and not the U-BLOX module that ships on new units. The firmware is different.

I do have both antennas attached. There have been no modifications. I followed the quickstart guide to a t so setting the wifi was the first thing I tried after installation.

Can you please confirm the information I asked about above?

Oh apologies, I missed this in your original post. If that is the case then this would be your issue then. All of our latest software does not have support for those old pre-production versions of the module.

Do you not have a more recent version of the hardware on hand with the U-Blox WiFi? I suppose you could also flash old software, but that’s not exactly ideal.

Best Regards,
Jeremias

Unfortunately I only have the pre-production version at this time.

I appreciate the help, again.

I spoke internally with our sales team and I think we might be able to arrange sending you an updated version of the AM62. Be on the lookout for contact from our sales team.

Best Regards,
Jeremias

1 Like