From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet
Date: Mon, 18 Apr 2016 15:27:31 +0200 [thread overview]
Message-ID: <5714E0C3.9040703@denx.de> (raw)
In-Reply-To: <1460982125-4731-2-git-send-email-sr@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 <sr@denx.de>
> Cc: Marek Vasut <marex@denx.de>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> Cc: Chin Liang See <clsee@altera.com>
> ---
> arch/arm/dts/socfpga_cyclone5_socrates.dts | 5 +++++
> 1 file changed, 5 insertions(+)
Thanks!
Acked-by: Marek Vasut <marex@denx.de>
> 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
next prev parent reply other threads:[~2016-04-18 13:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-18 12:22 [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment) Stefan Roese
2016-04-18 12:22 ` [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet Stefan Roese
2016-04-18 13:27 ` Marek Vasut [this message]
2016-04-18 13:27 ` [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment) Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5714E0C3.9040703@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.