[coreboot] [PATCH] [FILO] Artec loader with NULLFS

Nathan Williams nathan at traverse.com.au
Fri Feb 25 03:34:59 CET 2011


load_linux_kernel() checks using_devsize, so we need to
clear it if we are using Artec loader without a file
system.

Signed-off-by: Nathan Williams <nathan at traverse.com.au>

Index: i386/artecboot.c
===================================================================
--- i386/artecboot.c	(revision 140)
+++ i386/artecboot.c	(working copy)
@@ -126,6 +126,7 @@
 			part_start = bootHdr.kernelStart >> DEV_SECTOR_BITS;	
 			part_length = ((bootHdr.kernelSize-1) >> DEV_SECTOR_BITS) + 1;
 			filemax = bootHdr.kernelSize;
+			using_devsize = 0;
 			linux_load(file, bootHdr.cmdLine);
 		}
 	





More information about the coreboot mailing list