Hi All,
we are making a product based on imx6sx and i have to implement serial number and Ethernet mac address programming for manufacturing.
I have a few questions, can somebody help me with answer or some pointers:
1) Does the IMX6sx chipset come with a pre-programmed serial number ? or do i have to program it ?
I did not find anything for writing the serial number, so i guess it will be pre-programmed. is my understanding correct?
For reading I found the below function in u-boot at: arch/arm/cpu/armv7/mx6/soc.c
void get_board_serial(struct tag_serialnr *serialnr);
its reading the serial number and then appending it to the cmdline args for passing to kernel.
is this the only step required for reading or do i have to do any thing extra ?
2) Ethernet MAC address programming: I have a partition on my target /device [ size 8MB]
= /dev/block/mmcblk3p7, As per the Android user guide it says " To store MAC address files",
shall i use this for saving Ethernet MAC address or it is for wifi MAC address only
do i need to fuse the ethernet MAC address ? which approach is better ?
3) I saw a file in /dev/block/mmcblk3p7 partition "/device/wifi/softmac" ,
can i create a similar file for the Ethernet MAC address and read from it ?
Thanks in advance
Robin
已解决! 转到解答。
Hi robin
1. yes i.MX6SX comes with a preprogrammed serial number, one can look at
Unique ID Table 5-9. Fusemap Descriptions i.MX6SX Reference Manual (rev.0 2/2015)
http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SXRM.pdf
Mac address can be programmed to fuses MAC1,2_ADDR.
2.3. android saves in partitions some vendor data like wifi MAC, seems Ethernet
MAC address also can be saved. For details one can post this on
Developer Support | Android Developers
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi robin
1. yes i.MX6SX comes with a preprogrammed serial number, one can look at
Unique ID Table 5-9. Fusemap Descriptions i.MX6SX Reference Manual (rev.0 2/2015)
http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SXRM.pdf
Mac address can be programmed to fuses MAC1,2_ADDR.
2.3. android saves in partitions some vendor data like wifi MAC, seems Ethernet
MAC address also can be saved. For details one can post this on
Developer Support | Android Developers
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------