[U-Boot] [PATCH 1/2] integratorap: disable dcache
Wolfgang Denk
wd at denx.de
Thu Jul 14 13:39:38 CEST 2011
Dear Linus Walleij,
In message <1310598267-9711-1-git-send-email-linus.walleij at linaro.org> you wrote:
> The Integrator AP with CM920T (ARM920T) does not boot without
> D-cache disabled throughout, the actual problem comes at "bootm",
> at this point U-Boot tries to disable D-cache which doesn't work
> on this machine for some reason. The result is usually an
> illegal instruction trap or similar as the PC goes astray in
> memory and crash something like this:
>
> undefined instruction
> pc : [<01ff1c44>] lr : [<01fd8430>]
> sp : 01fa7e08 ip : 01fa7dc0 fp : 00000000
> r10: 01fef318 r9 : 00000015 r8 : 01fa7f70
> r7 : 00000015 r6 : 00008000 r5 : 01fa7fe8 r4 : 00000000
> r3 : 01fef380 r2 : 01fef8b0 r1 : ffffffff r0 : fffffffe
> Flags: Nzcv IRQs off FIQs off Mode SVC_32
> Resetting CPU ...
>
> Disabling D-cache brings the board support to a working state that
> can boot the Linux kernel.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> include/configs/integratorap.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Sorry, but again I have to point out that I really dislike papering
over existing bugs. If the disable D-cache in bootm does not work,
_this_ should be analyzed and fixed instead of globally disabling he
data cache.
NAK.
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
In accord with UNIX philosophy, Perl gives you enough rope to hang
yourself. - L. Wall & R. L. Schwartz, _Programming Perl_
More information about the U-Boot
mailing list