blob: d0286bd993744b59c1bd9449eab9aa04d093ee50 [file] [log] [blame]
Bin Meng09360af2019-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>
Simon Glass0b1e77e2023-03-14 17:59:51 -0600575f0000 MRC cache CONFIG_ENABLE_MRC_CACHE
58600000 u-boot-dtb.bin CONFIG_TEXT_BASE
Bin Meng09360af2019-07-18 00:34:06 -0700596ef000 Environment CONFIG_ENV_OFFSET
Bin Meng09360af2019-07-18 00:34:06 -0700607b0000 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.
Simon Glass0b1e77e2023-03-14 17:59:51 -060071
72If you want to change CONFIG_TEXT_BASE from the current value of ffe00000
73you need to check a few other things. CONFIG_SYS_MONITOR_BASE should
74automatically update to be the same as CONFIG_TEXT_BASE but
75CONFIG_SYS_MONITOR_LEN may need to be adjusted too. It must cover the space
76from the start of U-Boot to the end of the RAM, since the 16-bit boot needs to
77be able to jump to U-Boot. See the end of arch/x86/lib/fsp1/fsp_car.S which
78has these values.
79
80Also check the MRC cache address in the devicetree ("rw-mrc-cache"). It must
81not overlap with U-Boot.