How to add/install mt7961au chipset driver for imx8x?

Hi,

I want to connect a Wi-Fi device that requires mt7961au chipset driver to my Viola carrier board. I am currently using Torizon OS 6 and is unable to add in the drivers manually in the read-only filesystem. Any suggestion or advise on how to do it?

SoM: Colibri IMX8X
Carrier Board: Viola Plus V1.2B

Thank you.
Regards,
Jeff

Hi @Jeff89

You can check this article about how to add external modules.

Hi @allan.tx ,

It has been a while since I worked on this. I followed the article you have provided, but I am still unable to get it working. Anyway, when I was trying to build the hello-mod folder, I saw the following errors:

=> Building module located at ‘hello-mod/’
An unexpected Exception occurred. Please provide the following stack trace to
the Toradex TorizonCore support team:

Traceback (most recent call last):
File “/builder/torizoncore-builder”, line 222, in
mainargs.func(mainargs)
File “/builder/tcbuilder/cli/build.py”, line 595, in do_build
build(args.config_fname, args.storage_directory,
File “/builder/tcbuilder/cli/build.py”, line 558, in build
fs_changes = handle_customization_section(
File “/builder/tcbuilder/cli/build.py”, line 197, in handle_customization_section
handle_kernel_customization(props[“kernel”], storage_dir=storage_dir)
File “/builder/tcbuilder/cli/build.py”, line 253, in handle_kernel_customization
kernel_cli.kernel_build_module(
File “/builder/tcbuilder/cli/kernel.py”, line 106, in kernel_build_module
kernel.build_module(
File “/builder/tcbuilder/backend/kernel.py”, line 66, in build_module
assert version_gcc, “Unable to determine the GCC toolchain version”
AssertionError: Unable to determine the GCC toolchain version

My input image is Torizon OS 7 for Colibri iMX8X. Could you advise what could possibly goes wrong?

By the way, I understand that Torizon OS 7 for Colibri iMX8X do have mediatek folder with mt76 drivers but not for mt7921 chipset. Are you able to add 7921chipset?

Regards,
Jeff