Hi Oliver,<div>Thank for you quick answer.</div><div>>>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>
<div>Yes, I know I need to do some works. As you know, basically all of works related to interfacing with hardware (like BIOS firmware provide us) should be done by lower level (often written by asm or C).</div><div>Now I'd like to add a higher level to allow user setting some parameter over the network on HTTP.</div>
<div>And for prototype version, I know I should reflash Bios again and again.</div><div><br></div><div>>>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>
We just want do some setting for the board. Can we fixed the address for device? For example 192.168.1.1 If user want to change some thing on device, they should connect to the device from that IP address.<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?</div>
<div>Yes, I only need tinyHTTP.</div><div><br></div><div>>>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 href="http://www.ipxe.org/" target="_blank">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?</div>
<div>Thank for you suggestion. I will investigate ipxe for more details.</div><div><br></div><div><div class="gmail_quote">On Mon, Aug 13, 2012 at 5:37 AM, Oliver Rath <span dir="ltr"><<a href="mailto:rath@mglug.de" target="_blank">rath@mglug.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hi Lap!<br>
      <br>
      Principially this is a good idea.<br>
      <br>
      Am 13.08.2012 11:16, schrieb Lap Ngo Doan:<br>
    </div><div class="im">
    <blockquote 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></div>
    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!<div class="im"><br>
    <br>
    <blockquote 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></div>
    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 href="http://www.ipxe.org" target="_blank">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>
  </div>

</blockquote></div><br></div></div>