From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 18 Apr 2016 15:27:31 +0200 Subject: [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet In-Reply-To: <1460982125-4731-2-git-send-email-sr@denx.de> References: <1460982125-4731-1-git-send-email-sr@denx.de> <1460982125-4731-2-git-send-email-sr@denx.de> Message-ID: <5714E0C3.9040703@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/18/2016 02:22 PM, Stefan Roese wrote: > This enables full ethernet usage, including U-Boot to write the board > specific MAC address (ethaddr) into the DT blob before passing it to > Linux. > > Without this, the ethaddr is not detected in U-Boot at all, resulting > in this error upon bootup: > > ... > Model: EBV SOCrates > Net: > Error: ethernet at ff702000 address not set. > No ethernet found. > > Signed-off-by: Stefan Roese > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Chin Liang See > --- > arch/arm/dts/socfpga_cyclone5_socrates.dts | 5 +++++ > 1 file changed, 5 insertions(+) Thanks! Acked-by: Marek Vasut > diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts > index 591d96c..d2ab3b3 100644 > --- a/arch/arm/dts/socfpga_cyclone5_socrates.dts > +++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts > @@ -15,6 +15,11 @@ > }; > > aliases { > + /* > + * This allows the ethaddr uboot environment variable > + * contents to be added to the gmac1 device tree blob. > + */ > + ethernet0 = &gmac1; > udc0 = &usb1; > }; > > -- Best regards, Marek Vasut