I had this error when trying to EUFI boot with IPXE against a DNSMasq server:
Filename: bootnetx64.efi tftp://10.x.x.x/bootnetx64.efi... ok bootnetx64.efi : 1322936 byes [EFI] Fetching Netboot Image Malformed binary after Attribute Certificate Table datasize: 4194034 SumOfBytesHashed: 1253376 SecDir->Sisze: 1392 hashsize: 2939536 SecDir->VirtualAddress: 0x00132000 Failed to load image: Invalid Parameter start_image() returned Invalid Paramter Could not boot image: Error 0x7f048282 (http://ipxe.org/7f048282)
The issue is that I had grubx64.efi and bootnetx64.efi incorrectly positioned in /etc/dnsmasq.d/local. This is the correct statement placement:
dhcp-match=set:efi-bc,option:client-arch,7 dhcp-boot=tag:efi-bc,grubx64.efi pxe-service=tag:efi-bc,BC_EFI, "Install,bc", bootnetx64.efi,