Linus Walleij cd6c3535cd gemini: Use library functions to assign MAC address
This simplifies the ethernet address extraction script
by using standard library functions to locate the MTD
partitions and extract ethernet address from a binary
offset location in the flash. Furthermore, the aging
ifconfig is replaced by the ip tool, which will now
assign the MAC addresses.

Suggested-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[ifconfig replacement, use -n instead of ! -z,
-n requires string to be quoted within the test brackets,
drop prepended "x" in check, add quotes, make local
variables local, kill whitespaces]
2019-06-15 19:55:31 +02:00
..
2019-06-12 15:04:09 +02:00
2019-01-28 18:17:32 +01:00
2019-05-11 17:15:41 +02:00
2018-11-05 16:00:00 +01:00
2019-06-12 15:04:09 +02:00
2019-06-12 15:04:09 +02:00
2019-06-03 17:00:29 +02:00
2019-05-21 09:45:15 +02:00
2019-06-12 15:04:09 +02:00
2019-06-03 12:40:53 +02:00
2019-06-12 15:04:09 +02:00
2019-03-11 19:35:43 +01:00
2019-05-11 17:15:41 +02:00
2019-05-21 09:45:15 +02:00
2019-01-07 17:09:06 +01:00
2018-12-10 11:48:44 +01:00
2019-05-21 09:45:15 +02:00
2019-05-11 17:15:41 +02:00