[LinuxBIOS] etherboot with LinuxBIOS

Steven J. Magnani steve at digidescorp.com
Fri Jul 15 21:27:47 CEST 2005


I think this patch fixes the bug.

--- etherboot-5.4.0/src/core/osloader.c.orig	2005-02-15
19:46:56.000000000 -0600
+++ etherboot-5.4.0/src/core/osloader.c	2005-07-15 14:13:39.234375000
-0500
@@ -350,10 +350,11 @@
 	else {
 		len -= (skip_sectors << 9) + skip_bytes;
 		data += (skip_sectors << 9) + skip_bytes;
+		skip_sectors = os_download(data, len, eof);
+		skip_bytes = 0;
+
 	}
-	skip_sectors = os_download(data, len, eof);
-	skip_bytes = 0;
-	
+
 	return 1;
 }
 
Steve Magnani
www.digidescorp.com

-----Original Message-----
From: yhlu [mailto:yinghailu at gmail.com] 
Sent: Thursday, July 14, 2005 9:10 AM
To: Steven J. Magnani
Cc: Stephen.Kimball at bench.com; linuxbios at openbios.org
Subject: Re: [LinuxBIOS] etherboot with LinuxBIOS


do not use 5.4 at this time, because the memtest can not be loaded by
Etherboot 5.4 correctly.

YH

On 7/14/05, Steven J. Magnani <steve at digidescorp.com> wrote:
> Etherboot 5.4.0 seems to compile with gcc-3.4.3 if, in addition to the

> config changes spelled out on the Wiki, you also comment out PXE 
> support in src/Config:
> 
> # Etherboot as a PXE network protocol ROM
> #CFLAGS+=       -DPXE_IMAGE -DPXE_EXPORT
> 
> Seems to run, but I haven't reached a point where I can boot something

> over the network yet.
> 
> Steve
> www.digidescorp.com
> 
> 
> 
> 
> _______________________________________________
> LinuxBIOS mailing list
> LinuxBIOS at openbios.org 
> http://www.openbios.org/mailman/listinfo/linuxbios
>







More information about the coreboot mailing list