for those ethernet devices(dirver is integrated into linux kernel)
1 get mfg data in uboot/bootloader, then pass mac address to kernel
2 in application, reset mac address with mfg mac address. Disadvantage: it might be a little late, sometime, it causes problems. So, it’s not recommended.