Thread (16 messages) 16 messages, 3 authors, 2010-08-31

[PATCH 1/1] ARM: pxa168: fix corrected reset vector

From: Eric Miao <hidden>
Date: 2010-08-31 06:04:35
Also in: lkml

On Tue, Aug 31, 2010 at 2:02 PM, Mark F. Brown [off-list ref] wrote:
On Tue, Aug 31, 2010 at 1:48 AM, Eric Miao [off-list ref] wrote:
quoted
On Thu, Aug 26, 2010 at 5:07 PM, Mark F. Brown [off-list ref] wrote:
quoted
Signed-off-by: Mark F. Brown <redacted>
---
?arch/arm/mach-mmp/include/mach/system.h | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mmp/include/mach/system.h b/arch/arm/mach-mmp/include/mach/system.h
index 4f5b0e0..926e9c0 100644
--- a/arch/arm/mach-mmp/include/mach/system.h
+++ b/arch/arm/mach-mmp/include/mach/system.h
@@ -16,6 +16,6 @@ static inline void arch_idle(void)
?static inline void arch_reset(char mode, const char *cmd)
?{
- ? ? ? cpu_reset(0);
+ ? ? ? cpu_reset(0xffff0000);
Not sure if this correct. But normally reset jump happens after we turn
off the MMU and so on. Ain't the BootROM starts from 0 ?
quoted
?}
?#endif /* __ASM_MACH_SYSTEM_H */
--
1.7.0.4
Eric, the boot-rom for pxa168 starts at 0xffff_0000. I am pretty sure
about that! If you set the reset vector to 0x0 it will crash during
reboot. I will send you xdb snapshots if you need me to.
OK, you are expert on this :-)

Applied to 'fix'.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help