[coreboot] r604 - coreboot-v3/util/lar

svn at coreboot.org svn at coreboot.org
Sat Feb 16 07:38:46 CET 2008


Author: rminnich
Date: 2008-02-16 07:38:45 +0100 (Sat, 16 Feb 2008)
New Revision: 604

Modified:
   coreboot-v3/util/lar/stream.c
Log:
This is an emergency commit because the zero compression, as 
it stands, is causing coreboot on the alix1c to hang. I don't know why. 

But this patch is the difference between works and hangs. I think 
the memset in the decompress is not using the right start value? Not sure. 

This simple change allows us to fix the zero decompress later, when 
we figure it out. I just lost a few hours to this and I want to make
sure the repo works before I go to bed. 

This fix tested on alix1c. Alix1c now works fine.

Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
Acked-by: Ronald G. Minnich <rminnich at gmail.com>




Modified: coreboot-v3/util/lar/stream.c
===================================================================
--- coreboot-v3/util/lar/stream.c	2008-02-16 04:13:44 UTC (rev 603)
+++ coreboot-v3/util/lar/stream.c	2008-02-16 06:38:45 UTC (rev 604)
@@ -148,6 +148,7 @@
 			continue;
 		}
 		thisalgo = zeroes;
+		thisalgo = algo;
 		if (verbose())
 			fprintf(stderr,  "New section addr %#x size %#x\n",
 			(u32)shdr[i].sh_addr, (u32)shdr[i].sh_size);





More information about the coreboot mailing list