meta-gsj: mac-address: Initialize MAC addresses

This commit is to assign MAC address to eth1, usb0_dev, usb0_host and
eth0 ports. The address of eth1 is read from EEPROM, while others are
obtained by adding one, two and three to eth1 respectively. We will
randomly generate address of eth1 once an error occurs.

The randomly-generated MAC address is of the form "00:1B:24:XX:XX:XX".

Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
Change-Id: I917258449ed83eb10b62b6001bf873eb8ba4ae0a
2 files changed