<html>
<head>
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Lap!<br>
<br>
Principially this is a good idea.<br>
<br>
Am 13.08.2012 11:16, schrieb Lap Ngo Doan:<br>
</div>
<blockquote cite="mid:CAEgdzZJ8zChrWvJgz=dUNG2SEHW6y9ENW5pxvMWbc+e4Sx9psQ@mail.gmail.com" type="cite">
Hi Oliver,
<div>Thank for you answer.<br>
<div>
<div>>>What kind of information do you want to get from
a running lighttpd-Server on gpxe?</div>
<div>Coreboot is a Free Software project aimed at replacing
the proprietary BIOS (firmware) found in most computers.
coreboot performs a little bit of hardware initialization
and then executes additional boot logic, called a payload.</div>
<div>Unfortunately, coreboot doesn't support user interface to
change some setting on BIOS (for example: enable/disable
disk, boot devices priority...)</div>
</div>
</div>
</blockquote>
<br>
Imho gpxe doesnt suppurt enabling/disabling disk and other
bios-settings excluding networking, so this work has to be done
additionally. Dont forget: Every BIOS is its own kingdom! You have
to do this for every new Bios again!<br>
<br>
<blockquote cite="mid:CAEgdzZJ8zChrWvJgz=dUNG2SEHW6y9ENW5pxvMWbc+e4Sx9psQ@mail.gmail.com" type="cite">
<div>
<div>
<div>I want to get/set some hardware parameters like BIOS
provide by adding Etherboot as a payload of coreboot.</div>
<div><br>
</div>
<div>>>What do you want to do with this else, which cant
be done by a webserver on a running linux-system?</div>
<div>I want to get/set some hardware parameters over the
network on HTTP before the running linux-system. </div>
<div>It mean that, this utility is on ROM</div>
<br>
</div>
</div>
</blockquote>
<br>
You have anouter problem: At boot time normally the computer hasnt
an ip-address so he has to get one. Now you have to know, if the
ip-address hosts the right computer and so on. <br>
<br>
Addittionally, lighttpd is an overkill (who needs php at boot-time?)
and will imho waste to much space, but maybe tinyHTTP will be
adequate for you?<br>
<br>
But nevertheless it is a good idea :-)<br>
<br>
Maybe (g|i)pxe will communicate better via aoe (ethernet frames)
than with http, so no ip-address is needed. In other way, the fork
of gpxe, "ipxe" (<a class="moz-txt-link-abbreviated" href="http://www.ipxe.org">www.ipxe.org</a>) has a powerful script engine inside,
which can download the needed script _after_ download ipxe, so you
can fit your needs into it dynamicly. Maybe this will suffice your
needs?<br>
<br>
<br>
Regards,<br>
Oliver<br>
<br>
</body>
</html>