<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">why not simply booting ipxe directly (instead of pxelinux) and duplicate similar entries for your linux boot? at the end its a kernel, a initrd and some command line parameters for linux. You can do all this in ipxe.<div class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class="">Am 03.02.2016 um 20:59 schrieb Krizak, Paul <<a href="mailto:pkrizak@qualcomm.com" class="">pkrizak@qualcomm.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">The build process we use is, (from src dir)<br class=""><br class="">1. make<br class="">2. Edit /tmp/menu.ipxe. Example:<br class=""><br class="">#!ipxe<br class="">set use-cached 1<br class="">dhcp net0<br class="">kernel <a href="http://sdimg01.qualcomm.com/osd/wimboot" class="">http://sdimg01.qualcomm.com/osd/wimboot</a><br class="">initrd <a href="http://sdimg01.qualcomm.com/osd/sccmfiles/BOOTMGR.EXE" class="">http://sdimg01.qualcomm.com/osd/sccmfiles/BOOTMGR.EXE</a> BOOTMGR.EXE<br class="">initrd <a href="http://sdimg01.qualcomm.com/osd/sccmfiles/BCD" class="">http://sdimg01.qualcomm.com/osd/sccmfiles/BCD</a> BCD<br class="">initrd <a href="http://sdimg01.qualcomm.com/osd/sccmfiles/BOOT.SDI" class="">http://sdimg01.qualcomm.com/osd/sccmfiles/BOOT.SDI</a> BOOT.SDI<br class="">initrd <a href="http://sdimg01.qualcomm.com/osd/sccmfiles/BOOT.WIM" class="">http://sdimg01.qualcomm.com/osd/sccmfiles/BOOT.WIM</a> BOOT.WIM<br class="">boot<br class=""><br class="">3. make bin/ipxe.kkpxe EMBED=/tmp/menu.ipxe<br class="">4. cp bin/ipxe.kkpxe /path/to/tftp/root/ipxe-sdimg01.kkpxe<br class=""><br class="">The pxelinux menu entry looks like this:<br class=""><br class="">LABEL Windows Imaging sdimg01<br class=""> MENU LABEL Windows Imaging - sdimg01<br class=""> PXE targets/windows/ipxe/ipxe-sdimg01.kkpxe<br class=""><br class="">I followed this same process after editing tg3.c. The first "make" did indeed rebuild the ipxe core due to tg3.c being updated. The kkpxe build also rebuilt embedded.c and generated a new ipxe.kkpxe binary. However, this new binary still does not appear to recognize the NIC.<br class=""><br class="">We can try the UNDI-only build, but we'll have to go back and re-qualify a boatload of hardware that currently works fine with the kkpxe solution. It would be a lot easier for us if we could get kkpxe to work.<br class=""><br class="">----<br class="">Paul Krizak office: AF-250D<br class="">Staff IT Engineer, UCM desk: 858-651-2467<br class="">Qualcomm, Inc cell: 512-791-0686<br class=""><br class=""><br class="">-----Original Message-----<br class="">From: Christian Nilsson [<a href="mailto:nikize@gmail.com" class="">mailto:nikize@gmail.com</a>] <br class="">Sent: Wednesday, February 03, 2016 11:49 AM<br class="">To: Krizak, Paul<br class="">Cc: Doose, Michael; <a href="mailto:ipxe-devel@lists.ipxe.org" class="">ipxe-devel@lists.ipxe.org</a><br class="">Subject: Re: [ipxe-devel] Request for Network support for HP Elitebook 745 G3 (Broadcom NetXtreme Gigabit Ethernet Plus)<br class=""><br class="">On Wed, Feb 3, 2016 at 8:34 PM, Krizak, Paul <<a href="mailto:pkrizak@qualcomm.com" class="">pkrizak@qualcomm.com</a>> wrote:<br class=""><blockquote type="cite" class="">I am fairly certain I'm using the latest version:<br class=""><br class="">--- /usr2/pkrizak/git/ipxe<br class="">[pkrizak@melchior]$ git remote -v show<br class="">origin <a href="git://git.ipxe.org/ipxe.git" class="">git://git.ipxe.org/ipxe.git</a> (fetch)<br class="">origin <a href="git://git.ipxe.org/ipxe.git" class="">git://git.ipxe.org/ipxe.git</a> (push)<br class=""><br class="">--- /usr2/pkrizak/git/ipxe<br class="">[pkrizak@melchior]$ git pull<br class="">Already up-to-date.<br class=""><br class="">--- /usr2/pkrizak/git/ipxe<br class="">[pkrizak@melchior]$ git rev-parse HEAD<br class="">d0bfd830e4e5ddd1015dda66833a99b068b6a519<br class=""></blockquote><br class="">Yes that's the latest one, goodie ;)<br class=""><br class=""><blockquote type="cite" class=""><br class="">If you're referring to the build number in some of the screenshots earlier in this thread -- you're right, that was the older build. We actually did build with the newer version and got the same results (but did not post newer screencaps that show the newer build version).<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">Why kkpxe?<br class=""></blockquote></blockquote><br class="">We have a standard infrastructure based on pxelinux, so we are chain-loading iPXE specifically for Windows installs. Linux and ESX installs go through our standard pxelinux stuff. But it all has to live on the same network, so pxelinux is the "primary" bootloader.<br class=""><br class="">I did not develop the ipxe setup for Windows -- it was handed to me in this state. I don't know why we use kkpxe versus other types of bootloaders, except for "that's how it was set up". Is there a better way to get HTTP-based image downloads to work without needing kkpxe?<br class=""></blockquote><br class=""><br class="">Ok yes, use undionly.kpxe (single k) that should work for all nics<br class="">that are chained (unless The underlaying UNDI implementation is buggy)<br class=""><br class="">Having pxelinux in the boot path is sometimes causing an issue so you<br class="">should try without it, for example by building the .usb version<br class="">instead and booting directly from a usb stick.<br class=""><br class=""><a href="http://forum.ipxe.org/showthread.php?tid=6989" class="">http://forum.ipxe.org/showthread.php?tid=6989</a><br class="">I'm guessing here, but kkpxe might actually be part of your issue.<br class=""><br class=""><br class=""><blockquote type="cite" class=""><br class="">The key feature of ipxe that we're taking advantage of is its ability to use HTTP to retrieve a disk image, rather than TFTP. With Windows installs, we have to download a multi-hundred-MB image, which takes FOREVER over TFTP. Over HTTP it is much faster and more reliable (since it uses TCP instead of UDP).<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">I'm quite sure I have added that to a build myself.<br class=""></blockquote></blockquote><br class="">Maybe it's still sitting in a feature branch and needs to be merged to master? It's definitely not in the code at the master branch.<br class=""></blockquote><br class=""><br class="">It was a one time build and was never sent upstream. (I'm just a iPXE<br class="">user like yourself)<br class=""><br class=""><br class=""><blockquote type="cite" class=""><br class="">I edited tg3.c and added the PCI_ROM macro, then recompiled. Same behavior as before. And I double-checked the build number, and it's the newest one (d0bf...)<br class=""><br class=""><br class=""></blockquote><br class=""><br class="">What did you build? please try: make bin/14e41687.pxe DEBUG=tg3<br class="">Or if you chain from pxelinux you might want make bin/14e41687.lkrn<br class="">DEBUG=tg3 instead<br class=""><br class="">undionly versions will never include specific nic versions, so it<br class="">won't make any difference.<br class=""><br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">----<br class="">Paul Krizak office: AF-250D<br class="">Staff IT Engineer, UCM desk: 858-651-2467<br class="">Qualcomm, Inc cell: 512-791-0686<br class=""><br class=""><br class="">-----Original Message-----<br class="">From: Christian Nilsson [mailto:nikize@gmail.com]<br class="">Sent: Wednesday, February 03, 2016 11:07 AM<br class="">To: Doose, Michael; Krizak, Paul<br class="">Cc: ipxe-devel@lists.ipxe.org<br class="">Subject: Re: [ipxe-devel] Request for Network support for HP Elitebook 745 G3 (Broadcom NetXtreme Gigabit Ethernet Plus)<br class=""><br class=""> Hi,<br class="">Sorry about 14e4-1687 not being included, let me return to that further down...<br class=""><br class="">On Tue, Feb 2, 2016 at 10:07 PM, Doose, Michael <mdoose@qualcomm.com> wrote:<br class=""><blockquote type="cite" class="">Christian,<br class=""><br class="">Thanks so much for the response, I apologize for not better explaining our situation. I hope the information below helps make things more clear. I work on the Windows side and have a Unix engineer helping with the updates on the pxe/ipxe side.<br class=""><br class="">We are now using iPXE 1.0.0+ (8f01). I have reached out to have the unit folks check the niclist.pl for the Broadcom NIC.<br class=""></blockquote><br class="">That is very old!<br class="">commit 8f0173b5c8ac6de9e9fa8115e37357c2aeb88101<br class="">Date: Mon Dec 9 15:32:42 2013 +0000<br class=""><br class="">Please use latest git master, cloning from<br class="">https://git.ipxe.org/ipxe.git is recommended<br class=""><br class=""><blockquote type="cite" class=""><br class="">The error warning received was the following which referenced Legacy: "iPXE initializing devices...WARNING: Using legacy NIC wrapper on 00:00:00:00:00:00"<br class=""><br class="">On all our other systems we see: "iPXE initializing devices...ok"<br class=""><br class="">We are using .kkpxe with WIMBOOT and BOOTMGR.EXE, no EFI stuff. We are also chain loading from SYSLINUX PXE to iPXE<br class=""></blockquote><br class="">Why kkpxe?, and what's your boot path/steps up to the above "Using<br class="">legacy NIC wrapper" message?<br class="">For example is it loaded from USB or is pxelinux involved somewhere etc.<br class="">Are you using ipxe.* or undionly.*<br class="">if you use undionly.kpxe (note not kkpxe) then ipxe will use the<br class="">BIOS/Firmware drivers, you could in that case try to upgrade BIOS.<br class="">if you use ipxe.pxe (don't use kpxe when using this variant) then it<br class="">will only use ipxes native drivers, since none exist that won't work,<br class="">but it shouldn't try to detect a non existing nic.<br class="">Or build bin/14e41687.pxe (see below for info about adding support)<br class="">Another alternative would be to test with .usb version on a USB stick:<br class="">http://ipxe.org/download#using_a_boot_cd-rom_or_usb_key<br class=""><br class=""><br class=""><blockquote type="cite" class=""><br class="">In BIOS we have configured legacy mode:<br class="">Configure Legacy Support and Secure boot : "Legacy Support Enable and Secure Boot Disable"<br class=""><br class="">-Mike<br class=""></blockquote><br class="">Now about The missing 14e4-1687, I'm quite sure I have added that to a<br class="">build myself.<br class="">You could try to add it to tg3.c and see if it works<br class=""><br class="">PCI_ROM(0x14e4, 0x1687, "14e4-1687", "14e4-1687", 0),<br class="">or patch at: http://ur1.ca/oh6r6<br class=""><br class="">If it does not work then build with debugging enabled and see if that<br class="">gives anything:<br class="">make bin/14e41687.pxe DEBUG=tg3<br class="">This will enable the DBG statements in the tg3.c file<br class="">for even more debug output use DEBUG=tg3,tg3_hw,tg3_phy<br class=""><br class="">If it works, it would be appriciated if you could run thru the<br class="">testlist at http://ipxe.org/dev/driver<br class="">If everything passes then we can add it to the main repo (it will<br class="">probably be added if it works to boot with since it's better then<br class="">nothing, but the more tested the better)<br class=""><br class="">/Christian<br class=""><br class=""><br class=""><blockquote type="cite" class=""><br class="">-----Original Message-----<br class="">From: Christian Nilsson [mailto:nikize@gmail.com]<br class="">Sent: Tuesday, February 02, 2016 11:17 AM<br class="">To: Doose, Michael <mdoose@qualcomm.com><br class="">Cc: ipxe-devel@lists.ipxe.org<br class="">Subject: Re: [ipxe-devel] Request for Network support for HP Elitebook 745 G3 (Broadcom NetXtreme Gigabit Ethernet Plus)<br class=""><br class="">On Tue, Feb 2, 2016 at 7:48 PM, Doose, Michael <mdoose@qualcomm.com> wrote:<br class=""><blockquote type="cite" class="">Hey team,<br class=""><br class="">I pulled down the latest build this morning to try and add support for<br class="">the new HP Elitebook 745 G3 (AMD) based notebook, but it is still<br class="">defaulting to the Legacy and failing with all zeroes as the Mac Address.<br class=""><br class="">This unit runs a “Broadcom NetXtreme Gigabit Ethernet Plus” LAN<br class="">Adapter. Is there anything you can suggest to try and add support for this unit?<br class=""><br class="">Thank you!<br class=""><br class="">Misc Hardware Info:<br class=""><br class="">Hardware IDs:<br class="">PCI\VEN_14E4&DEV_1687<br class=""></blockquote><br class="">Hi,<br class=""><br class="">The 14e4-1687 have native supported in ipxe and should work, the first thing to check in cases like this is the niclist that can be generated by niclist.pl in the util directory.<br class=""><br class="">What do you mean by Legacy? Assuming you are using the latest git master, what are your build command and which ipxe file are you using?<br class="">legacy might mean undionly.kpxe which do not have any native drivers in it. you need ipxe.pxe or ipxe.efi depending on platform, you could also build 14e41687.pxe/.efi to only support the specific nic.<br class=""><br class="">Your issues might also be related to buggy HP firmware:<br class="">http://lists.ipxe.org/pipermail/ipxe-devel/2015-November/004476.html<br class=""><br class="">Hope it helps, otherwise you can follow some of the steps described in the above email thread and see if that gets you any further.<br class=""><br class="">/Christian<br class=""></blockquote></blockquote>_______________________________________________<br class="">ipxe-devel mailing list<br class="">ipxe-devel@lists.ipxe.org<br class="">https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel<br class=""></div></div></blockquote></div><br class=""><div class="">
<div class=""><font face="Courier New" class=""><span style="font-size: 11px;" class="">Andreas Fink</span></font></div><div class=""><font face="Courier New" class=""><span style="font-size: 11px;" class="">DataCell ehf, Backbone ehf, Cajutel Inc, Alisanus GmbH</span></font></div><div class=""><font face="Courier New" class=""><span style="font-size: 11px;" class="">------------------------------------------------------------------</span></font></div><div class=""><font face="Courier New" class=""><span style="font-size: 11px;" class="">c/o Alisanus GmbH Clarastreasse 3, 4058 Basel, Switzerland</span></font></div><div class=""><font face="Courier New" class=""><span style="font-size: 11px;" class="">E-Mail: <a href="mailto:andreas@fink.org" class="">andreas@fink.org</a> <a href="https://www.fink.org" class="">https://www.fink.org</a></span></font></div><div class=""><font face="Courier New" class=""><span style="font-size: 11px;" class="">Mobile: +41-78-6677333 Office: +41 61 6666330</span></font></div><div class=""><font face="Courier New" class=""><span style="font-size: 11px;" class="">Skype: andreasfink Jabber/XMPP: <a href="mailto:andreas@fink.org" class="">andreas@fink.org</a> ICQ: 8239353</span></font></div><div class=""><font face="Courier New" class=""><span style="font-size: 11px;" class="">------------------------------------------------------------------</span></font></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></div></body></html>