From: Tony Lindgren <tony@atomide.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: linux-omap@vger.kernel.org,
"Kevin Hilman" <khilman@deeprootsystems.com>,
"Jarkko Nikula" <jarkko.nikula@nokia.com>,
MånsRullgård <mans@mansr.com>
Subject: Re: [PATCH] OMAP2xxx: move SRAM to fix boot hang
Date: Fri, 10 Oct 2008 14:24:58 +0300 [thread overview]
Message-ID: <20081010112457.GR3044@atomide.com> (raw)
In-Reply-To: <20081009232106.13509.80699.stgit@localhost.localdomain>
* Paul Walmsley <paul@pwsan.com> [081010 02:23]:
> Commit 1c957036bbd912322793da676d05e169abf24782 breaks booting on
> OMAP2; it causes the SRAM to be mapped on top of the L4 interconnect.
> This causes the system to hang early in boot in omap_map_sram() during
> the TLB flush. Fix by moving SRAM elsewhere in the memory map.
>
> Reported by Jarkko Nikula <jarkko.nikula@nokia.com>. This patch is a
> collaboration with Tony Lindgren <tony@atomide.com> and
> Kevin Hilman <khilman@deeprootsystems.com>.
>
> Boot-tested on 2430SDP (by Paul) and N810 (by Jarkko).
Pushing.
Tony
> Signed-off-by: Paul Walmsley <paul@pwsan.com>
> Tested-by: Jarkko Nikula <jarkko.nikula@nokia.com>
> Cc: Kevin Hilman <khilman@deeprootsystems.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Måns Rullgård <mans@mansr.com>
> ---
> arch/arm/plat-omap/sram.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
> index 853048d..027b101 100644
> --- a/arch/arm/plat-omap/sram.c
> +++ b/arch/arm/plat-omap/sram.c
> @@ -37,8 +37,8 @@
> #define OMAP1_SRAM_VA VMALLOC_END
> #define OMAP2_SRAM_PA 0x40200000
> #define OMAP2_SRAM_PUB_PA 0x4020f800
> -#define OMAP2_SRAM_VA VMALLOC_END
> -#define OMAP2_SRAM_PUB_VA (VMALLOC_END + 0x800)
> +#define OMAP2_SRAM_VA 0xe3000000
> +#define OMAP2_SRAM_PUB_VA (OMAP2_SRAM_VA + 0x800)
> #define OMAP3_SRAM_PA 0x40200000
> #define OMAP3_SRAM_VA 0xd7000000
> #define OMAP3_SRAM_PUB_PA 0x40208000
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2008-10-10 11:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20081009232100.13509.6688.stgit@localhost.localdomain>
2008-10-09 23:22 ` [PATCH] OMAP2xxx: move SRAM to fix boot hang Paul Walmsley
2008-10-10 11:24 ` Tony Lindgren [this message]
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=20081010112457.GR3044@atomide.com \
--to=tony@atomide.com \
--cc=jarkko.nikula@nokia.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=mans@mansr.com \
--cc=paul@pwsan.com \
/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.