Re: [PATCH] OMAP2xxx: move SRAM to fix boot hang
* Paul Walmsley [EMAIL PROTECTED] [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 [EMAIL PROTECTED]. This patch is a collaboration with Tony Lindgren [EMAIL PROTECTED] and Kevin Hilman [EMAIL PROTECTED]. Boot-tested on 2430SDP (by Paul) and N810 (by Jarkko). Pushing. Tony Signed-off-by: Paul Walmsley [EMAIL PROTECTED] Tested-by: Jarkko Nikula [EMAIL PROTECTED] Cc: Kevin Hilman [EMAIL PROTECTED] Cc: Tony Lindgren [EMAIL PROTECTED] Cc: Måns Rullgård [EMAIL PROTECTED] --- 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_VAVMALLOC_END #define OMAP2_SRAM_PA0x4020 #define OMAP2_SRAM_PUB_PA0x4020f800 -#define OMAP2_SRAM_VAVMALLOC_END -#define OMAP2_SRAM_PUB_VA(VMALLOC_END + 0x800) +#define OMAP2_SRAM_VA0xe300 +#define OMAP2_SRAM_PUB_VA(OMAP2_SRAM_VA + 0x800) #define OMAP3_SRAM_PA 0x4020 #define OMAP3_SRAM_VA 0xd700 #define OMAP3_SRAM_PUB_PA 0x40208000 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] OMAP2xxx: move SRAM to fix boot hang
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 [EMAIL PROTECTED]. This patch is a collaboration with Tony Lindgren [EMAIL PROTECTED] and Kevin Hilman [EMAIL PROTECTED]. Boot-tested on 2430SDP (by Paul) and N810 (by Jarkko). Signed-off-by: Paul Walmsley [EMAIL PROTECTED] Tested-by: Jarkko Nikula [EMAIL PROTECTED] Cc: Kevin Hilman [EMAIL PROTECTED] Cc: Tony Lindgren [EMAIL PROTECTED] Cc: Måns Rullgård [EMAIL PROTECTED] --- 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 0x4020 #define OMAP2_SRAM_PUB_PA 0x4020f800 -#define OMAP2_SRAM_VA VMALLOC_END -#define OMAP2_SRAM_PUB_VA (VMALLOC_END + 0x800) +#define OMAP2_SRAM_VA 0xe300 +#define OMAP2_SRAM_PUB_VA (OMAP2_SRAM_VA + 0x800) #define OMAP3_SRAM_PA 0x4020 #define OMAP3_SRAM_VA 0xd700 #define OMAP3_SRAM_PUB_PA 0x40208000 -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html