blob: 028121735aeb8196b7855f67f1dfe8b2f5333b2b [file] [log] [blame]
Bin Meng14afa222019-07-18 00:34:06 -07001.. SPDX-License-Identifier: GPL-2.0+
2.. sectionauthor:: Simon Glass <sjg@chromium.org>
3
4Minnowboard MAX
5===============
6
7This uses as FSP as with Crown Bay, except it is for the Atom E3800 series.
8Download this and get the .fd file (BAYTRAIL_FSP_GOLD_003_16-SEP-2014.fd at
9the time of writing). Put it in the corresponding board directory and rename
10it to fsp.bin.
11
12Obtain the VGA RAM (Vga.dat at the time of writing) and put it into the same
13board directory as vga.bin.
14
15You still need two more binary blobs. For Minnowboard MAX, we can reuse the
16same ME firmware above, but for flash descriptor, we need get that somewhere
17else, as the one above does not seem to work, probably because it is not
18designed for the Minnowboard MAX. Now download the original firmware image
19for this board from:
20
21 * http://firmware.intel.com/sites/default/files/2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
22
23Unzip it::
24
25 $ unzip 2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
26
27Use ifdtool in the U-Boot tools directory to extract the images from that
28file, for example::
29
30 $ ./tools/ifdtool -x MNW2MAX1.X64.0073.R02.1409160934.bin
31
32This will provide the descriptor file - copy this into the correct place::
33
34 $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin
35
36Now you can build U-Boot and obtain u-boot.rom::
37
38 $ make minnowmax_defconfig
39 $ make all
40
41Checksums are as follows (but note that newer versions will invalidate this)::
42
43 $ md5sum -b board/intel/minnowmax/*.bin
44 ffda9a3b94df5b74323afb328d51e6b4 board/intel/minnowmax/descriptor.bin
45 69f65b9a580246291d20d08cbef9d7c5 board/intel/minnowmax/fsp.bin
46 894a97d371544ec21de9c3e8e1716c4b board/intel/minnowmax/me.bin
47 a2588537da387da592a27219d56e9962 board/intel/minnowmax/vga.bin
48
49The ROM image is broken up into these parts:
50
51====== ================== ============================
52Offset Description Controlling config
53====== ================== ============================
54000000 descriptor.bin Hard-coded to 0 in ifdtool
55001000 me.bin Set by the descriptor
56500000 <spare>
576ef000 Environment CONFIG_ENV_OFFSET
586f0000 MRC cache CONFIG_ENABLE_MRC_CACHE
59700000 u-boot-dtb.bin CONFIG_SYS_TEXT_BASE
607b0000 vga.bin CONFIG_VGA_BIOS_ADDR
617c0000 fsp.bin CONFIG_FSP_ADDR
627f8000 <spare> (depends on size of fsp.bin)
637ff800 U-Boot 16-bit boot CONFIG_SYS_X86_START16
64====== ================== ============================
65
66Overall ROM image size is controlled by CONFIG_ROM_SIZE.
67
68Note that the debug version of the FSP is bigger in size. If this version
69is used, CONFIG_FSP_ADDR needs to be configured to 0xfffb0000 instead of
70the default value 0xfffc0000.