r4230 - trunk/src/target/u-boot/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Thu Mar 20 07:51:08 CET 2008


Author: werner
Date: 2008-03-20 07:51:04 +0100 (Thu, 20 Mar 2008)
New Revision: 4230

Modified:
   trunk/src/target/u-boot/patches/console-ansi.patch
Log:
From: andrzej zaborowski <balrogg at gmail.com>

That could be an image too big ( > 60MB) but isn't in this case.  Qemu
tracked it down to a memory corruption in latest u-boot.  Attached
u-boot patch should help (inlined for viewing).

console-ansi.patch:
- drivers/video/cfb_console.c (process_sequence): memsetl size is in words, not
  bytes



Modified: trunk/src/target/u-boot/patches/console-ansi.patch
===================================================================
--- trunk/src/target/u-boot/patches/console-ansi.patch	2008-03-20 01:04:37 UTC (rev 4229)
+++ trunk/src/target/u-boot/patches/console-ansi.patch	2008-03-20 06:51:04 UTC (rev 4230)
@@ -48,7 +48,7 @@
 +	switch (c) {
 +		case 'J':
 +			/* assume num1 == 2 */
-+			memsetl(CONSOLE_ROW_FIRST, CONSOLE_SIZE,
++			memsetl(CONSOLE_ROW_FIRST, CONSOLE_SIZE >> 2,
 +			    CONSOLE_BG_COL);
 +			break;
 +		case 'H':





More information about the commitlog mailing list