[<prev] [next>] [day] [month] [year] [list]
Message-ID: <EADA2943BAC14C4AB625A3550A3BE980096E4A2567@SI-MBX04.de.bosch.com>
Date: Tue, 3 Dec 2013 10:20:09 +0100
From: "Altunbas Sabri (DC-IA/EAH2)" <sabri.altunbas@...chrexroth.de>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "Altunbas Sabri (DC-IA/EAH2)" <sabri.altunbas@...chrexroth.de>
Subject: sh7785: enable_mmu crashes
Hi,
I port linux-3.12.1 on my board with sh7785lcr. It crashes at the following point.
Can anybody give me please some hints.
The crash is at that point where mmu is initialised
void __init setup_arch(char **cmdline_p)
{
enable_mmu();
..
..
}
Befor step
/* Enable MMU */
__raw_writel(MMU_CONTROL_INIT, MMUCR);
mov.w @(0x80594E10,pc),r2
mov.l @(0x80594E20,pc),r1
mov.l r2,@r1 < ------ breakpoint
ctrl_barrier();
mov.l @(0x80594E24,pc),r1
icbi @r1
if (asid_cache(cpu) == NO_CONTEXT)
mov.w @(0x80594E12,pc),r2
mov.l @(0x80594E28,pc),r3
mul.l r2,r0 ; r2,cpu
sts macl,r1
add r3,r1
After step
unsigned int cpu = smp_processor_id();
shll r4 ; cmdline_p
shll r1
shll r4 ; cmdline_p
/* Enable MMU */
__raw_writel(MMU_CONTROL_INIT, MMUCR);
shll r1
shll r4
shll r1
ctrl_barrier();
shll r4
shll r1
if (asid_cache(cpu) == NO_CONTEXT)
shll r4
shll r1
shll r4
shll r1
shll r4
shll r1
Best regards
S.Altunbas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists