版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、 AMI Software Utility User GuideAptio 5.x AFU User GuideDocument Revision 1.11Apr 28, 2017Confidential, NDA Required Copyright 2017American Megatrends, Inc. 5555 Oakbrook ParkwaySuite 200Norcross, GA 30093 (USA)All Rights ReservedProperty of American Megatrends, Inc.American Megatrends, Inc. AptioV
2、AFU User GuideLegalDisclaimerThis publication contains proprietary information which is protected by copyright. No part of this publication may be reproduced, transcribed, stored in a retrieval system, translated into any language or computer language, or transmitted in any form whatsoever without t
3、he prior written consent of the publisher, American Megatrends, Inc. American Megatrends, Inc. retains the right to update, change, modify this publication at any time, without notice.For Additional InformationCall American Megatrends, Inc. at 1-800-828-9264 for additional information. Limitations o
4、f LiabilityIn no event shall American Megatrends be held liable for any loss, expenses, or damages of any kind whatsoever, whether direct, indirect, incidental, or consequential, arising from the design or use of this product or the support materials provided with the product.Limited WarrantyNo warr
5、anties are made, either expressed or implied, with regard to the contents of this work, its merchantability, or fitness for a particular use. American Megatrends assumes no responsibility for errors and omissions or for the uses made of the material contained herein or reader decisions based on such
6、 use.Trademark and Copyright AcknowledgmentsCopyright 2017 American Megatrends, Inc. All Rights Reserved. American Megatrends, Inc.5555 Oakbrook ParkwaySuite 200Norcross, GA 30093 (USA)All product names used in this publication are for identification purposes only and are trademarks of their respect
7、ive companies.Copyright 2017American Megatrends Inc. Confidential, NDARequiredPage 32 of 32Table of ContentsAptio 5.x AFU User Guide1Legal2Table of Contents3Document Information5Purpose5Audience5Change History5Introduction6Overview6AFU APTIO Features6Requirements6Supported Operating System6Firmware
8、Requirements7Getting Started8Installation8AFUAPTIO Operation9Overview9Commands and Options10Usage10Commands10Options11Rules12Usage13Overview13AfuEfix64 Option 1 Option 213AfuEfix64 15AfuEfix64 15AfuEfix64 :16AfuEfix64 16AfuEfix64 17Remarks18Overview18Preserving Setup Setting /SP18Preserving SMBIOS /
9、R and /Rn19Programming NVRAM Region /N19Programming Specific NCB Block /Kn19Programming Specific ROM Hole /Ln19Secured Flash Update /CAPSULE and /RECOVERY20Send special command to BIOS /CMD:xxx21Linux Pre-Requisites22Signing Driver and Enrolling Public Key to the System24Support Table26Command/Optio
10、n Support in Each Mode26Error Codes28Error Code Definition28FQA32The Error Message Information of ROM32Windows requires a digitally signed driver32Document InformationPurposeThis document provides information to use the AptioV AFU for updating system BIOS.AudienceGeneric BIOS Engineers, OEM Engineer
11、s, and Aptio Customers.Change HistoryDateRevisionDescription2013-11-191.00Initial document created and update content to latest released of Afu2014-03-201.01Modified 0x18、0xB6、0xB7、0xBF、0xD0 error message text.2014-04-241.02Added error message 0x34、0x35.2014-08-221.03Added new commands for /meul and
12、 /JBC.Need to be updated the SmiFlash module to 5.001_SmiFlash_13.2014-11-111.04Added Windows 2012 R2 in the support list.2015-01-301.05Added news command /cmd:.2015-06-221.06Removed MicrosoftDOS support.2015-11-181.07Added Linux Xen note.2016-02-021.08Added 0x4A、0x4B error message text. Added DOS d
13、oes not support note.2016-03-251.09Added an announcement: Linux does not support Secure Boot2016-10-181.10Added support Linux Secure Boot.Added /CLRCFG, /BCPALL, /DPC command. Added 0x36, 0x37, 0x4C, 0x71 error messages.2017-04-281.11Added 0x4C, ROMLayout change error messages. Added answer for Wind
14、ows digitally signed driver.IntroductionOverviewAFU (AMI Firmware Update) is a package of utilities used to update the system BIOS under various operating systems. AFU only works for APTIO with SMI FLASH support.AFU APTIO FeaturesThis list of features is supported by command line, command prompt, EF
15、I Shell, or BSD/Linux shell. Read system ROM image Flash ROM image Command line operatingRequirementsSupported Operating SystemAFU is supported by the following operating systems: Microsoft Windows 2000 Microsoft Windows XP Microsoft Windows 2003 Microsoft Windows Server 2008 R2 Microsoft Windows Se
16、rver 2012 R2 Microsoft Windows Vista Microsoft Windows 7 Microsoft Windows 8 Microsoft Windows 8.1 Microsoft Windows 10 Microsoft Windows PE EFI Shell Environment BSD Linux(*1) MS-DOS(*2)Note:*1. On Linux Xen environment, AFULNX must be executed in host desktop (Domain 0) of the virtual machine.*2.
17、DOS version is stopped supporting in AFU 5.08 or later version.Firmware Requirements Compatible with AptioV. Requires that the currently installed firmware has SMI flashing support enabled. For supporting Secure Flash, the following eModules are required:- SecureFlash/NIST SP800-147 (5.004_SecureFla
18、sh_06 or later)- AmiCryptoPkg (5_004.CryptoPkg_010 or later)- SMIFlash (5.001_SmiFlash_13 or later)- On Flash Block Description (APTIO) (5.001_OFBD_03 or later)- On Flash Block Description (APTIO) - Secure Flash (5.005_OfbdSecureFlash_000 or later) For supporting Linux Xen, the following eModule are
19、 required:- Runtime Memory Hole (5.007_RuntimeMemoryHole_02.1 or later)Getting StartedInstallationTo run, extract all of the files from the folder with the name corresponding to the desired operating system.AFUAPTIO OperationOverviewThis mostly involves documenting all the SDL tokens and eLinks. Thi
20、s chapter explains the operation of AFUAPTIO.The AFUAPTIO operation mode includes all of the AFUAPTIO features such as saving current ROM image to file, getting and displaying ROM ID from BIOS ROM file.An example of AFUEFIX64 that getting and displaying ROM ID from BIOS ROM file command screen are s
21、hown below:Commands and OptionsThe following list is to offer you an overview of the commands and options provided by AFUAPTIO. The content can also be found in AFUAPTIOs help information. A more detailed usage of the commands and options will be explained in the next chapter.UsageAfuEfix64 Option 1
22、 Option 2 OrAfuEfix64 OrAfuEfix64 BIOS ROM File NameThe mandatory field is used to specify path/filename of the BIOS ROM file with extension.CommandsThe mandatory field is used to select an operation mode.- /OSave current ROM image to file- /UGet and display ROM ID from BIOS ROM file- /SRefer to Opt
23、ion: /S- /DVerification test of given ROM File without flashing BIOS.- /ARefer to Option: /A- /OADRefer to Option: /OAD- /CLNEVNLOG Refer to Option: /CLNEVNLOGOptionsThe optional field is used to supply more information for flashing BIOS ROM. Following lists the supported optional parameters and for
24、mat:- /CLRCFGProgram without preserving setup configuration-/BCPALLSave all question values before flash-/DPCDont Check Aptio 4 and Aptio 5 platform.- /MEUL:Program ME Entire Firmware Block, which supports Production.BIN and PreProduction.BIN files.- /QSilent execution- /XDo not check ROM ID- /CAFCo
25、mpare ROM files data with Systems is different or not, if not then cancel related update.- /SDisplay current systems ROMID-/JBCDont Check AC adapter and battery.- /HOLEOUT:Save specific ROM Hole according to given RomHole GUID.- /SPPreserve Setup setting.- /RPreserve all SMBIOS structures during pro
26、gramming.- /RnPreserve SMBIOS type N during programming.(n=0-255)- /BProgram Boot Block- /PProgram main bios image- /NProgram NVRAM- /KProgram all non-critical blocks- /KnProgram nth non-critical block (n=0-15)- /HOLE:Update specific ROM Hole according to RomHole GUID.- /LProgram all ROM Holes- /LnP
27、rogram nth ROM Hole only (n=0-15)- /ECUFUpdate EC BIOS when newer version is detected.- /EProgram Embedded Controller block- /MEProgram ME Entire Firmware Block.- /MEUFProgram ME Ignition Firmware Block.Note:- /AOEM Activation file.- /OADDelete OEM Activation Key- /CLNEVNLOGClear Event Log.- /CAPSUL
28、EOverride Secure Flash policy by Capsule- /RECOVERYOverride Secure Flash policy by Recovery- /ECProgram Embedded Controller Block. (Flash Type)-/CMD:Send special command to BIOS. /CMD:xxx- /REBOOTReboot after programming.- /SHUTDOWNShutdown after programming.- /FDRFlash Flash-Descriptor Region.(*1)-
29、 /GBERFlash GBE Region.(*1)- /MERFlash Entire ME Region.(*1)- /OPRFlash Operation Region of SPS.(*1)- /PDRFlash PDR Region.(*1)*1: If BIOS ME Module reports these commands, AFU will show this command.To use a command of generic AFU on the Specific platform, please refer the help menu (/?) in generic
30、 AFU.Rules- Any parameter enclosed by is a mandatory field.- Any parameter enclosed by is an optional field.- cannot co-exist with any Options. They are /O, /U, /D.- Main BIOS image is default flashing area if no any options present.- /REBOOT, /X, and /S will enable /P function automatically.- If /B
31、 present alone, there is only the Boot Block area to be updated.- If /N present alone, there is only the NVRAM area to be updated.- If /E present alone, there is only the Embedded Controller block to be updated.UsageOverviewThe AFUAPTIO offers the following basic command and option usages: AfuEfix64
32、 Option 1 Option 2 AfuEfix64 AfuEfix64 Other usages which are not mentioned in help are: AfuEfix64 : AfuEfix64 AfuEfix64 These usages are explained in more detail in this chapter.AfuEfix64 Option 1 Option 2 The user could put no option or combine multiple options in one command line. Commands cannot
33、 be combined in command line like options unless the command is categorized as both a command and an option, such as /S and /A.For option combination case, AFUAPTIO will check its option priority list and execute the options according to the priority order. Three examples of this usage are provided
34、below.AfuEfix64 Where BIOS ROM File Name, the mandatory field is used to specify path/filename of the BIOS ROM file with extension. This command line would trigger AFUAPTIO to run the default setting which flashes the system Main Block with the specified BIOS ROM File.AfuEfix64 /D /SWhere Output BIO
35、S ROM File Name, the mandatory field is used to specify path/filename of the BIOS ROM file with extension. /D is to verify the current BIOS and the BIOS ROM File, and /S, which is categorized as a command and also an option, gets and displays the current systems ROM ID.AfuEfix64 /P /B /N /REBOOTWher
36、e BIOS ROM File Name, the mandatory field is used to specify path/filename of the BIOS ROM file with extension. This command line is to flashing current BIOS by BIOS ROM file. /P /B /N are to specify that the flashing regions are Main Block, Boot Block and NVRAM. /REBOOT is to specify that reboot ac
37、tion will be performed in this execution. AFUAPTIO would execute the options in the order of /B, /P, /N and then reboot the system at the end. The order of execution is determined by AFUAPTIO design.AfuEfix64 /MEWhere ME File Name is used to specifying path/filename of the ME file with extension. Th
38、is command line programs entire ME block with the specified ME file.AfuEfix64 AFUAPTIO can only execute one command at a time and it does not accept combinations of command and option in one command line except those can be both command and option. Three examples of this usage are provided below.Afu
39、Efix64 /OWhere BIOS ROM File Name, the mandatory field is used to specify path/filename of the BIOS ROM file with extension. This command line saves the current ROM image to a file.AfuEfix64 /UWhere BIOS ROM File Name is used to specify path/filename of the BIOS ROM file with extension. This command
40、 line gets and displays the ROM ID from the specified BIOS ROM file.AfuEfix64 This command usage is for some commands which do not require inputting any file to complete the execution. Usually this type of commands accesses the current BIOS only. An example of this usage is provided:AfuEfix64 /SThis
41、 command line gets and displays the ROM ID of the current BIOS in system.AfuEfix64 :This command usage is for outputting or flashing a certain ROM hole. For example, the command line for outputting a certain ROM hole whose GUID is 01234567- 89ab- cdef- 0123- 456789abcdef is as following:AfuEfix64 /H
42、OLEOUT:0123456789abcdef0123456789abcdefWhere Output ROM Hole File Name is used to specify path/filename of the output ROM hole file with extension. The GUID after the option should not contain dashes or spaces in between.Another example of flashing a certain ROM Hole whose GUID is 01234567- 89ab- cd
43、ef- 0123- 456789abcdef is as following:AfuEfix64 /HOLE:0123456789abcdef0123456789abcdefWhere ROM Hole File Name is used to specify path/filename of the ROM hole file with extension. Please discard dashes and spaces inside GUID line while typing.AfuEfix64 This command usage is for /Kn and /Ln command
44、s where n is indicating the numeric order of a certain non-critical block or ROM hole. For example, to program the 4th ROM hole, the command line could be:AfuEfix64 /L4Where BIOS ROM File Name is used to specify path/filename of the BIOS ROM file with extension, and 4 is to specify that the 4th ROM
45、hole is the one to perform /L operation.The next chapter has more detail of the numbering rule of non-critical blocks and ROM holes.AfuEfix64 This command usage is for /A command which insert a specific OEM activation key into the empty key inside current system BIOS. The command line is as follows:
46、AfuEfix64 /A Where OEM Activation Key Bin File Name is used to specify path/filename of the OEM activation key file with extension. Please make sure that the OEM Activation Key region is empty before inserting the key, or please perform /OAD command before insertion.RemarksOverviewThis chapter is to
47、 describe commands/options which require extra attention and to explain cases which may occur in certain unique scenarios.Preserving Setup Setting /SP/SP command is designed specifically for “OEM NVRAM/Setup Variable Preserve” module part of OFBD. If /SP is called, AFUAPTIO would send SMI 0x26 twice
48、 to save setup setting before starting updating NVRAM and to restore setup setting after finishing updating NVRAM. Customer can customize their OFBD module to preserve certain NVRAM data when AFUAPTIO flashes the NVRAM area. For example, there are two methods for preserving Setup Password:Method 1En
49、able PRESERVE_PASSWORDS token The BIOS will preserve its Setup password when AFUAPTIO calls the SMIFlash module.Method 2Control through /SP command Customer can port PreserveSetupPassword in OFBDSETUPStoreHandle and RestoreSetupPassword in OFBDSETUPRestoreHandle, and use /SP command to keeot to keep
50、 the Setup Password while updating the NVRAM:AfuEfix64 xxx.ROM /N /SP - keep Setup password AfuEfix64 xxx.ROM /N- dont keep Setup password.This feature needs BIOS cooperation. To learn more about preserving setup data, please consultwith your BIOS provider.Preserving SMBIOS /R and /RnIf the SMBIOS d
51、ata is stored in Main Block or Boot Block, AFUAPTIO /R and /Rn options would take the responsibility to preserve the SMBIOS data. If the SMBIOS data is stored in NVRAM and BIOS projects token SMBIOS_PRESERVE_NVRAM=0, the preservation process would take place at OFBD module. To know more about the de
52、tail of preserved data, please consult with your BIOS provider./R is used to preserve the whole SMBIOS data. To preserve a certain type of SMBIOS, please use /Rn. For example, to preserve SMBIOS Type 2 and Type 41 during BIOS flashing and the SMBIOS data is located in Boot Block, the command could be:AfuEfix64 /B /R2 /R41Programming NVRAM Region /NErasing NVRAM may cause important variables lose.Programming Specific NCB Block /Kn/Kn command is designed to program a specific non-
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
评论
0/150
提交评论