BIOS for 2Gb FC HBAs Readme File This software license applies only to QLogic customers. QLogic Corporation. All rights reserved. Table of Contents 1. Package Contents 2. Supported Features 3. HBA Configuration 3.1. Configuration Settings 3.2. Scan Fibre Channel Devices 3.3. Fibre Disk Utility 3.4. Loopback Data Test 3.5. Select Host Adapter 3.6. Exit Fast!UTIL 4. Utilities 4.1. Flashing the BIOS 4.2. Flashing the BIOS using FlasUtil 4.3. FlasUtil Command Line Options 6. Additional Notes 7. Contacting Support 1. Package Contents The following tables list and describe the files provided with the 2Gb BIOS packages: * q123rom.bin - Binary image of the BIOS for the 2Gb FC HBA * FlasUtil.exe - Utility program to flash the BIOS * release.txt - BIOS release notes file * readme.txt - BIOS readme file * 23xxflsh.bat - DOS batch file for updating the adapter BIOS The package for QLx236x 2Gb HBAs includes the following files: * ql2322rm.bin - Binary image of the BIOS for 2Gb HBAs * 2322ipx.bin - Binary image of firmware. NOTE: The q231x_234x_bios_1.xx package does not include these files. If you received a combo image (2322mxxx.bin), it includes the includes the BIOS, firmware, and the following files: * FlasUtil.exe - Utility program to flash the BIOS * 2322ReleaseNotes.txt - BIOS release notes * 23xxReadme.txt - BIOS readme file NOTE: The q231x_234x_bios_1.xx package does not include these files. 2. Supported Features The q231x_234x_bios1.52.zip supports the following: * Up to 256 LUNs * Point-to-point and loop configuration * Boot capability in FC-AL and fabric topologies * OS platforms: DOS, Windows 2000, 2003,XP Professional, Vista, Novell NetWare, Solaris x86, and Linux. * Hardware platforms: IA32, AMD64, and IEM64T 3. HBA Configuration Parameters NOTE: The Fast!Util BIOS utility does not run on Sun SPARC systems. Refer to the FCode Guide for the QLx23xx HBA family for information regarding adapter configuration settings. This section provides detailed configuration information for advanced users who want to customize the QLx23xx HBA configuration and the connected devices. You can configure the HBA using Fast!UTIL. Access Fast!UTIL by pressing - or - during the QLx23xx HBA BIOS initialization. (It may take a few seconds for the Fast!UTIL menu to appear.) If you have more than one QLx23xx HBA, Fast!UTIL asks you to select the HBA you want to configure. After changing the settings, Fast!UTIL reboots your system to load the new parameters. CAUTION! If the configuration settings are incorrect, your QLx23xx HBA may not function properly. The Fast!UTIL Options menu includes the following options: * Configuration Settings * Scan Fibre Devices * Fibre Disk Utility * Loopback Data Test * Select Host Adapter * Exit Fast!UTIL 3.1. Configuration Settings The following subsections describe the Configuration Settings: * 3.1.1. Adapter Settings * 3.1.2. Selectable Boot Settings * 3.1.3. Restore Default Settings * 3.1.4. Raw NVRAM Data * 3.1.5. Advanced Adapter Settings 3.1.1. Adapter Settings The following paragraphs describe the Adapter Settings menu options: * Host Adapter BIOS (Enabled/Disabled; Default - Disabled) When disabled, this setting disables the ROM BIOS on the QLx23xx HBA, which frees space in upper memory. You must enable this setting if you are booting from an FC disk drive attached to the QLx23xx HBA. See Section 3.1.2. for details on specifying the boot device. * Frame Size (512/1024/2048; Default - 2048) This setting specifies the maximum frame length supported by the QLx23xx HBA. * Loop Reset Delay (0 - 60 seconds; Default - 5 seconds) After resetting the loop, the firmware refrains from initiating any loop activity for the number of seconds specified by this setting. * Adapter Hard Loop ID (Enabled/Disabled; Default - Disabled) This setting forces the HBA to attempt to use the ID specified in the Hard Loop ID setting. * Hard Loop ID (0 - 125; Default - 0) If the Adapter Hard Loop ID setting is enabled, the HBA attempts to use the ID specified in this setting. * Spin Up Delay (Enabled/Disabled; Default - Disabled) When this bit is set, the BIOS waits up to two minutes to find the first drive. * Connection Options (0/1/2; Default - 2) This setting defines the connection type. This includes the following options: 0 - loop 1 - point-to-point 2 - loop preferred, then point-to-point * Fibre Channel Tape Support (Enabled/Disabled; Default - Enabled) This setting enables FCP-2 recovery. * Data Rate (0/1/2; Default - 2) This setting determines the data rate. Data Rate options include: 0 - 1-Gbps 1 - 2-Gbps 2 - HBA auto-negotiates and determines the data rate 3.1.2. Selectable Boot Settings Select the Selectable Boot Settings option from the Configuration Settings menu. If you enable the Host Adapter BIOS in the Adapter Settings, this option allows you to select the boot device as shown in the following table. Enable Selectable Boot WWPN/LUN Boot Device Boot List ----------------- ------------- ----------- No X BIOS configures the first disk or LUN drive it finds as the boot device. Yes none specified BIOS configures the first disk drive it finds that is also a LUN 0 as boot device. Yes specified BIOS scans through the specified Boot WWPN/LUN list until it finds a disk drive, which it configures as the boot device. This option allows you to specify up to four WWPN/LUNs as boot devices. To enable the Selectable Boot option and insert devices into the boot device locations: 1. From the Configuration Settings menu, use the arrow keys to choose Host Adapter Settings. Enable the HBA BIOS, then press ESC to return to the Configuration Settings menu. 2. From the Configuration Settings menu, use the arrow keys to choose Selectable Boot Settings. 3. Press ENTER to enable or disable (toggle) the Selectable Boot option. Use the down arrow key to move to the Primary location of the Selectable Boot List menu. 4. Press ENTER to see a list of accessible devices (shown in the Select Fibre Channel Device menu). 5. Select a drive using the arrow keys to scroll to the device you want to add to the Selectable Boot menu. Press ENTER to select the requested device and load it into the Selectable Boot menu list. NOTE: Repeat this step to specify up to three alternate boot devices. NOTE: For new systems with Phoenix and AMI Multi-boot BIOS, the selectable boot settings for the HBA do not work unless the System BIOS Hard Drive Boot option is in the correct order. 3.1.3. Restore Default Settings The Restore Defaults option from the Configuration Settings menu restores the QLx23xx HBA default settings. 3.1.4. Raw NVRAM Data This option displays the HBA’s NVRAM contents in hexadecimal format. This is a QLogic troubleshooting tool; you cannot modify the data. 3.1.5. Advanced Adapter Settings From the Configuration Settings menu in Fast!UTIL, select Advanced Adapter Settings. The following paragraphs describe settings for the QLx23xx HBA: * Throttle Execution (1-256; Default - 16) This setting specifies the maximum number of commands executing on any one target port. When a target port’s execution throttle is reached, no new commands are issued until one of the current commands finishes executing. * LUNs per Target (0/8/16/32/64/128/256; Default - 128) If the target does not support the Report LUN command, this setting specifies the number of LUNs supported per target. Multiple LUN support typically applies to a redundant array of independent disks (RAID) boxes that use LUNs to map drives. * Enable LIP Reset (Yes/No; Default - No) This setting determines the type of loop initialization process (LIP) reset used when the operating system initiates a bus reset routine. This setting includes the following options: Yes - Driver initiates a global LIP reset to reset the target devices. No - Driver initiates a global LIP reset requiring a full login. * Enable LIP Full Login (Yes/No; Default - Yes) This setting instructs the ISP chip to re-login to all ports after any Loop Initialization Process (LIP). * Enable Target Reset (Yes/No; Default - Yes) This setting enables the drivers to issue a Target Reset command to all devices on the loop when issuing a SCSI Bus Reset command. * Login Retry Count (0 - 255; Default - 8) This setting specifies the number of times the software attempts to log in to a device. * Port Down Retry Count (0 - 255 seconds; Default - 30 seconds) This setting specifies the number of seconds the software waits to retry a command to a port returning port-down status. * Link Down Timeout (0 - 255 seconds; Default - 30 seconds) This setting specifies the number of seconds the software waits for a link down to come up. * Extended Error Logging (Enabled/Disabled; Default - Disabled) This setting provides additional error and debug information. When enabled, this option sets events to be logged into the OS-specific event log or message file. * Operation Mode (0/5/6; Default - 0) This setting specifies the reduced interrupt operation (RIO) modes, if supported by the software driver. The RIO modes allow posting multiple command completions in a single interrupt. The system supports the following modes: 0 - Interrupt for every I/O completion 5 - Interrupt when Interrupt Delay Timer expires 6 - Interrupt when Interrupt Delay Timer expires or no active I/Os. * Interrupt Delay Timer (0 - 255 seconds; Default - 0) This setting contains the value (in 200-microsecond increments) used by a timer to set the wait time between generating an interrupt. * HP Boot Order: (Enabled/Disabled; Default - Disabled) This setting specifies BIOS support in old HP systems, such as ML370G3, DL360G3, and DL380G3. When enabled, this option sets the QLogic BIOS to load only when it is selected as the Controller Order 1 in the system BIOS\boot controller order. 3.2. Scan Fibre Channel Devices This option scans the FC loop and lists all the connected devices by loop ID. It lists information about each device (for example, vendor name, product name, and revision). This information is useful when configuring your QLx23xx HBA and attached devices. 3.3. Fibre Disk Utility This option scans the FC loop and lists all the connected devices by loop ID. You can select a FC hard disk and then do one of the following: * Perform a low-level format. * Verify the disk media. * Verify the disk data. * Select a disk device. CAUTION! Performing a low-level format destroys all data on the disk. 3.4. Loopback Data Test This option allows you to perform a Loopback test. Make sure that the FC loop is up or attach a Loopback plug to the HBA before starting the test. 3.5. Select Host Adapter If you have multiple QLx23xx HBAs in your system, use this setting to select a specific HBA and then configure or view its settings. 3.6. Exit Fast!UTIL This option allows you to exit the utility and reboot the system or to return to Fast!UTIL. After making changes to the FC HBA in Fast!Util, you must save them before rebooting the system. 4. Utilities 4.1. Flashing the BIOS The QLogic flash programming utility is a DOS utility. This QLogic BIOS package includes a DOS batch file that simplifies updating the HBA's BIOS. To use it, boot to a DOS hard drive, USB drive, or to a floppy disk, then enter the following command: 23xxflsh.bat NOTEs: * Do not run this utility from the drive connected to the QLx23xx. * Make sure FlasUtil.exe and the source files ql23rom.bin/ql2322rm.bin/2322ipx.bin are in the same directory. The QLogic BIOS package also includes the FlasUtil utility. This provides a DOS Command Line Interface for updating the HBA's BIOS. (For details, see section 4.2.) 4.2. Flashing the BIOS using FlasUtil To flash the BIOS using FlasUtil: 1. Insert the QLx23xx HBA in the system. 2. Boot to DOS. 3. Run FlasUtil program by entering the following command at the prompt: FlasUtil 4. If the system detects a 2Gb HBA, it displays the following message: QLx23xx Adapter found at I/O address: xxxx NOTE: If the system does not detect a 2Gb HBA, run FlasUtil again with the /I (Ignore Subsystem ID) option. 5. Select F to write flash. FlasUtil writes flash to the HBA using the ql23rom.bin or ql2322rm.bin file found in the same directory. 6. For 2Gb HBAs, enter the following additional command: FlasUtil /I /FR This command writes the flash with firmware 2322ipx.bin. 7. Reboot the system. 4.3. FlasUtil Command Line Options BOOT CODE IMAGE ONLY ++++++++++++++++++++ /F xxxx = Writes BIOS flash for the HBA at address = xxxx. If you do not specify an address, this command writes flash to all HBAs. If the flash already contains a valid BIOS, it preserves the existing NVRAM defaults. /C xxxx = Verifies flash of the HBA at address xxxx. If you do not specify an address, this command verifies flash of all HBAs. /W xxxx = Copies BIOS flash to file: QL1xROM.SAV for the HBA at address = xxxx. FCODE IMAGE ONLY ++++++++++++++++ /FF xxxx = Writes FCode flash for the HBA at address = xxxx. If you do not specify an address, this command writes flash to all HBAs. /CF xxxx = Verifies FCode for the HBA at address xxxx. If you do not specify an address, this command verifies the flash of all HBAs. 4.3.1. Additional Options /O = Use instead of QLxxRxx.BIN /I = Ignores Subsystem ID /M = Do not prompt for I/O address /Q = Quiet Mode, no messages are displayed V xxxx = Displays the current version number of the BIOS on HBAs at address xxxx. If you do not specify an address, this command displays the BIOS version for all HBAs. /S xxxx = Displays the serial number of the HBA at address xxxx. If you do not specify an address, this command displays the serial numbers of all HBAs. /Y xxxx = Displays port name of the HBA at address xxxx. If you do not specify an address, this command displays the port names of all HBAs. 4.3.2. Examples Using Command Line Options HBAs with previous valid flash and NVRAM contents: * To write flash to all FC HBAs in a system without being prompted for I/O address, enter: FlasUtil /f This command updates the BIOS while preserving previous NVRAM defaults. * To write the firmware in all ISP2322-based HBAs, enter: FlasUtil /fr This command updates the firmware for ISP2322-based HBAs. 5. Additional Notes * For 2Gb FC drivers, change the Data Rate (Extended Firmware Settings) to 1 or 2. * When using an FC RAID target in a cluster environment, set the Enable Target Reset option to Enabled (Advanced Adapter Settings). NOTE: QLogic recommends this setting. * BIOS scan (BIOS enabled) does not list devices attached to Fabric Switch. To boot to a single device attached to Fabric, refer to section 3.1.2 (Selectable Boot Setting). * Use the /I option if FlasUtil does not detect your controller. * FlasUtil supports up to 16 2Gb HBA controllers at a time. * QLx23xxF Jumper Settings: Pins Optical Interface ---- ----------------- 1-2 Enabled by firmware 2-3 Enabled on Power on 6. Contacting Support Please feel free to contact your QLogic approved reseller or QLogic Technical Support at any phase of integration for assistance. QLogic Technical Support can be reached by the following methods: Web: http://support.qlogic.com North America Contact Information Email: support@qlogic.com Phone: (952) 932-4040 Support contact information for other regions of the world is available at the QLogic website: http://support.qlogic.com © Copyright 2007. All rights reserved worldwide. QLogic, the QLogic logo, and the Powered by QLogic logo are registered trademarks of QLogic Corporation. All other brand and product names are trademarks or registered trademarks of their respective owners.