
22 Dec
2007
22 Dec
'07
8:38 p.m.
Stefan Roese wrote:
On Saturday 22 December 2007, Stefan Roese wrote:
In testing my merge of Korat PPC440EPx board support into PPC4xx branch "for-1.3.2", I found problem with the "DIAG RUN CACHE" command. The same problem occurs in the latest for-1.3.2 code for sequoia. Here is a copy of the console output showing what happens:
Thanks for reporting. I'll try to take a look at it in the next days. But I have no problems at all, if you provide a patch to fix it. ;)
OK, I found the problem and fixed in the for-1.3.2 branch:
commit 8092791c5d959e89f9bc4ed0ff880c3509da743f Author: Stefan Roese sr@denx.de Date: Sat Dec 22 12:18:26 2007 +0100
ppc4xx: Fix problem in 44x cache POST routine As repoted by Larry Johnson, running "diag run cache" caused a crash in U-Boot. This problem was introduced by a patch that removed the TLB entry for the cache test after the test has completed. Since this TLB was only setup once, a 2nd attempt to run this cache test failed with a crash. Now this TLB entry is created every time the routine is called. Signed-off-by: Stefan Roese <sr@denx.de>
[snip]
This fixes the problem on Korat as well. Thanks!
Best regards, Larry