From: Mike Frysinger Date: Sat, 3 Oct 2009 02:19:01 -0400 Subject: [U-Boot] [PATCH] mem_mtest: fix error reporting, allow escape with ^C In-Reply-To: <1254521913-25655-1-git-send-email-paul.gortmaker@windriver.com> References: <4AC5438B.903@windriver.com> <1254521913-25655-1-git-send-email-paul.gortmaker@windriver.com> Message-ID: <200910030219.02821.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 02 October 2009 18:18:33 Paul Gortmaker wrote: > The basic memtest function tries to watch for ^C after each > pattern pass as an escape mechanism, but if things are horribly > wrong, we'll be stuck in an inner loop flooding the console with > error messages and never check for ^C. To make matters worse, > if the user waits for all the error messages to complete, we > then incorrectly report the test passed without errors. > > Adding a check for ^C after any error is printed will give > the end user an escape mechanism from a console flood without > slowing down the overall test speed on a slow processor. > > Also, the more extensive memtest quit after just a single error, > which is inconsistent with the normal memtest, and not useful if > if you are doing dynamic environmental impact testing, such as > heating/cooling etc. > > Both tests now track the error count and report it properly > at test completion. thanks, Acked-by: Mike Frysinger -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20091003/4fb8bec6/attachment.pgp