1.. SPDX-License-Identifier: GPL-2.0+
2.. sectionauthor:: Bin Meng <bmeng.cn@gmail.com>
3
4Crown Bay CRB
5=============
6
7U-Boot support of Intel `Crown Bay`_ board relies on a binary blob called
8Firmware Support Package (`FSP`_) to perform all the necessary initialization
9steps as documented in the BIOS Writer Guide, including initialization of the
10CPU, memory controller, chipset and certain bus interfaces.
11
12Download the Intel FSP for Atom E6xx series and Platform Controller Hub EG20T,
13install it on your host and locate the FSP binary blob. Note this platform
14also requires a Chipset Micro Code (CMC) state machine binary to be present in
15the SPI flash where u-boot.rom resides, and this CMC binary blob can be found
16in this FSP package too.
17
18   * ./FSP/QUEENSBAY_FSP_GOLD_001_20-DECEMBER-2013.fd
19   * ./Microcode/C0_22211.BIN
20
21Rename the first one to fsp.bin and second one to cmc.bin and put them in the
22board directory.
23
24Note the FSP release version 001 has a bug which could cause random endless
25loop during the FspInit call. This bug was published by Intel although Intel
26did not describe any details. We need manually apply the patch to the FSP
27binary using any hex editor (eg: bvi). Go to the offset 0x1fcd8 of the FSP
28binary, change the following five bytes values from orginally E8 42 FF FF FF
29to B8 00 80 0B 00.
30
31As for the video ROM, you need manually extract it from the Intel provided
32BIOS for Crown Bay `here`_, using the AMI `MMTool`_. Check PCI option
33ROM ID 8086:4108, extract and save it as vga.bin in the board directory.
34
35Now you can build U-Boot and obtain u-boot.rom::
36
37   $ make crownbay_defconfig
38   $ make all
39
40.. _`Crown Bay`: http://www.intel.com/content/www/us/en/embedded/design-tools/evaluation-platforms/atom-e660-eg20t-development-kit.html
41.. _`FSP`: http://www.intel.com/fsp
42.. _`here`: http://www.intel.com/content/www/us/en/secure/intelligent-systems/privileged/e6xx-35-b1-cmc22211.html
43.. _`MMTool`: http://www.ami.com/products/bios-uefi-tools-and-utilities/bios-uefi-utilities/
44