Linux-Renesas-SoC Archive on lore.kernel.org
 help / color / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Chris Brandt <Chris.Brandt@renesas.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
	"linux-renesas-soc@vger.kernel.org" 
	<linux-renesas-soc@vger.kernel.org>
Subject: Re: [PATCH rza_u-boot-2017.05 0/2] rza2mevb: Allow using Ethernet when SDRAM is enabled
Date: Thu, 11 Jul 2019 12:06:31 +0200
Message-ID: <CAMuHMdWG0w6c7ZF6JHWJ-46U3nYn5i3kg9-AF0jwx+KfvfKd-w@mail.gmail.com> (raw)
In-Reply-To: <TY1PR01MB1562B65595974A21F6751D9C8AF00@TY1PR01MB1562.jpnprd01.prod.outlook.com>

Hi Chris,

On Wed, Jul 10, 2019 at 9:16 PM Chris Brandt <Chris.Brandt@renesas.com> wrote:
> On Thu, Jul 04, 2019 1, Geert Uytterhoeven wrote:
> > 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.
>
> Maybe it is because of the fact that for RZ/A1, both the RSK and GENMAI
> boards are using CS2 so the SDRAM was located at address 0x0800000.
> But the RZ/A2M EVB has SDRAM on CS3, so the address is 0x0C000000.
>
>
> Here was a patch that I had to do back in our linux-3.14 kernel for
> those that were using CS3.
> https://github.com/renesas-rz/rza_linux-3.14/commit/86ee3b7bc1f5
>
>
> It looks like the current kernel has the same mask, and will need the
> same fix.
> https://github.com/renesas-rz/rza_linux-4.19/blob/master/arch/arm/boot/compressed/head.S#L207
>
>
> Does that fix your issue?

Thanks, that improves the situation. Now it continues to:

    Uncompressing Linux... done, booting the kernel.

and then it hangs.


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 index

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-04 15:37 Geert Uytterhoeven
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 [this message]
2019-07-11 11:49     ` Chris Brandt

Reply instructions:

You may reply publically 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=CAMuHMdWG0w6c7ZF6JHWJ-46U3nYn5i3kg9-AF0jwx+KfvfKd-w@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=Chris.Brandt@renesas.com \
    --cc=geert+renesas@glider.be \
    --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

Linux-Renesas-SoC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-renesas-soc/0 linux-renesas-soc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-renesas-soc linux-renesas-soc/ https://lore.kernel.org/linux-renesas-soc \
		linux-renesas-soc@vger.kernel.org linux-renesas-soc@archiver.kernel.org
	public-inbox-index linux-renesas-soc


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-renesas-soc


AGPL code for this site: git clone https://public-inbox.org/ public-inbox