Re: [PATCH] board: amlogic: vim3: setup ethernet mac from efuse

2021-01-11 Thread Art Nikpal
> So the patch from Marek ( https://patchwork.ozlabs.org/project/uboot/patch/20201217072642.1319-1-m.szyprow...@samsung.com/) doesn't work ? yes doesnt works properly im sure if we read as raw 6 bytes from efuse we have if (is_valid_ethaddr(mac_addr)) # is always not valid

Re: [PATCH] board: amlogic: vim3: setup ethernet mac from efuse

2021-01-11 Thread Neil Armstrong
Hi, On 11/01/2021 15:15, Art Nikpal wrote: >> So the patch from Marek >> (https://patchwork.ozlabs.org/project/uboot/patch/20201217072642.1319-1-m.szyprow...@samsung.com/) >> doesn't work ? > yes doesnt works properly im sure if we read as raw 6 bytes from efuse we have > > if (is_valid_ethaddr

Re: [PATCH] board: amlogic: vim3: setup ethernet mac from efuse

2021-01-11 Thread Neil Armstrong
Hi Artem, On 11/01/2021 12:19, Artem Lapkin wrote: > Add the board specific code for reading built-in ethernet MAC address from > efuse > > NOTE: MAC is stored in ASCII format, 1bytes = 2characters by 0 offset > > if mac from efuse not valid we use meson_generate_serial_ethaddr > > NOTE: remak

[PATCH] board: amlogic: vim3: setup ethernet mac from efuse

2021-01-11 Thread Artem Lapkin
Add the board specific code for reading built-in ethernet MAC address from efuse NOTE: MAC is stored in ASCII format, 1bytes = 2characters by 0 offset if mac from efuse not valid we use meson_generate_serial_ethaddr NOTE: remake odroid-n2.c variant from Neil Armstrong Signed-off-by: Artem Lapk