[U-Boot] [PATCH v3 08/11] ARM: UniPhier: enable CONFIG_NET_RANDOM_ETHADDR

Joe Hershberger joe.hershberger at gmail.com
Mon Jun 1 20:41:04 CEST 2015


Hi Masahiro / Tom,

On Fri, May 29, 2015 at 3:30 AM, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> Since commit 92ac52082140 (net: Remove all references to
> CONFIG_ETHADDR and friends), the ethernet device on UniPhier boards
> is not working because of the incorrect (all-zero) MAC address.
>
> Enable CONFIG_NET_RANDOM_ETHADDR to generate the random one.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
> Changes in v3:
>   - Add CONFIG_LIB_RAND to the header in order not to depend Michal's patch
>
> Changes in v2:
>   - Newly added
>
>  configs/ph1_ld4_defconfig  | 2 ++
>  configs/ph1_pro4_defconfig | 2 ++
>  configs/ph1_sld8_defconfig | 2 ++
>  include/configs/uniphier.h | 2 ++
>  4 files changed, 8 insertions(+)

8<-snip->8

> diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
> index 8510472..850083c 100644
> --- a/include/configs/uniphier.h
> +++ b/include/configs/uniphier.h
> @@ -250,6 +250,8 @@
>  /* Open Firmware flat tree */
>  #define CONFIG_OF_LIBFDT
>
> +#define CONFIG_LIB_RAND

Michal's patch will make this error...
https://patchwork.ozlabs.org/patch/476114/

Please be aware depending on which PR goes in first. I have his patch
reworked here: http://git.denx.de/?p=u-boot/u-boot-net.git;a=shortlog;h=refs/heads/master

Cheers,
-Joe


More information about the U-Boot mailing list