Linus Walleij 28d8006866 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]

(cherry picked from commit cd6c3535cd2c7779a8d65f792c36082ee3822c11)
2019-09-04 13:09:51 +02:00
..
2019-08-06 11:54:50 +02:00
2019-05-11 17:15:41 +02:00
2019-07-12 09:39:33 +02:00
2019-08-30 16:46:52 +02:00
2019-08-30 16:46:52 +02:00
2019-08-28 13:09:41 +02:00
2019-07-31 16:56:19 +02:00
2019-08-06 11:54:50 +02:00
2019-05-21 09:45:15 +02:00
2019-08-06 11:54:50 +02:00
2019-08-06 11:54:50 +02:00
2019-03-11 19:35:43 +01:00
2019-05-11 17:15:41 +02:00
2019-06-20 15:50:00 +02:00
2019-01-07 17:09:06 +01:00
2018-12-10 11:48:44 +01:00
2019-05-11 17:15:41 +02:00
2019-08-27 10:31:06 +02:00