
Dear Linus Walleij,
In message 1310598267-9711-1-git-send-email-linus.walleij@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@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