I have reproduced your issue at MinnowBoard.

Looks like Liming’s answer is correct:
Those APPLICATIONs may be compatible with EDK Shell, not work well on UEFI 
Shell.

If you load EDK Shell 
(https://svn.code.sf.net/p/edk2/code/trunk/edk2/EdkShellBinPkg/FullShell) at 
first, these two apps under EDK Shell could work well. I have tested it and you 
can follow this way.

From: vijaikumar k [mailto:vijaikuma...@mistralsolutions.com]
Sent: Wednesday, July 02, 2014 15:37
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] edk2-devel Digest, Vol 55, Issue 6

 Yes Tian, Diskpart.efi doesnot need input arguments. I tried efifmt.efi blk8 
/FS:FAT . But the same result. The application did not do anything. It is 
expected to print help menu when running EFIFMT.efi without any arguments. I 
downloaded UDK2010 and ran the Nt32 emulated environment. There when i run 
EFIFMT.efi it is displaying the help menu as expected.

Message: 4
Date: Wed, 2 Jul 2014 07:06:11 +0000
From: "Tian, Feng" <feng.t...@intel.com<mailto:feng.t...@intel.com>>
Subject: Re: [edk2] EFIFMT and EFICHK tools not working in MinnowBoard
        UEFI
To: "edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>"
        
<edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>>
Message-ID:
        
<7f1bad85adea444d97065a60d2e97ee501c11...@shsmsx101.ccr.corp.intel.com<mailto:7f1bad85adea444d97065a60d2e97ee501c11...@shsmsx101.ccr.corp.intel.com>>

Content-Type: text/plain; charset="utf-8"

Diskpart.efi doesn?t need input arguments. So you can do like this way. But 
Efifmt.efi needs them to specify how and which BlockIo to be formatted. You can 
run ?efifmt.efi -?? for help info.

From: vijaikumar k 
[mailto:vijaikuma...@mistralsolutions.com<mailto:vijaikuma...@mistralsolutions.com>]
Sent: Wednesday, July 02, 2014 14:14
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: Re: [edk2] EFIFMT and EFICHK tools not working in MinnowBoard UEFI


Message: 3
Date: Wed, 2 Jul 2014 05:59:07 +0000
From: "Tian, Feng" 
<feng.t...@intel.com<mailto:feng.t...@intel.com><mailto:feng.t...@intel.com<mailto:feng.t...@intel.com>>>
Subject: Re: [edk2] EFIFMT and EFICHK tools not working in MinnowBoard
        UEFI
To: 
"edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net><mailto:edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>>"
        
<edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net><mailto:edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>>>
Message-ID:
        
<7f1bad85adea444d97065a60d2e97ee501c11...@shsmsx101.ccr.corp.intel.com<mailto:7f1bad85adea444d97065a60d2e97ee501c11...@shsmsx101.ccr.corp.intel.com><mailto:7f1bad85adea444d97065a60d2e97ee501c11...@shsmsx101.ccr.corp.intel.com<mailto:7f1bad85adea444d97065a60d2e97ee501c11...@shsmsx101.ccr.corp.intel.com>>>

Content-Type: text/plain; charset="utf-8"

How do you use these two apps? And after DiskPart.efi, do you run ?map -r??

   No Tian, I don't run map -r after after Diskpart.efi. I just launch the 
application by specifying its name in UEFI Shell.
   FS0:>Diskpart.efi

From: vijaikumar k 
[mailto:vijaikuma...@mistralsolutions.com<mailto:vijaikuma...@mistralsolutions.com><mailto:vijaikuma...@mistralsolutions.com<mailto:vijaikuma...@mistralsolutions.com>>]
Sent: Wednesday, July 02, 2014 13:08
To: 
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net><mailto:edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>>
Subject: [edk2] EFIFMT and EFICHK tools not working in MinnowBoard UEFI

Hi All,
         Recently I tried formatting the SD card in MinnowBoard using 
EFIFMT.efi application available from Intel. But it does-not print anything. 
However DISKPART.efi is running successfully. On Debug build of Firmware I see 
the following log when I run EFIFMT and EFICHK application.

FSOpen: Open '\ia32\efifmt.efi' Success
FSOpen: Open '\ia32\efifmt.efi' Success
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 3DABA7A8
Loading driver at 0x0003D9BA000 EntryPoint=0x0003D9C59C0
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 3DA27D10
InstallProtocolInterface: 752F3136-4E16-4FDC-A22A-E5F46812F4CA 3EAF6D7C

This is the only log I see. From the above log it is clear that the application 
entry point has not been called. There is no EDKCompatibility Package in 
Minnowboard UEFI. Would that be a cause for the application not working. 
However Diskpart.efi application was working fine. From the source code I see 
that DISKPART.efi is in .c format however EFICHK and EFIFMT applications are in 
.cxx format with a makefile. What is the difference between these two ways of 
writing the application?

Regards
Vijai Kumar K

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft

------------------------------

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net><mailto:edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>>
https://lists.sourceforge.net/lists/listinfo/edk2-devel


End of edk2-devel Digest, Vol 55, Issue 4
*****************************************

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft

------------------------------

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel


End of edk2-devel Digest, Vol 55, Issue 6
*****************************************

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to