http://www.ecs.com.tw/extra/flashutl/afuwin.htm Wystarczy zmienić rozszerzenie pliku który posiadasz na ROM lub BIN.
AMIBIOS8 ROM Utility User Guide
AFUWIN
Document Revision 1.0.1 – Aug 28, 2009
NDA REQUIRED
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Copyright (c) 2008 American Megatrends, Inc.
All Rights Reserved.
American Megatrends, Inc.
5555 Oakbrook Parkway
Suite 200
Norcross, GA 30093
This 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 the 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 Information
Call American Megatrends BIOS Sales Department at 1-800-828-9264 for additional information.
Limitations of Liability
In 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 Warranty
No warranties are made, either express 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 use.
Trademark and Copyright Acknowledgments
All product names used in this publication are for identification purposes only and are trademarks of their respective
Companies.
Disclaimer
This manual describes the operation of the AMIBIOS8 ROM Utilities. Although efforts have been made to insure the
accuracy of the information contained here, American Megatrends expressly disclaims liability for any error in this
information, and for damages, whether direct, indirect, special, exemplary, consequential or otherwise, that may
result from such error, including but not limited to the loss of profits resulting from the use or misuse of the manual
or information contained therein (even if American Megatrends has been advised of the possibility of such damages).
Any questions or comments regarding this document or its contents should be addressed to American Megatrends at
the address shown on the cover.
American Megatrends provides this publication “as is” without warranty of any kind, either expressed or implied,
including, but not limited to, the implied warranties of merchantability or fitness for a specific purpose.
Some states do not allow disclaimer of express or implied warranties or the limitation or exclusion of liability for
indirect, special, exemplary, incidental or consequential damages in certain transactions; therefore, this statement may
not apply to you. Also, you may have other rights which vary from jurisdiction to jurisdiction.
This publication could include technical inaccuracies or typographical errors. Changes are periodically made to the
information herein; these changes will be incorporated in new editions of the publication. American Megatrends may
make improvements and/or revisions in the product(s) and/or the program(s) described in this publication at any time.
Requests for technical information about American Megatrends products should be made to your American
Megatrends authorized reseller or marketing representative.
Revision Information
Date
09/5/13
09/8/28
Copyright 2008
Rev
1.0.0
1.0.1
Description of Changes
Initial Document.
1. Add Windows 7 support.
2. Add /ME and /MEUF usage description.
NDA Required (NDA)
Page 2 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Overview
AFUWIN is an updating system BIOS utility with command line and GUI interface. It has
same parameters and behavior as AFUWIN, and further, GUI feature starting from v4.10
can provide you a friendly environment to visualize BIOS update procedure. By the way, do
not forget that target board MUST be AMIBIOS system while using this utility.
Features
•
•
•
•
This utility offers the following features:
Small executable file size
Quickly update
Clear updating information and status
Fully compatible with previous version (See Appendix B AFUWIN v3.xx Commands)
Requirements
Supported Operating System
•
•
•
•
•
•
•
•
•
AFUWIN Utility is supported in following operating system:
Microsoft® Windows® 98
Microsoft® Windows® ME
Microsoft® Windows® 2000
Microsoft® Windows® NT 4.0
Microsoft® Windows® XP/XP64
Microsoft® Windows® PE
Microsoft® Windows® Vista 32/64
Microsoft® Windows® PE 2.0 x64 (AFUWINx64.EXE)
Microsoft® Windows® 7 32/64
BIOS Requirements
•
•
•
•
System BIOS should have the followings:
AMIBIOS CORE version 8.xx.xx.
SMIFlash eModule with “8.00.00_SMIFlash-1.00.07” label or later.
Token: SDSMGR_IN_RUNTIME = ON.
Token: SMI_INTERFACE_FOR_SDSMGR_FUNC = ON.
Operating System Driver Requirements
Following drivers for different operation system are required by this utility:
Copyright 2008
NDA Required (NDA)
Page 3 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
•
•
•
UCOREVXD.VXD
UCORESYS.SYS
UCOREW64.SYS
Driver for Microsoft® Windows® 98/ME
Driver for Microsoft® Windows® NT/2000/XP/PE
Driver for Microsoft® Windows® XP64
Getting Started
Installation
Copies AFUWIN.EXE, AFUWINx64.EXE (for Microsoft Windows PE 2.0 x64),
UCOREVXD.VXD, UCORESYS.SYS and UCOREW64.SYS to any storage location
accessible by the host system and then run AFUWIN in command prompt. Remember
that three files MUST be in same directory. For launching GUI mode, you can just
double-click on the icon.
Usage
For previous usage, see Appendix B AFUWIN v3.xx Commands to know details.
AFUWIN & lt; BIOS ROM File Name & gt; [Option 1] [Option 2]……….
Or
AFUWIN & lt; Output BIOS ROM File Name & gt; & lt; Commands & gt;
Or
AFUWIN /M & lt; MAC Address & gt;
Or
AFUWIN /MAI
BIOS ROM File Name
The mandatory field is used to specify path/filename of the BIOS ROM file
with extension.
Commands
The mandatory field is used to select an operation mode:
• /O
Save current ROM image to file
• /U
Get and display ROM ID from ROM file
• /Ln
Refer to option: /Ln
• /M & lt; MAC Address & gt;
Refer to option: /M
• /MAI
Display current system and ROM file's MA
• /HOLE
Update specific ROM hole by given name
• /HOLEOUT
Save specific ROM holedata by given name
• /D
Verification test of given ROM file without
flashing
• /EC
Flash EC firmware BIOS (Refer to OFBD
spec)
Path: $BIOS/Corebin/800/ROMUtils/On Flash
Block Description Specification.PDF.
Copyright 2008
NDA Required (NDA)
Page 4 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
•
•
•
/NCB
/NCBOUT
/C
Sample Code Module Path:
$BIOS/Examples/On Flash Block Description
Flash NCB data by given name
Output NCB data by given name
Destroy CMOS checksum
Options
The optional field used to supply more information for flashing BIOS ROM.
Following lists the supported optional parameters and format:
• /P
Program main bios image
• /B
Program Boot Block
• /N
Program NVRAM
• /C
Destroy CMOS after update BIOS done
• /E
Program Embedded Controller block if present
• /K
Program all non-critical blocks
• /Kn
Program n’th non-critical block only (n=0 – 7)
• /Q
Quiet mode enable
• /REBOOT
Reboot after update BIOS done
• /X
Do not check ROM ID
• /S
Display current system’s BIOS ROM ID
• /Ln
Load CMOS default (n=0 - 1)
▪ L0: Load current CMOS optimal settings
▪ L1: Load current CMOS failsafe settings
▪ L2: Load CMOS optimal settings from ROM
file
▪ L3: Load CMOS failsafe settings from ROM
file
• /M & lt; MAC Address & gt;
Update BootBlock MAC address if exists
• /R
Preserve all SMBIOS structures during
NVRAM programming
• /Rn
Preserve specific SMBIOS structure during
NVRAM programming
• /ECUF
Update EC BIOS when newer version is
detected.
• /ShutDown
Shutdown system after programming.
• /clnevnlog
Clean Event Log.
• /DeDftCfg
Delete all default settings from BIOS.
• /-Command Name
Delete certain command’s default setting.
[OEM Uses Only.]
• /MEUF
Update Intel ME ignition firmware.
• /ME
Update entire Intel ME region.(WinPE only)
Copyright 2008
NDA Required (NDA)
Page 5 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Rules
•
•
•
•
•
•
•
•
•
•
•
•
Any parameter encolsed by & lt; & gt; is a mandatory field.
Any parameter enclosed by [ ] is an optional field.
& lt; Commands & gt; cannot co-exist with any [Options].
Main BIOS image is default flashing area if no any option present.
[/C], [/Q], [/REBOOT], [/X], [/Ln] and [/S] will enable [/P] function automatically.
If [/B] 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.
If [/E] and [/ECUF] co-exist, [/ECUF] will be no function.
If [/Kn] present alone, there is only non-critical block to be updated.
When [/Ln] is co-exist with [/C], [/C] will be no function.
[/M] can be used as a command for backward compatible.
Note : Running AFUWIN under command prompt directly will display help message.
Examples
•
•
•
•
•
•
•
•
•
•
Copyright 2008
Examples on how to update BIOS using the command prompt are shown in
following:
Save current BIOS ROM to file
AFUWIN & lt; BIOS ROM File Name & gt; /O
Get and display ROM ID from BIOS ROM file
AFUWIN & lt; BIOS ROM File Name & gt; /U
Update main BIOS image only
AFUWIN & lt; BIOS ROM File Name & gt;
Or
AFUWIN & lt; BIOS ROM File Name & gt; /p
Update Boot Block only
AFUWIN & lt; BIOS ROM File Name & gt; /B
Update NVRAM only
AFUWIN & lt; BIOS ROM File Name & gt; /N
Update Embedded Controller Block only
AFUWIN & lt; BIOS ROM File Name & gt; /E
Update Embedded Controller Block if newer version is detected
AFUWIN & lt; BIOS ROM File Name & gt; /ECUF
Update 2nd non-critical block only
AFUWIN & lt; BIOS ROM File Name & gt; /K2
Update main BIOS image, Boot Block and NVRAM at once
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N
Update whole BIOS ROM
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K
NDA Required (NDA)
Page 6 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Copyright 2008
Update whole BIOS ROM and load current CMOS optimal settings
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /L0
Update whole BIOS without checking ROM ID
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /X
Update whole BIOS with quiet execution
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /Q
Update whole BIOS in quiet mode and REBOOT quietly
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /Q /REBOOT
Update BootBlock MAC address
AFUWIN /M & lt; MAC Address & gt;
Update whole BIOS and BootBlock MAC address
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /M & lt; MAC Address & gt;
Update whole BIOS except existing SMBIOS structures
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /R
Update whole BIOS but preserve SMBIOS type 0 and 11
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /R0 /R11
Update dedicate ROM Hole Area
AFUWIN & lt; ROM Hole File Name & gt; /Hole:Name
Update dedicate NCB Area
AFUWIN & lt; NCB File Name & gt; /NCB:Name
Output dedicate ROM Hole File
AFUWIN & lt; Output ROM Hole File Name & gt; /HOLEOUTt:Name
Output dedicate NCB File
AFUWIN & lt; Output NCB File Name & gt; /NCBOUT:Name
Cancel Embedded AFU default commands
- Below sample cancels B & P commands if BIOS has embedded B & P commands
in OFBD.
AFUWIN & lt; BIOS ROM File Name & gt; /-B /-P
Notice: if /p & /b are set as default command only and /-B /-P commands are issued
then P command will still be issued because if none of command is issued then /p
will still issue as AFU default.
Cancel ALL Embedded AFU default commands
AFUWIN & lt; BIOS ROM File Name & gt; /DeDftCfg
NDA Required (NDA)
Page 7 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Main Window
Buttons
Copyright 2008
NDA Required (NDA)
Page 8 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Click this button to search for BIOS ROM file from any disk drive.
Click this button to starting update BIOS.
Click this button to save BIOS ROM image to disk drive.
Click this button to exit this program.
Function Frame
Information Tab
This tab displays system BIOS information for your reference before flashing
BIOS.
Copyright 2008
NDA Required (NDA)
Page 9 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Field
Name
Description
OS
This field displays current OS version.
Chip
This field displays current flash part on the system.
BIOS Size
This field displays current BIOS ROM size.
Bootblock Size
This field displays current BIOS BootBlock size.
NVRAM Size
This field displays current BIOS NVRAM size.
Core Version
This field displays current AMIBIOS CORE version.
Release Date
This field displays current BIOS release date.
System ROM ID This field displays current system BIOS ROM ID.
Input ROM File
File ROM ID
Copyright 2008
This field displays BIOS ROM image file name/path
where will be used to replace old one.
This field displays ROM ID in given BIOS ROM image
file.
NDA Required (NDA)
Page 10 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Setup Tab
This tab allows you to change the settings for flashing BIOS.
Field
Block Options
Name
Description
Program All Block
Enable this option to flash all programmable blocks
Main BIOS Image
Enable this option to flash Main BIOS block
Boot Block
Enable this option to flash Boot Block
NVRAM
Enable this option to flash NVRAM block
EC Block
Enable this option to flash EC block
CMOS Options
Name
Description
Nothing
Load Current Optimal
Select to load optimal CMOS setting from current
system after flashing.
Load Current Failsafe
Select to load failsafe CMOS setting from current
system after flashing.
Load ROM File's
Optimal
Select to load optimal CMOS setting from new
BIOS after flashing.
Load ROM File's
Copyright 2008
Select to do nothing to CMOS after flashing.
Select to load failsafe CMOS setting from new
NDA Required (NDA)
Page 11 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Failsafe
BIOS after flashing.
Destroy CMOS
Cheksum
Select to destroy CMOS checksum after flashing.
This is default setting in CMOS Option block.
Non Critical Block
Name
Description
All
Select to update all Non Critical Blocks
1–8
Select specific Non Critical Block to update
Miscellaneous
Name
Description
Do Not Check ROM
Select to skip ROM ID check before updating BIOS
ID
Restart after
Programming
Select to restart system after updating BIOS
Preserve SMBIOS
Type
This field allows you to preserve SMBIOS types
while BIOS updating. The types string must be
decimal-digit and separated by a space(‘ ‘) character.
For convenence, you can strike ‘A’ key as first
character to select all SMBIOS structures at once.
Update MAC
This field is used to change BootBlock MAC
address. It MUST be hexadecimal-digit string.
Progress Tab
This tab displays the updating status.
Copyright 2008
NDA Required (NDA)
Page 12 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Field
Name
Description
ROM Map This area displays current updating status.
Legend
This area illustrates the meaning of color in ROM MAP area.
Stage
This field displays the stage of updating BIOS.
Address
This field displays the address where block is under working.
Functions
To launch into AFUWIN with GUI mode, you can double-click the executable file icon to
open the operating window:
Copyright 2008
NDA Required (NDA)
Page 13 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Usually, system BIOS information will be displayed first, but you may see a pop-up dialog
if the system does not support AMIBIOS update function. After open this program
successfully, you can refer to following steps to finish the operation what you need:
Saving system BIOS ROM image to file
1.
2.
3.
4.
Press & lt; Save & gt; button to open file dialog box.
Select path and input a file name.
Click on OK button to save system BIOS ROM image into specific file.
Press & lt; Exit & gt; button to exit this program.
Flashing system BIOS with given file
1. Press & lt; Open & gt; button to search for BIOS ROM image file from any disk driver and
load it into memory.
2. Switch to Setup Tab to check and change necessary settings.
3. Press & lt; Flash & gt; button to start the operation.
4. Progess Tab will be switched automatically and display the programming status.
5. After BIOS updated, you can press & lt; Exit & gt; button to exit this program or system
will restart automatically if the Restart After Programming option enabled.
Error Code List
Error Number
00h
Copyright 2008
Description
No error
NDA Required (NDA)
Page 14 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
18h
19h
Copyright 2008
Unknown command
Can't open ROM ID file
ROM ID file is not a ROM file
Invalid MAC address
Invalid retry count
System doesn't support MAC programming
This program can not run under this operating system
Flash part is not supported
Problem extracting module from ROM file
Can not analyze ROM file. ROM file may be corrupted
NCB error
Invalid option
BIOS does not support AFU
ROM file size incorrect
File ROM ID incorrect
Bootblock error
Loading driver
Unloading driver
Invalid NCB
Closing memory manager
Mapping BIOS data buffer error
Problem allocating memory
Problem freeing memory
Problem allocating BIOS buffer
Problem freeing BIOS buffer
NDA Required (NDA)
Page 15 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Appendix B : AFUDOS v3.xx Commands
Usage : AFUDOS /i & lt; ROM File Name & gt; [/o & lt; Save ROM File Name & gt; ] [/n] [/p[b][n][c][e]]
[/s] [kN] [/c[N]] [/q] [/h] [/t] [/u[ROM File Name]]
Following table lists the description of previous version of AFUDOS commands.
Command
/n
/pbnce
/k
/kN
Description
Do not check ROM ID
p – Program main BIOS
b – Program boot block
n – Program NVRAM
c – Destroy system CMOS
e – Program embedded controller block
Program all Non-Critical Blocks only
Program N'th Non-Critical Block only (N = 0 – 7)
/s
Leaves signature in BIOS
/q
Silent execution
/h
Print help
/t
Display current system's ROM ID
/c
Program main BIOS and all Non-Critical Blocks
/cN
Program main BIOS and N'th Non-Critical Block (N = 0 – 7)
/srb
Force REBOOT after programming done
/d
Compare ROM file (Skip flashing)
/o & lt; ROM File Name & gt; Save current system BIOS ROM into disk
/u & lt; ROM File Name & gt; Display ROM file's ROM ID
Copyright 2008
NDA Required (NDA)
Page 16 of 16
AMIBIOS8 ROM Utility User Guide
AFUWIN
Document Revision 1.0.1 – Aug 28, 2009
NDA REQUIRED
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Copyright (c) 2008 American Megatrends, Inc.
All Rights Reserved.
American Megatrends, Inc.
5555 Oakbrook Parkway
Suite 200
Norcross, GA 30093
This 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 the 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 Information
Call American Megatrends BIOS Sales Department at 1-800-828-9264 for additional information.
Limitations of Liability
In 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 Warranty
No warranties are made, either express 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 use.
Trademark and Copyright Acknowledgments
All product names used in this publication are for identification purposes only and are trademarks of their respective
Companies.
Disclaimer
This manual describes the operation of the AMIBIOS8 ROM Utilities. Although efforts have been made to insure the
accuracy of the information contained here, American Megatrends expressly disclaims liability for any error in this
information, and for damages, whether direct, indirect, special, exemplary, consequential or otherwise, that may
result from such error, including but not limited to the loss of profits resulting from the use or misuse of the manual
or information contained therein (even if American Megatrends has been advised of the possibility of such damages).
Any questions or comments regarding this document or its contents should be addressed to American Megatrends at
the address shown on the cover.
American Megatrends provides this publication “as is” without warranty of any kind, either expressed or implied,
including, but not limited to, the implied warranties of merchantability or fitness for a specific purpose.
Some states do not allow disclaimer of express or implied warranties or the limitation or exclusion of liability for
indirect, special, exemplary, incidental or consequential damages in certain transactions; therefore, this statement may
not apply to you. Also, you may have other rights which vary from jurisdiction to jurisdiction.
This publication could include technical inaccuracies or typographical errors. Changes are periodically made to the
information herein; these changes will be incorporated in new editions of the publication. American Megatrends may
make improvements and/or revisions in the product(s) and/or the program(s) described in this publication at any time.
Requests for technical information about American Megatrends products should be made to your American
Megatrends authorized reseller or marketing representative.
Revision Information
Date
09/5/13
09/8/28
Copyright 2008
Rev
1.0.0
1.0.1
Description of Changes
Initial Document.
1. Add Windows 7 support.
2. Add /ME and /MEUF usage description.
NDA Required (NDA)
Page 2 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Overview
AFUWIN is an updating system BIOS utility with command line and GUI interface. It has
same parameters and behavior as AFUWIN, and further, GUI feature starting from v4.10
can provide you a friendly environment to visualize BIOS update procedure. By the way, do
not forget that target board MUST be AMIBIOS system while using this utility.
Features
•
•
•
•
This utility offers the following features:
Small executable file size
Quickly update
Clear updating information and status
Fully compatible with previous version (See Appendix B AFUWIN v3.xx Commands)
Requirements
Supported Operating System
•
•
•
•
•
•
•
•
•
AFUWIN Utility is supported in following operating system:
Microsoft® Windows® 98
Microsoft® Windows® ME
Microsoft® Windows® 2000
Microsoft® Windows® NT 4.0
Microsoft® Windows® XP/XP64
Microsoft® Windows® PE
Microsoft® Windows® Vista 32/64
Microsoft® Windows® PE 2.0 x64 (AFUWINx64.EXE)
Microsoft® Windows® 7 32/64
BIOS Requirements
•
•
•
•
System BIOS should have the followings:
AMIBIOS CORE version 8.xx.xx.
SMIFlash eModule with “8.00.00_SMIFlash-1.00.07” label or later.
Token: SDSMGR_IN_RUNTIME = ON.
Token: SMI_INTERFACE_FOR_SDSMGR_FUNC = ON.
Operating System Driver Requirements
Following drivers for different operation system are required by this utility:
Copyright 2008
NDA Required (NDA)
Page 3 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
•
•
•
UCOREVXD.VXD
UCORESYS.SYS
UCOREW64.SYS
Driver for Microsoft® Windows® 98/ME
Driver for Microsoft® Windows® NT/2000/XP/PE
Driver for Microsoft® Windows® XP64
Getting Started
Installation
Copies AFUWIN.EXE, AFUWINx64.EXE (for Microsoft Windows PE 2.0 x64),
UCOREVXD.VXD, UCORESYS.SYS and UCOREW64.SYS to any storage location
accessible by the host system and then run AFUWIN in command prompt. Remember
that three files MUST be in same directory. For launching GUI mode, you can just
double-click on the icon.
Usage
For previous usage, see Appendix B AFUWIN v3.xx Commands to know details.
AFUWIN & lt; BIOS ROM File Name & gt; [Option 1] [Option 2]……….
Or
AFUWIN & lt; Output BIOS ROM File Name & gt; & lt; Commands & gt;
Or
AFUWIN /M & lt; MAC Address & gt;
Or
AFUWIN /MAI
BIOS ROM File Name
The mandatory field is used to specify path/filename of the BIOS ROM file
with extension.
Commands
The mandatory field is used to select an operation mode:
• /O
Save current ROM image to file
• /U
Get and display ROM ID from ROM file
• /Ln
Refer to option: /Ln
• /M & lt; MAC Address & gt;
Refer to option: /M
• /MAI
Display current system and ROM file's MA
• /HOLE
Update specific ROM hole by given name
• /HOLEOUT
Save specific ROM holedata by given name
• /D
Verification test of given ROM file without
flashing
• /EC
Flash EC firmware BIOS (Refer to OFBD
spec)
Path: $BIOS/Corebin/800/ROMUtils/On Flash
Block Description Specification.PDF.
Copyright 2008
NDA Required (NDA)
Page 4 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
•
•
•
/NCB
/NCBOUT
/C
Sample Code Module Path:
$BIOS/Examples/On Flash Block Description
Flash NCB data by given name
Output NCB data by given name
Destroy CMOS checksum
Options
The optional field used to supply more information for flashing BIOS ROM.
Following lists the supported optional parameters and format:
• /P
Program main bios image
• /B
Program Boot Block
• /N
Program NVRAM
• /C
Destroy CMOS after update BIOS done
• /E
Program Embedded Controller block if present
• /K
Program all non-critical blocks
• /Kn
Program n’th non-critical block only (n=0 – 7)
• /Q
Quiet mode enable
• /REBOOT
Reboot after update BIOS done
• /X
Do not check ROM ID
• /S
Display current system’s BIOS ROM ID
• /Ln
Load CMOS default (n=0 - 1)
▪ L0: Load current CMOS optimal settings
▪ L1: Load current CMOS failsafe settings
▪ L2: Load CMOS optimal settings from ROM
file
▪ L3: Load CMOS failsafe settings from ROM
file
• /M & lt; MAC Address & gt;
Update BootBlock MAC address if exists
• /R
Preserve all SMBIOS structures during
NVRAM programming
• /Rn
Preserve specific SMBIOS structure during
NVRAM programming
• /ECUF
Update EC BIOS when newer version is
detected.
• /ShutDown
Shutdown system after programming.
• /clnevnlog
Clean Event Log.
• /DeDftCfg
Delete all default settings from BIOS.
• /-Command Name
Delete certain command’s default setting.
[OEM Uses Only.]
• /MEUF
Update Intel ME ignition firmware.
• /ME
Update entire Intel ME region.(WinPE only)
Copyright 2008
NDA Required (NDA)
Page 5 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Rules
•
•
•
•
•
•
•
•
•
•
•
•
Any parameter encolsed by & lt; & gt; is a mandatory field.
Any parameter enclosed by [ ] is an optional field.
& lt; Commands & gt; cannot co-exist with any [Options].
Main BIOS image is default flashing area if no any option present.
[/C], [/Q], [/REBOOT], [/X], [/Ln] and [/S] will enable [/P] function automatically.
If [/B] 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.
If [/E] and [/ECUF] co-exist, [/ECUF] will be no function.
If [/Kn] present alone, there is only non-critical block to be updated.
When [/Ln] is co-exist with [/C], [/C] will be no function.
[/M] can be used as a command for backward compatible.
Note : Running AFUWIN under command prompt directly will display help message.
Examples
•
•
•
•
•
•
•
•
•
•
Copyright 2008
Examples on how to update BIOS using the command prompt are shown in
following:
Save current BIOS ROM to file
AFUWIN & lt; BIOS ROM File Name & gt; /O
Get and display ROM ID from BIOS ROM file
AFUWIN & lt; BIOS ROM File Name & gt; /U
Update main BIOS image only
AFUWIN & lt; BIOS ROM File Name & gt;
Or
AFUWIN & lt; BIOS ROM File Name & gt; /p
Update Boot Block only
AFUWIN & lt; BIOS ROM File Name & gt; /B
Update NVRAM only
AFUWIN & lt; BIOS ROM File Name & gt; /N
Update Embedded Controller Block only
AFUWIN & lt; BIOS ROM File Name & gt; /E
Update Embedded Controller Block if newer version is detected
AFUWIN & lt; BIOS ROM File Name & gt; /ECUF
Update 2nd non-critical block only
AFUWIN & lt; BIOS ROM File Name & gt; /K2
Update main BIOS image, Boot Block and NVRAM at once
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N
Update whole BIOS ROM
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K
NDA Required (NDA)
Page 6 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Copyright 2008
Update whole BIOS ROM and load current CMOS optimal settings
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /L0
Update whole BIOS without checking ROM ID
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /X
Update whole BIOS with quiet execution
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /Q
Update whole BIOS in quiet mode and REBOOT quietly
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /Q /REBOOT
Update BootBlock MAC address
AFUWIN /M & lt; MAC Address & gt;
Update whole BIOS and BootBlock MAC address
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /M & lt; MAC Address & gt;
Update whole BIOS except existing SMBIOS structures
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /R
Update whole BIOS but preserve SMBIOS type 0 and 11
AFUWIN & lt; BIOS ROM File Name & gt; /P /B /N /C /E /K /R0 /R11
Update dedicate ROM Hole Area
AFUWIN & lt; ROM Hole File Name & gt; /Hole:Name
Update dedicate NCB Area
AFUWIN & lt; NCB File Name & gt; /NCB:Name
Output dedicate ROM Hole File
AFUWIN & lt; Output ROM Hole File Name & gt; /HOLEOUTt:Name
Output dedicate NCB File
AFUWIN & lt; Output NCB File Name & gt; /NCBOUT:Name
Cancel Embedded AFU default commands
- Below sample cancels B & P commands if BIOS has embedded B & P commands
in OFBD.
AFUWIN & lt; BIOS ROM File Name & gt; /-B /-P
Notice: if /p & /b are set as default command only and /-B /-P commands are issued
then P command will still be issued because if none of command is issued then /p
will still issue as AFU default.
Cancel ALL Embedded AFU default commands
AFUWIN & lt; BIOS ROM File Name & gt; /DeDftCfg
NDA Required (NDA)
Page 7 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Main Window
Buttons
Copyright 2008
NDA Required (NDA)
Page 8 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Click this button to search for BIOS ROM file from any disk drive.
Click this button to starting update BIOS.
Click this button to save BIOS ROM image to disk drive.
Click this button to exit this program.
Function Frame
Information Tab
This tab displays system BIOS information for your reference before flashing
BIOS.
Copyright 2008
NDA Required (NDA)
Page 9 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Field
Name
Description
OS
This field displays current OS version.
Chip
This field displays current flash part on the system.
BIOS Size
This field displays current BIOS ROM size.
Bootblock Size
This field displays current BIOS BootBlock size.
NVRAM Size
This field displays current BIOS NVRAM size.
Core Version
This field displays current AMIBIOS CORE version.
Release Date
This field displays current BIOS release date.
System ROM ID This field displays current system BIOS ROM ID.
Input ROM File
File ROM ID
Copyright 2008
This field displays BIOS ROM image file name/path
where will be used to replace old one.
This field displays ROM ID in given BIOS ROM image
file.
NDA Required (NDA)
Page 10 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Setup Tab
This tab allows you to change the settings for flashing BIOS.
Field
Block Options
Name
Description
Program All Block
Enable this option to flash all programmable blocks
Main BIOS Image
Enable this option to flash Main BIOS block
Boot Block
Enable this option to flash Boot Block
NVRAM
Enable this option to flash NVRAM block
EC Block
Enable this option to flash EC block
CMOS Options
Name
Description
Nothing
Load Current Optimal
Select to load optimal CMOS setting from current
system after flashing.
Load Current Failsafe
Select to load failsafe CMOS setting from current
system after flashing.
Load ROM File's
Optimal
Select to load optimal CMOS setting from new
BIOS after flashing.
Load ROM File's
Copyright 2008
Select to do nothing to CMOS after flashing.
Select to load failsafe CMOS setting from new
NDA Required (NDA)
Page 11 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Failsafe
BIOS after flashing.
Destroy CMOS
Cheksum
Select to destroy CMOS checksum after flashing.
This is default setting in CMOS Option block.
Non Critical Block
Name
Description
All
Select to update all Non Critical Blocks
1–8
Select specific Non Critical Block to update
Miscellaneous
Name
Description
Do Not Check ROM
Select to skip ROM ID check before updating BIOS
ID
Restart after
Programming
Select to restart system after updating BIOS
Preserve SMBIOS
Type
This field allows you to preserve SMBIOS types
while BIOS updating. The types string must be
decimal-digit and separated by a space(‘ ‘) character.
For convenence, you can strike ‘A’ key as first
character to select all SMBIOS structures at once.
Update MAC
This field is used to change BootBlock MAC
address. It MUST be hexadecimal-digit string.
Progress Tab
This tab displays the updating status.
Copyright 2008
NDA Required (NDA)
Page 12 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Field
Name
Description
ROM Map This area displays current updating status.
Legend
This area illustrates the meaning of color in ROM MAP area.
Stage
This field displays the stage of updating BIOS.
Address
This field displays the address where block is under working.
Functions
To launch into AFUWIN with GUI mode, you can double-click the executable file icon to
open the operating window:
Copyright 2008
NDA Required (NDA)
Page 13 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Usually, system BIOS information will be displayed first, but you may see a pop-up dialog
if the system does not support AMIBIOS update function. After open this program
successfully, you can refer to following steps to finish the operation what you need:
Saving system BIOS ROM image to file
1.
2.
3.
4.
Press & lt; Save & gt; button to open file dialog box.
Select path and input a file name.
Click on OK button to save system BIOS ROM image into specific file.
Press & lt; Exit & gt; button to exit this program.
Flashing system BIOS with given file
1. Press & lt; Open & gt; button to search for BIOS ROM image file from any disk driver and
load it into memory.
2. Switch to Setup Tab to check and change necessary settings.
3. Press & lt; Flash & gt; button to start the operation.
4. Progess Tab will be switched automatically and display the programming status.
5. After BIOS updated, you can press & lt; Exit & gt; button to exit this program or system
will restart automatically if the Restart After Programming option enabled.
Error Code List
Error Number
00h
Copyright 2008
Description
No error
NDA Required (NDA)
Page 14 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
18h
19h
Copyright 2008
Unknown command
Can't open ROM ID file
ROM ID file is not a ROM file
Invalid MAC address
Invalid retry count
System doesn't support MAC programming
This program can not run under this operating system
Flash part is not supported
Problem extracting module from ROM file
Can not analyze ROM file. ROM file may be corrupted
NCB error
Invalid option
BIOS does not support AFU
ROM file size incorrect
File ROM ID incorrect
Bootblock error
Loading driver
Unloading driver
Invalid NCB
Closing memory manager
Mapping BIOS data buffer error
Problem allocating memory
Problem freeing memory
Problem allocating BIOS buffer
Problem freeing BIOS buffer
NDA Required (NDA)
Page 15 of 16
American Megatrends, Inc.
AMIBIOS8 Utility User Guide
Appendix B : AFUDOS v3.xx Commands
Usage : AFUDOS /i & lt; ROM File Name & gt; [/o & lt; Save ROM File Name & gt; ] [/n] [/p[b][n][c][e]]
[/s] [kN] [/c[N]] [/q] [/h] [/t] [/u[ROM File Name]]
Following table lists the description of previous version of AFUDOS commands.
Command
/n
/pbnce
/k
/kN
Description
Do not check ROM ID
p – Program main BIOS
b – Program boot block
n – Program NVRAM
c – Destroy system CMOS
e – Program embedded controller block
Program all Non-Critical Blocks only
Program N'th Non-Critical Block only (N = 0 – 7)
/s
Leaves signature in BIOS
/q
Silent execution
/h
Print help
/t
Display current system's ROM ID
/c
Program main BIOS and all Non-Critical Blocks
/cN
Program main BIOS and N'th Non-Critical Block (N = 0 – 7)
/srb
Force REBOOT after programming done
/d
Compare ROM file (Skip flashing)
/o & lt; ROM File Name & gt; Save current system BIOS ROM into disk
/u & lt; ROM File Name & gt; Display ROM file's ROM ID
Copyright 2008
NDA Required (NDA)
Page 16 of 16