Guide 3rd Gen Core Processor hm76 Express Chipset
Guide 3rd Gen Core Processor hm76 Express Chipset
March 2014
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED,
BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS
PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER
AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS
INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR
INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in
personal injury or death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL
APPLICATION, YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE
DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH, HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND
REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL
INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION, WHETHER OR NOT INTEL OR ITS
SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS
PARTS.
Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the
absence or characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future
definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The
information here is subject to change without notice. Do not finalize a design with this information.
The products described in this document may contain design defects or errors known as errata which may cause the product to
deviate from published specifications. Current characterized errata are available on request.
Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.
Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained
by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm
Intel, Intel Core, Intel Celeron, and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries
in the United States and other countries.
*Other names and brands may be claimed as the property of others.
Copyright © 2014, Intel Corporation. All rights reserved.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
2 Document Number: 537254-1.2
Introduction
Contents
1 Introduction .....................................................................................................5
1.1 Purpose ................................................................................................5
1.2 Intended Audience .................................................................................5
1.3 Related Documents.................................................................................5
1.4 Conventions ..........................................................................................5
1.5 Acronyms and Terminology ......................................................................6
2 Intel® 3rd Generation Intel® Core™ Processor with Mobile Intel® HM76/QM77
Express Chipset Hardware Platform .....................................................................7
2.1 Intel® Firmware Support Package .............................................................8
Figures
Figure 1. Hardware Platform...................................................................................................8
Figure 2. Customer Reference Board Block Diagram...................................................................9
Figure 3. Serial Port Location................................................................................................ 10
Figure 4. SF100 Programmer ................................................................................................ 15
Figure 5. DediProg* Cable .................................................................................................... 16
Figure 6. CRB Headers and Jumpers ...................................................................................... 17
Figure 7. J2E1 Header Location ............................................................................................. 18
Figure 8. Jumper Locations .................................................................................................. 19
Figure 9. Power (Top) and Reset Buttons ............................................................................... 22
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 3
Introduction
Revision History
January 2014 1.1 Added support for both Windows- and Linux-based FSP Kits.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
4 Document Number: 537254-1.2
Introduction
1 Introduction
1.1 Purpose
The purpose of this document is to provide information about the 3rd Generation
Intel® Core™ Processor with Mobile Intel® HM76/QM77 Express Chipset Customer
Reference Board (CRB) code named Cougar Canyon 2 (hereafter referred to as "the
CRB"), with guidance for building an example boot loader for the CRB that is based on
the Intel® Firmware Support Package (FSP).
1.4 Conventions
To better illustrate some of its points, this document may provide code snippets. Such
code snippets follow the GNU C Compiler and GNU Assembler syntax.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 5
Introduction
ME Management Engine
TSEG Top Segment, a reserved segment of memory at the top of its address space to
be used as SMRAM
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
6 Document Number: 537254-1.2
Intel® 3rd Generation Intel® Core™ Processor with Mobile Intel® HM76/QM77 Express Chipset
Hardware Platform
• Integrated graphics
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 7
Intel® 3rd Generation Intel® Core™ Processor with Mobile Intel® HM76/QM77 Express Chipset
Hardware Platform
The FSP for the hardware platform handles the initialization of the processor, memory,
and the Platform Controller Hub (PCH) for hardware designs based on this hardware
platform.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
8 Document Number: 537254-1.2
Customer Reference Board
Note: The CRB provides both a serial console and graphics output capabilities. If you are
developing a boot loader for which all user interaction is performed through the serial
console, use the DB-9 serial port located on the back edge of the board, directly above
the VGA port, as illustrated in Figure 3.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 9
Customer Reference Board
Connect a null modem cable between a development host system and the board.
The default serial communication parameters for the serial console are as follows:
• 115,200 baud
• 8-N-1 bit configuration
• No flow control
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
10 Document Number: 537254-1.2
Example Boot Loader
The embedded firmware ecosystem has developed an example boot loader solution for
the CRB that uses the Intel FSP. This solution is based on the open source Coreboot
project at coreboot.org. While Intel does not endorse or support boot loader solutions
based on the Coreboot project, the example Coreboot-based boot loader provides a
good teaching model for the way to integrate the Intel FSP into a complete boot
loader solution.
Note: The steps to generate the example boot loader for the CRB are provided to Intel
customers as-is, with no warranty or support. Please contact a firmware ecosystem
vendor to help you develop a production-worthy firmware solution based on the Intel®
FSP for your hardware designs.
The default payload for the example Coreboot-based boot loader is the SeaBIOS,
which is provided by a related open source firmware project. The SeaBIOS attempts to
boot an OS image from a storage device attached to the CRB.
Note: Intel does not endorse or support any specific development environment for
developing boot loader firmware that integrates with the FSP.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 11
Example Boot Loader
Once Coreboot has been downloaded, you must run a command to download and build
the exact GCC toolchain required by the Coreboot project. In order to build the
Coreboot-specific toolchain, your development host must have its own distribution-
provided GCC tool chain. Consult the documentation at coreboot.org for the tool chain
components required.
This command can take from a few minutes up to an hour or more to complete,
depending on the power of your development host.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
12 Document Number: 537254-1.2
Building the Example Boot Loader
a. Copy CHIEF_RIVER_FSP_KIT/FSP/*.fd to
CC2/intel/fsp/ivybridge_bd82x6x and rename the file to FvFsp.bin.
b. Copy CHIEF_RIVER_FSP_KIT/FSP/include/*.h to
CC2/intel/fsp/ivybridge_bd82x6x/include.
c. Copy CHIEF_RIVER_FSP_KIT/FSP/src/fsphob.c to
CC2/intel/fsp/ivybridge_bd82x6x/src.
d. Copy CHIEF_RIVER_FSP_KIT/Microcode/*.h to
CC2/intel/cpu/ivybridge/microcode.
e. Copy CHIEF_RIVER_FSP_KIT/CougarCanyon2/snm_2170.dat to
CC2/intel/mainboard/intel/cougar_canyon2/vbios.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 13
Building the Example Boot Loader
The default coreboot.rom file is 8 MB in size. This file can be programmed into
the firmware flash memory device on the CRB by following the procedures in the
next section.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
14 Document Number: 537254-1.2
Updating the Firmware
The CRB is equipped with two 8 MB Serial Peripheral Interface (SPI) flash memory
devices designated SPI-0 and SPI-1 that together contain the system firmware. The
firmware descriptor, management engine (ME) firmware, and Gigabit Ethernet
firmware are all contained in SPI-0, while the BIOS or boot loader is contained in
SPI-1.
The SF100 connects to a host development system through its USB plug for
communication with the controller software and to obtain power; it connects to the
flash device to be programmed through the ISP pin header.
Additional technical information about the SF100 programmer, including drivers and
software for Microsoft* Windows* environments, can be obtained from DediProg*’s
website at:
http://www.dediprog.com/product/SPI%20Flash%20Solution/89
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 15
Updating the Firmware
The SF100 programmer is also supported by the Linux* flashrom utility. Note,
however, that the flashrom utility is not supported by DediProg or by Intel. Additional
technical information about the flashrom utility can be obtained from the flashrom
website at:
http://www.flashrom.org/
All of the following instructions regarding use of the SF100 programmer assume that
you have the DediProg* SF100 drivers and software installed on a PC running
Microsoft Windows.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
16 Document Number: 537254-1.2
Updating the Firmware
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 17
Updating the Firmware
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
18 Document Number: 537254-1.2
Updating the Firmware
Figure 8 shows a close-up of the jumpers you must change while backing up and
programming the SPI-0 and SPI-1 chips.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 19
Updating the Firmware
9. Click Read at the top of the window. Wait for the completion of the read
operation.
10. Click Chip Buffer to File to save the 8 MB firmware image to a file.
11. Close the View Contents in the Memory Chip window.
12. Set the jumper at J2C3 to connect pins 2-3. This step selects SPI-1.
13. Repeat steps 8–11 to save the SPI-1 firmware image to a file.
14. Remove the cable from header J2E1 before applying power to the CRB.
Note: Contrary to other documentation, you do not need to remove the jumpers from
locations J2C2, J2D1, or J2C3 before powering on the CRB.
You must load this Rom00_8M_MB_PPT.bin file into SPI-0 one time, after which SPI-0
does not need to be changed. The following steps must be performed only once:
1. Disconnect the power from the CRB. Do not apply power to the CRB at any
time during this procedure.
2. Connect the cable from the SF100 programmer to header J2E1 on the CRB.
3. Make sure that jumpers are installed at locations J2C2 and J2D1.
4. Set the jumper at J2C3 to connect pins 1-2. This step selects SPI-0.
5. Open the DediProg Engineering application.
6. Select W25Q64BV when prompted for the memory device type.
7. Next to the Currently working on section near the top of the window, make sure
that Application Memory Chip 1 is selected.
8. Click the Config button at the top of the window.
9. In the Advanced Settings dialog that appears, click the Prog button on the left.
10. Select Program a whole file starting from address 0 of a chip.
11. Click the Flash Options button on the left.
12. Select the check box Unprotect block automatically when block(s)
protected.
13. Click OK.
14. Click the File button at the top of the window. This step opens a File Open dialog
for selecting the firmware image to be programmed to the board. Select the 8 MB
image file named Rom00_8M_MB_PPT.bin delivered with the FSP kit in the
CHIEF_RIVER_FSP_KIT/CougarCanyon2 directory. Click OK.
15. Click the Erase button at the top of the window to erase the entire flash memory
device. Wait for completion of the erase operation.
16. Click the Prog button at the top of the window to program the Intel-provided
firmware image to the flash memory device on the target platform. Wait for
completion of the programming operation.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
20 Document Number: 537254-1.2
Updating the Firmware
17. Click the Verify button at the top of the window to verify that the firmware image
was successfully programmed to the flash memory device. Wait for completion of
the verify operation.
18. Remove the cable from header J2E2 before applying power to the CRB.
19. Go on to program the boot loader into chip SPI-1 before applying power to the
CRB.
Note: Contrary to other documentation, you do not need to remove the jumpers from
locations J2C2, J2D1, or J2C3 before powering on the CRB.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 21
Updating the Firmware
Follow the exact procedure in Section 6.4 above, except the following:
Instead of step 11, select Program from specific address of a chip, and enter the
appropriate starting address to match your firmware image. For example, if your
firmware image is 4 MB in size, specify a starting address of 0X0400000. If your
firmware image is 1 MB in size, specify a starting address of 0x0700000.
To interact with the boot loader, connect a terminal or terminal emulator to the DB-9
serial port. The CRB provides Power and Reset buttons, as shown in Figure 9. To
power up the board, turn on the power supply, and then press the board’s Power
button.
When power is applied to the CRB and the boot loader initializes the board and boots
the SeaBIOS payload, various messages appear on the terminal connected to the
serial port.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
22 Document Number: 537254-1.2
Updating the Firmware
If a storage device with a bootable OS image is connected to one of the CRB’s SATA or
USB ports, the booting OS displays messages on the serial port terminal, or on an
attached VGA monitor, as determined by the configuration of the OS image. If the OS
image provides a graphical user interface on the VGA monitor, you may need to attach
a keyboard and mouse to either the USB ports or the PS/2 ports in order to fully
interact with the booted operating system.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 23
Creating Custom Images
The following example shows the steps to build a 4-MB image file instead of an 8-MB
image file.
1. At the Bash prompt on your development host, navigate to the coreboot
directory.
2. Start the menuconfig utility with the following command:
make menuconfig
3. Use the arrow keys to select the Mainboard option.
4. Select the ROM chip size option.
5. Use the arrow keys to select the 4096 KB option.
6. Select Exit twice.
7. Select Yes to save your new configuration and exit the menuconfig utility.
8. Back at the Coreboot directory, to rebuild the coreboot.rom image file, type:
make
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
Platform Guide March 2014
24 Document Number: 537254-1.2
Creating Custom Images
Each Intel® FSP kit is packaged with a platform-specific binary settings file (.bsf),
which is a text file that represents the default PCD settings in the FSP binary file as it
is provided by Intel. Using the BCT, you can change the values of the settings listed in
the .bsf file. The modified settings are saved in an as-built settings file (.absf). After
modifying the settings, the BCT lets you patch those changes back into the binary
image.
The BCT package is a standalone tool, with its own user guide, and is not dependent
on a particular CPU, chipset, or platform.
Please refer to the BCT release package for further information on using this tool.
3rd Gen Intel® Core™ Processors with Mobile Intel® HM76/QM77 Express Chipsets
March 2014 Platform Guide
Document Number: 537254-1.2 25