MAC address of IMX6Q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MAC address of IMX6Q

2,378 Views
biyaochen
Contributor I

Does IMX6Q provide  an unique MAC address?

If so .how can I get it from command line in Ubuntu? or I should write a device driver to get it.

Labels (2)
0 Kudos
3 Replies

1,769 Views
Yuri
NXP Employee
NXP Employee

Hello,

  The MAC address is not provided (on i.MX6). Only  NXP boards contain MAC addresses. 

This is customer's responsibility to provide the MAC. 

  According to Linux i.MX Reference Manual, Rev. L4.9.11:

"The MAC address can be set through the kernel command line, kernel device tree DTS
file, OCOTP, or MAC registers set by bootloader, such as U-Boot. The FEC driver uses it
to configure the MAC address for the network device. In general, use kernel command
line in a form of fec.macaddr=0x00,0x04,0x9f,0x01,0x30,0xe0 to set the MAC address."


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,076 Views
fatehi_a5391
Contributor I

How I can store mac address in OCOTP or flash?

0 Kudos

1,080 Views
fatehi_a5391
Contributor I

Hello, can you please guide me how I can get access to kernel command line?

0 Kudos