Re: [edk2] Device Path Comparison Failing

2015-04-02 Thread Narinder Dhillon
Hi Andrew, Thanx again. I found it. Needed to set the MAC device path struct to all zero's before setting MAC address and installing the protocol. On Thu, Apr 2, 2015 at 1:33 PM, Narinder Dhillon wrote: > Hi Andrew, > > Thanx for helping. Basically, the problem is that in my driver I set the >

Re: [edk2] Device Path Comparison Failing

2015-04-02 Thread Narinder Dhillon
Hi Andrew, Thanx for helping. Basically, the problem is that in my driver I set the SNP structure with 6 bytes of MAC and the rest to zeros but for some reason the device path always shows up with these values after the first 10 bytes of MAC. That is what I am trying to figure out. Can you tell me

Re: [edk2] Device Path Comparison Failing

2015-04-01 Thread Andrew Fish
> On Apr 1, 2015, at 3:34 PM, Narinder Dhillon wrote: > > Hi Andrew, > > I did do a hex dump but was not sure why there would be difference. The boot > options are stored in flash and I can see that the source path matches the > one stored in flash. Not sure why the TmpDevicePath is different

Re: [edk2] Device Path Comparison Failing

2015-04-01 Thread Narinder Dhillon
Hi Andrew, I did do a hex dump but was not sure why there would be difference. The boot options are stored in flash and I can see that the source path matches the one stored in flash. Not sure why the TmpDevicePath is different as it is set to SourcePath at the top of the function. But the old var

Re: [edk2] Device Path Comparison Failing

2015-04-01 Thread Andrew Fish
> On Apr 1, 2015, at 2:27 PM, Narinder Dhillon wrote: > > Hi All, > > I add a boot option for PXE boot, pointed to a network interface, and boot > from it successfully. If I update my firmware, flash into spi-nor device and > then try pxe boot again, fails. > If I now delete the old boot opti

[edk2] Device Path Comparison Failing

2015-04-01 Thread Narinder Dhillon
Hi All, I add a boot option for PXE boot, pointed to a network interface, and boot from it successfully. If I update my firmware, flash into spi-nor device and then try pxe boot again, fails. If I now delete the old boot option in boot manager and add a new one, then PXE boot works. I have chased