linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Chris Brandt <Chris.Brandt@renesas.com>
Cc: linux-renesas-soc@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH rza_u-boot-2017.05 0/2] rza2mevb: Allow using Ethernet when SDRAM is enabled
Date: Thu,  4 Jul 2019 17:37:24 +0200	[thread overview]
Message-ID: <20190704153726.10507-1-geert+renesas@glider.be> (raw)

	Hi Chris,

To use the 64 MiB of SDRAM on the RZA2MEVB development board, SW6-4 must
be switched off, making the first Ethernet port unavailable.
Fortunately RZA2MEVB has two Ethernet ports, so this patch series makes
U-Boot fall back to using the second port instead.

Note that this does not apply to upstream U-Boot, as the sh_eth driver
has been reworked in upstream, and as upstream does not support RZA2MEVB
yet.

While this allows me to use TFTP, I still cannot boot my own non-XIP
Linux kernel (uImage with LOADADDR=0x0c008000), as it seems to crash in
the "blcs cache_on" in linux/arch/arm/boot/compressed/head.S.  A similar
kernel boots fine on RSK+RZA1.

Thanks for your comments!

Geert Uytterhoeven (2):
  net: sh_eth: Fix port offset on RZ/A2
  rza2mevb: Use second Ethernet port if first one is not available

 drivers/net/sh_eth.h       | 11 ++++++++---
 include/configs/rza2mevb.h |  4 ++++
 2 files changed, 12 insertions(+), 3 deletions(-)

-- 
2.17.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

             reply	other threads:[~2019-07-04 15:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-04 15:37 Geert Uytterhoeven [this message]
2019-07-04 15:37 ` [PATCH rza_u-boot-2017.05 1/2] net: sh_eth: Fix port offset on RZ/A2 Geert Uytterhoeven
2019-07-10 18:57   ` Chris Brandt
2019-07-04 15:37 ` [PATCH rza_u-boot-2017.05 2/2] rza2mevb: Use second Ethernet port if first one is not available Geert Uytterhoeven
2019-07-10 18:57   ` Chris Brandt
2019-07-10 19:15 ` [PATCH rza_u-boot-2017.05 0/2] rza2mevb: Allow using Ethernet when SDRAM is enabled Chris Brandt
2019-07-11 10:06   ` Geert Uytterhoeven
2019-07-11 11:49     ` Chris Brandt

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=20190704153726.10507-1-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=Chris.Brandt@renesas.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).