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