[edk2-devel] reg: MAC address could not change on pre-boot environment and failed to PXE boot.

Sivaraman Nainar via groups.io sivaramann=ami.com at groups.io
Fri Mar 24 04:22:12 UTC 2023


Hello :

We are writing a application to program the MAC from UEFI shell and with the updated MAC address trying to do the PXE Boot which failed.

The application uses the Simple Network Protocols StationAddress() to update the MAC. After update the Current Address in the Mode of SimpleNetwork Interface updated to new MAC address. If we performed IfConfigl -l command the updated MAC not showing. Also in this environment PXE boot also got failed.

To bind the updated MAC, tried giving "reconnect -r" from UEFI shell after running test application and performed PXE boot. With On board Network controller (Intel I219), the MAC address updated in Snp->Mode->CurrentAddress is reverted back to older MAC address.  If reconnect not performed, the MAC Address changing but PXE Failed to boot.

Can someone comment if the method to update the MAC is correct or we missing something.

Thanks
Siva
-The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#101722): https://edk2.groups.io/g/devel/message/101722
Mute This Topic: https://groups.io/mt/97817537/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20230324/4e749aea/attachment-0001.htm>


More information about the edk2-devel-archive mailing list