Hi,

I have an efi I am trying to execute.  I did not create the EFI so have no 
source.  Loadimage(...) works, but startimage(...) fails with status 3, 
unsupported.  If I build a simple hello world application, it runs this OK.

Things I've checked, imagecodetype is 1 (same as launching application).  The 
image size is very much larger than the binary size on disk when queried by 
loadedimageprotocol.

I have tried converting binary into a C byte array and including in launch 
application (packing set to 8).  Then allocating from pool and copying said 
byte array into pooled memory buffer, passing this as source buffer to 
loadimage(...).  Again it works with my helloworld application but not with the 
actual binary I want to run.

I have tried the efi binary shell package and I can successfully run the 
problem binary application from there fine.

Any suggestions would be very helpful,

Regards,

Dave Cox

________________________________
David Cox
Senior Software Engineer
Autologic Diagnostics Ltd
Tel: +44 1865 870050
Mobile:
Fax: +44 1865 870051
Email: [email protected]
Website: www.autologic.com<http://www.autologic.com>

This message contains information which may be confidential and is intended for 
the named addressee only. Unless you are the named addressee, or authorised to 
receive it on behalf of the addressee you may not copy or use it, or disclose 
it to anyone else. Any views or opinions expressed in this message are those of 
the author and not necessarily representative of those of Autologic Diagnostics 
Ltd. Whilst every endeavour is taken to ensure that e-mails are free from 
viruses, no liability can be accepted and the recipient is requested to use 
their own virus checking software. If you have received this email in error 
please accept our apology and contact the sender. All work carried out on any 
vehicle using Autologic diagnostic equipment must be carried out in strict 
accordance with the instructions contained within the relevant manufacturer's 
workshop manuals. Autologic Diagnostics limited accepts no responsibility or 
liability for any damage or claim arising from any work carried out by 
operatives using equipment supplied by Autologic Diagnostics limited. 
Registered Office: Autologic House, London Road, Wheatley, Oxon, OX33 1JH, 
England, UK Registered in England & Wales No. 06814180
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to