Hey Henrik,

On 18-03-15 08:51, Henrik Nordström wrote:
mån 2015-03-16 klockan 11:13 +0100 skrev Hans de Goede:

I see, yes using olinuxino's embedded in factory devices is a valid reason,
so I will be happy to take patches for reading the MAC from the eeprom,
we will need to do some tests to make sure that we only do this on
valid eeproms though, I think it would be good to add a checksum +
all 00 test, or a crc check, note a checksum is fine by me, but if
there is ready to use crc code somewhere in u-boot that works for me too.
The MAC eeproms I have seen do not have any CRC. Just the raw MAC in a
dedicated page. Better to follow common practice in how MAC is stored.
There is room for additional data in other pages as well.
I'm all for common methods, but you are suggesting to use a single dedicated page purely for the MAC address? Where is it defined which page that is? And what about using the subsequent page for stuff like a crc/checksum and verify the mac against that? It would yield in an easy way to verify if there is actually a MAC stored there or not.

Olliver

Regards
Henrik


--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to