Hi All,
I have the Ethernet MAC id stored in QSPI NOR Flash under Partition Name /dev/mtdblock0 in a file. I want to read this file and assign this MAC id permanently to my ethernet port.
This assignment can be done on u-boot or kernel time.
which will be the best way to do this activity also please explain how can we achieve this.
I am using the Imx6 sabresd board and yocto zeus.
Thanks,
Nikhil
Hi Nikhil
one can try fw_setenv described in
https://www.denx.de/wiki/view/DULG/HowCanIAccessUBootEnvironmentVariablesInLinux
Best regards
igor
Hi Nikhil
one can try to define uboot CONFIG_ENV_IS_IN_SPI_FLASH in
and use ethaddr uboot environment variable.
Best regards
igor