MAYA-W1 custom MAC address

For Toradex modules utilizing the MAYA-W1, what is the recommended approach for programming a custom MAC address during mass production?

(This question is from the perspective of Toradex Yocto BSP.)

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I don’t have specific information about programming custom MAC addresses for MAYA-W1 modules during mass production in the provided Toradex documentation. The available source focuses on general Yocto Project information and BSP layers but doesn’t cover MAYA-W1 MAC address programming procedures(1).

For detailed guidance on MAYA-W1 MAC address programming during mass production with Toradex Yocto BSP, I’d recommend checking these potentially useful sources:

Would you like me to try to provide a general answer based on my knowledge instead?

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

Hi @ericw!

Sorry for the delayed response.

Could you please give us more details about your use case and what you expect?

Best regards.

Hi @lucas_az.tx, use case is as follows:

  • Using Verdin AM62 with custom carrier board
  • Instead of using the default MAC addresses from the MAYA-W1, we’d like to set a custom MAC address from our own IEEE SA block on the manufacturing line. I see u-blox’s datasheet describes some steps in Section 4.7, where it ultimately loads from /lib/firmware/nxp/init_cfg.conf.

In the case of a read-only rootfs, the solution I had in mind was to create a symlink at /lib/firmware/nxp/init_cfg.conf pointing to a persist partition where we can save the factory-set values.

Are there any other suggestions?

Hi @ericw!

I did some tests and got to a reasonable solution.

You can modify the MAC address by starting the wifi through the steps described here and then editing the following file:

root@verdin-am62-15190391:~# cat /etc/systemd/network/10-toradex-wifi-ifnames.link
[Match]
Driver=mwifiex_pcie mwifiex_sdio ath11k_pci
OriginalName=mlan0

[Link]
NamePolicy=keep kernel
MACAddress=02:11:22:33:44:55

After that, you need to reboot so the modifications get applied:

root@verdin-am62-15190391:~# ifconfig mlan0
mlan0     Link encap:Ethernet  HWaddr 02:11:22:33:44:55
          inet addr:10.22.1.96  Bcast:10.22.1.255  Mask:255.255.255.0
          inet6 addr: fe80::11:22ff:fe33:4455/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9963 errors:0 dropped:0 overruns:0 frame:0
          TX packets:296 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1240882 (1.1 MiB)  TX bytes:29237 (28.5 KiB)

Could you try and see if this resolves the issue?

Best regards.