<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:等线;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@等线";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:等线;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:等线;
        color:#1F4E79;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.5pt;
        font-family:等线;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:687411516;
        mso-list-type:hybrid;
        mso-list-template-ids:-745642094 -2033700116 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Tahoma",sans-serif;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F4E79">Dear sir<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F4E79">We met the issue of supporting ipxe on CML platform with ipxe rom embedded in BIOS. The LAN chip used was Intel i219v with Vendor ID Device ID 80860d4d.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F4E79">When first power on, system could boot to ipxe server. But if we restart the system from OS with LAN driver installed, system could not boot into ipxe server any longer.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F4E79">Reboot or global reset or power off and then power on cannot recover it. It can only be recovered after we remove the power cord and plug it again<o:p></o:p></span></p>
<p class="MsoNormal"><img width="915" height="390" style="width:9.5312in;height:4.0625in" id="Picture_x0020_1" src="cid:image001.png@01D6C8BE.09E71950"><span style="font-size:11.0pt;color:#1F4E79"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F4E79">Can you kindly help take a look at this issue? Is it the ipxe has not supported comet lake lan issue? We don’t see this problem on Coffee Lake platform.Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F4E79">Below is our code change.<o:p></o:p></span></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="color:black;margin-bottom:12.0pt;margin-left:0in;mso-list:l0 level1 lfo1">
<span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">Build to include script<br>
</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#006000">make bin/ipxe.usb EMBED=autobootloopscript.ipxe</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"><br>
<br>
Script example (don't leave out the '#!ipxe' it must be the first line)<br>
</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#006000">#!ipxe<br>
:retry_boot<br>
autoboot || goto retry_boot</span><o:p></o:p></li><li class="MsoListParagraph" style="color:black;margin-bottom:12.0pt;margin-left:0in;mso-list:l0 level1 lfo1">
<span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">Edit <b>./src/config/general.h (enabled ELF, NBI, PXE, scripts, and bzimage support)</b><br>
</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#006000">/*<br>
 * Image types<br>
 *<br>
 * Etherboot supports various image formats.  Select whichever ones<br>
 * you want to use.<br>
 *<br>
 */<br>
#define    IMAGE_NBI        /* NBI image support */<br>
#define    IMAGE_ELF        /* ELF image support */<br>
//#define    IMAGE_MULTIBOOT        /* MultiBoot image support */<br>
#define    IMAGE_PXE        /* PXE image support */<br>
#define    IMAGE_SCRIPT        /* iPXE script image support */<br>
#define    IMAGE_BZIMAGE        /* Linux bzImage image support */<br>
//#define    IMAGE_COMBOOT        /* SYSLINUX COMBOOT image support */<br>
//#define    IMAGE_EFI        /* EFI image support */<br>
//#define    IMAGE_SDI        /* SDI image support */<br>
//#define    IMAGE_PNM        /* PNM image support */</span><o:p></o:p></li><li class="MsoListParagraph" style="color:black;margin-left:0in;mso-list:l0 level1 lfo1">
<span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">Edit <b>./src/config/dhcp.h (change the dhcp time outs)</b><br>
</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#006000">//#define DHCP_DISC_START_TIMEOUT_SEC    1<br>
//#define DHCP_DISC_END_TIMEOUT_SEC    10<br>
#define DHCP_DISC_START_TIMEOUT_SEC    4    /* as per PXE spec */<br>
#define DHCP_DISC_END_TIMEOUT_SEC    32    /* as per PXE spec */</span><o:p></o:p></li></ol>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F4E79"><o:p> </o:p></span></p>
<ol style="margin-top:0in" start="4" type="1">
<li class="MsoListParagraph" style="color:#1F4E79;margin-left:0in;mso-list:l0 level1 lfo1">
Add the device ID to ./src/drivers/net/intel.c <b>(PS</b><b><span lang="ZH-CN" style="font-family:等线">:</span>Latest code haven’t support Cometlake I219v yet, so we manually added it.)</b><o:p></o:p></li></ol>
<p class="MsoListParagraph"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoListParagraph"><span style="color:#1F4E79">                PCI_ROM ( 0x8086, 0x15bb, "i219lm-7", "I219-LM (7)", INTEL_I219 ),<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="color:#1F4E79">                </span><span style="color:red">PCI_ROM ( 0x8086, 0x0d4c, "i219lm-8", "I219-LM (8)", INTEL_I219 ),<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="color:#1F4E79">                PCI_ROM ( 0x8086, 0x15bc, "i219v-7", "I219-V (7)", INTEL_I219 ),<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="color:#1F4E79">                </span><span style="color:red">PCI_ROM ( 0x8086, 0x0d4d, "i219v-8", "I219-V (8)", INTEL_I219 ),</span><span style="color:#1F4E79"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">By the way, I have also found from the website that ipxe supports the object trace from the serial port. Do you have any comments which we object we should trace? Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><img width="845" height="504" style="width:8.802in;height:5.25in" id="Picture_x0020_2" src="cid:image002.png@01D6C8BE.09E71950"><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-------------------------------------------------------</span><span style="font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span style="font-size:11.0pt;color:#1F497D">Tony Chen
</span><span lang="ZH-CN" style="font-size:11.0pt;color:#1F497D">陈永辉</span><span style="font-size:11.0pt;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span style="font-size:11.0pt;color:#1F497D">BIOS Engineer</span><span style="font-size:11.0pt;color:#44546A"><o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span style="font-size:11.0pt;color:#1F497D">+86 136 0016 4680</span><span style="font-size:11.0pt;color:#44546A"><o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span style="font-size:11.0pt;color:#1F497D">Email:
<a href="mailto:chenyh6@lenovo.com"><span style="color:blue">chenyh6@lenovo.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">-------------------------------------------------------</span><span style="font-size:11.0pt;color:#44546A"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>