From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larry Johnson Date: Sat, 22 Dec 2007 14:38:18 -0500 Subject: [U-Boot-Users] Problem with cache diag on sequoia board in PPC4xx branch for-1.3.2 In-Reply-To: <200712221223.18347.sr@denx.de> References: <476AED48.9060303@arlinx.com> <200712220856.05521.sr@denx.de> <200712221223.18347.sr@denx.de> Message-ID: <476D67AA.50000@arlinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > 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 > > [snip] This fixes the problem on Korat as well. Thanks! Best regards, Larry