<div>Hello, Sergey.</div><div> </div><div>You can't flash plain Option ROM with latest bootutil. Bootutil expects FLB format. You may try to "-saveimage" first to expect. Usually plain Option ROM starts from 0x17a-byte offset (FLB header @ 0xd7). At offset 0xe0-0xe3 you may find ROM length.</div><div> </div><div>25.12.2016, 21:53, "Sergey Vasiljev" <sv_2@mail.ru>:</div><blockquote type="cite">Hello!<br /><br /><br />I have <strong>Intel CT Desktop Adapter</strong> (vendor ID: 8086, device ID:10d3, chipset <span>82574L</span>) with 2mbit flash ROM.<br />So, I've built iPXE image for my NIC without any problem:<br /><br />> <strong>make bin/808610d3.rom</strong><br /><br />Then made bootable USB with FREEdos & copy bootutil + my image rom on it<br /><br /><br />The problem occured when I've tried to write my image in NIC's ROM:<br /><br />> <strong>bootutil.exe -nic 1 -restoreimage -file 808610d3.rom</strong><br /><br />And got the following error:<br /><br /><em><strong>Invalid image file 808610d3.rom</strong></em><br /><br /><br />Please help!<br />What does it mean? I don't think that image file has invalid format.<br />May be my NIC has some protection against rewriting?<br /><br /><br /><br />Thanks in advance<br />Best regards,<br />Sergey<br /><br />,<p>_______________________________________________<br />ipxe-devel mailing list<br /><a href="mailto:ipxe-devel@lists.ipxe.org">ipxe-devel@lists.ipxe.org</a><br /><a href="https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel">https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel</a></p></blockquote><div> </div><div> </div><div>-- <br />Anton D. Kachalov</div>