[U-Boot] [RFC][PATCH v2 17/19] arm cp15: setup mmu and enable dcache

Wolfgang Denk wd at denx.de
Fri Aug 6 17:46:49 CEST 2010


Dear Ben Gardiner,

In message <AANLkTi=Tcf1m7UMqs6iQj47E7PxndjkEX1BwU8RGyVyu at mail.gmail.com> you wrote:
>
> First, for the 'shared ram' region which is 128k at 0x80000000 I tried:
> #define CONFIG_SYS_INIT_SP_ADDR (0x80000000 + 128*1024 -1)

The "-1" is probably a bad idea, as your stack will point to an odd
address then. Try and make this "-8" instead. Or "-16".

> Then for the 'ARM local RAM' which is 8k at 0xffff0000 I tried:
> #define CONFIG_SYS_INIT_SP_ADDR (0xffff0000 + 8*1024 -1)

Again, try "-8" instead. Or "-16".


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Sorry, but my karma just ran over your dogma.


More information about the U-Boot mailing list