diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-03-31 18:00:28 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-03-31 18:07:35 (EDT) |
commit | 75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1 (patch) | |
tree | 1fbdc6643eb1d8fded3e3498d0451a19a319e594 | |
parent | 993f379175896ca0604ac860f24b9d93b89e1e74 (diff) | |
download | libreboot-75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1.zip libreboot-75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1.tar.gz libreboot-75ee5e97c9be6c94ffa6ddf5f8e882bc4b1701b1.tar.bz2 |
ThinkPad T500 support
86 files changed, 1753 insertions, 42 deletions
diff --git a/docs/git/index.html b/docs/git/index.html index 3c725e3..62b1775 100644 --- a/docs/git/index.html +++ b/docs/git/index.html @@ -36,6 +36,7 @@ <li><a href="#config_x200">ThinkPad X200</a></li> <li><a href="#config_r400">ThinkPad R400</a></li> <li><a href="#config_t400">ThinkPad T400</a></li> + <li><a href="#config_t500">ThinkPad T500</a></li> <li><a href="#config_macbook21">MacBook2,1</a></li> <li><a href="#config_qemu_i440fx_piix4">QEMU (x86 i440fx/piix4)</a></li> <li><a href="#config_qemu_q35_ich9">QEMU (x86 q35/ich9)</a></li> @@ -517,6 +518,50 @@ scripts for this machine. </p> </div> + + <div class="subsection"> + <h2 id="config_t500"> + ThinkPad T500 configuration (file: resources/libreboot/config/t500_4mb/config and resources/libreboot/config/t500_8mb/config) + </h2> + <p> + These are saved as two configs, because there are 2 size flash chips: 4MB or 8MB. + </p> + <ul> + <li>General / Expert mode = <i>enable</i></li> + <li>Mainboard / Mainboard vendor = <i>Lenovo</i></li> + <li>Mainboard / Mainboard model = <i>ThinkPad T500</i></li> + <li>Mainboard / ROM chip size = <i>4096 KB (4 MB)</i> or <i>8192 KB (8 MB)</i> depending on flash chip size</li> + <li>Chipset / Include CPU microcode in CBFS = <i>Do not include microcode updates</i></li> + <li>Chipset / Size of CBFS filesystem in ROM = byte size <i>0x7FD000</i> (for 8MB flash chip) or <i>3FD000</i> (for 4MB flash chip)</li> + <li>Devices / Use native graphics initialization = <i>enable</i></li> + <li> + Display / Keep VESA framebuffer = <i>disable</i> (disable for text-mode graphics, enable for coreboot vesa framebuffer) + <ul> + <li>Libreboot provides this with text-mode enabled by default, but it automatically patches a copy of the config at build time + to enable coreboot framebuffer for a separate set of ROM images, in each machine.</li> + </ul> + </li> + <li>Generic Drivers / USB 2.0 EHCI debug dongle support = <i>Enable</i></li> + <li>Generic Drivers / Enable early (pre-RAM) usbdebug = <i>Enable</i></li> + <li>Generic Drivers / Type of dongle = <i>BeagleBone Black</i></li> + <li>Console / Send console output to a CBMEM buffer = <i>enable</i></li> + <li>Console / USB dongle log output = <i>enable</i></li> + <li>Payload / Add a payload = <i>An ELF executable payload</i></li> + <li>Payload / Payload path and filename = <i>grub.elf</i></li> + </ul> + <p> + Go back and disable option ROMs: + </p> + <ul> + <li>Devices / Run VGA Option ROMs = <i>disable</i></li> + <li>Devices / Run Option ROMs on PCI devices = <i>disable</i></li> + </ul> + <p> + The resulting .config file was saved as resources/libreboot/config/<b>t500_8mb/config</b> and + resources/libreboot/config/<b>t500_4mb/config</b> and is used by the build + scripts for this machine. + </p> + </div> <div class="subsection"> <h2 id="config_macbook21"> @@ -645,7 +690,7 @@ On a ThinkPad T60, you can replace the CPU (Core 2 Duo T5600, T7200 or T7600. T5600 recommended) for 64-bit support. On an X60s, you can replace the board with one that has a Core 2 Duo L7400 (you could also use an X60 Tablet board with the same CPU). On an X60, you can replace the board with one that has a Core 2 Duo T5600 or T7200 (T5600 is recommended). All MacBook2,1 laptops - are 64-bit, as are all ThinkPad X200, X200S, X200 Tablet and R400 laptops. Warning: MacBook1,1 laptops are all 32-bit only. + are 64-bit, as are all ThinkPad X200, X200S, X200 Tablet, R400, T400 and T500 laptops. Warning: MacBook1,1 laptops are all 32-bit only. </p> <p> diff --git a/docs/hcl/gm45_remove_me.html b/docs/hcl/gm45_remove_me.html index 5b2d4ff..b1ab1f0 100644 --- a/docs/hcl/gm45_remove_me.html +++ b/docs/hcl/gm45_remove_me.html @@ -18,7 +18,7 @@ <h1 id="pagetop">GM45 chipsets: remove the ME (manageability engine)</h1> <p> This sections relates to disabling and removing the ME (Intel <b>M</b>anagement <b>E</b>ngine) on - GM45. This was originally done on the ThinkPad X200, and later adapted for the ThinkPad R400/T400. It can + GM45. This was originally done on the ThinkPad X200, and later adapted for the ThinkPad R400/T400/T500. It can in principle be done on any GM45 or GS45 machine. </p> <p> diff --git a/docs/hcl/index.html b/docs/hcl/index.html index d593c20..42be8d6 100644 --- a/docs/hcl/index.html +++ b/docs/hcl/index.html @@ -41,6 +41,7 @@ <li><a href="x200.html">Lenovo ThinkPad X200</a></li> <li><a href="r400.html">Lenovo ThinkPad R400</a></li> <li><a href="t400.html">Lenovo ThinkPad T400</a></li> + <li><a href="t500.html">Lenovo ThinkPad T500</a></li> <li><a href="#macbook11">Apple MacBook1,1</a></li> <li><a href="#macbook21">Apple MacBook2,1</a></li> </ul> diff --git a/docs/hcl/t500.html b/docs/hcl/t500.html new file mode 100644 index 0000000..6fee53d --- /dev/null +++ b/docs/hcl/t500.html @@ -0,0 +1,130 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <style type="text/css"> + @import url('../css/main.css'); + </style> + + <title>ThinkPad T500</title> +</head> + +<body> + + <div class="section"> + <h1 id="pagetop">ThinkPad T500</h1> + + <p> + It is believed that all or most T500 laptops are compatible. + See notes about <a href="../install/t500_external.html#cpu_compatibility">CPU compatibility</a> + and <a href="../install/t500_external.html#switchable_graphics">switchable graphics</a> for + potential incompatibilities. + </p> + + <p> + There are two possible flash chip sizes for the R400: 4MiB (32Mbit) or 8MiB (64Mbit). + This can be identified by the type of flash chip below the palmrest: 4MiB is SOIC-8, 8MiB + is SOIC-16. + </p> + + <p> + <b>The T500 laptops come with the ME (and sometimes AMT in addition) before flashing libreboot. Libreboot disables and removes it + by using a modified descriptor: see <a href="gm45_remove_me.html">gm45_remove_me.html</a></b> (contains notes, plus + instructions) + </p> + + <p> + Flashing instructions can be found at <a href="../install/index.html#flashrom">../install/index.html#flashrom</a> + </p> + + <p> + <a href="index.html">Back to previous index</a>. + </p> + </div> + + <div class="section"> + + <p> + Thi T500 is almost identical to the X200, code-wise. See <a href="x200.html">x200.html</a>. + </p> + + </div> + + <div class="section"> + + <h2 id="descriptor_difference"> + Descriptor and Gbe differences + </h2> + + <p> + See + <a href="../future/dumps/t500_x200_descriptor/descriptor_diff_t500_x200.txt">../future/dumps/t500_x200_descriptor/descriptor_diff_t500_x200.txt</a> + and + <a href="../future/dumps/t500_x200_descriptor/gbe_diff_t500_x200.txt">../future/dumps/t500_x200_descriptor/gbe_diff_t500_x200.txt</a> + </p> + + <p> + The patches above are based on the output from ich9deblob on a factory.rom image dumped from the T500 + with a SOIC-8 4MiB flash chip. The patch re-creates the X200 descriptor/gbe source, so the commands were + something like:<br/> + $ <b>diff -u t500gbe x200gbe</b><br/> + $ <b>diff -u t500descriptor x200descriptor</b> + </p> + + <p> + ME VSCC table is in a different place and a different size on the T500. Libreboot disables and removes the ME + anyway, so it doesn't matter. + </p> + + <p> + The very same descriptor/gbe used on the X200 (generated by <a href="gm45_remove_me.html#ich9gen">ich9gen</a>) + was re-used on the T500, and it still worked. + </p> + + </div> + + <div class="section"> + + <h2 id="regdumps">Hardware register dumps</h2> + + <p> + The coreboot wiki <a href="http://www.coreboot.org/Motherboard_Porting_Guide">shows</a> + how to collect various logs useful in porting to new + boards. Following are outputs from the T500: + </p> + + <ul> + <li> + T500 with <b>TODO: PUT FLASH CHIP HERE</b> flash chip (4MiB, SOIC-8) + and <b>TODO: PUT BIOS/EC VERSION HERE</b>: + <ul> + <li>TODO: put logs here</li> + </ul> + </li> + <li> + Version of flashrom used for the external flashing/reading logs is the one that libreboot git revision c164960 uses. + </li> + </ul> + + </div> + + <div class="section"> + + <p> + Copyright © 2015 Francis Rowe <info@gluglug.org.uk><br/> + This document is released under the Creative Commons Attribution-ShareAlike 4.0 International Public License and all future versions. + A copy of the license can be found at <a href="../license.txt">../license.txt</a>. + </p> + + <p> + This document is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See <a href="../license.txt">../license.txt</a> for more information. + </p> + + </div> + +</body> +</html> diff --git a/docs/install/images/t500/0000.jpg b/docs/install/images/t500/0000.jpg Binary files differnew file mode 100644 index 0000000..b1c4a71 --- /dev/null +++ b/docs/install/images/t500/0000.jpg diff --git a/docs/install/images/t500/0001.jpg b/docs/install/images/t500/0001.jpg Binary files differnew file mode 100644 index 0000000..9bd9375 --- /dev/null +++ b/docs/install/images/t500/0001.jpg diff --git a/docs/install/images/t500/0002.jpg b/docs/install/images/t500/0002.jpg Binary files differnew file mode 100644 index 0000000..04430cd --- /dev/null +++ b/docs/install/images/t500/0002.jpg diff --git a/docs/install/images/t500/0003.jpg b/docs/install/images/t500/0003.jpg Binary files differnew file mode 100644 index 0000000..0fc51e6 --- /dev/null +++ b/docs/install/images/t500/0003.jpg diff --git a/docs/install/images/t500/0004.jpg b/docs/install/images/t500/0004.jpg Binary files differnew file mode 100644 index 0000000..5d66c5a --- /dev/null +++ b/docs/install/images/t500/0004.jpg diff --git a/docs/install/images/t500/0005.jpg b/docs/install/images/t500/0005.jpg Binary files differnew file mode 100644 index 0000000..248d8dc --- /dev/null +++ b/docs/install/images/t500/0005.jpg diff --git a/docs/install/images/t500/0006.jpg b/docs/install/images/t500/0006.jpg Binary files differnew file mode 100644 index 0000000..4948c37 --- /dev/null +++ b/docs/install/images/t500/0006.jpg diff --git a/docs/install/images/t500/0007.jpg b/docs/install/images/t500/0007.jpg Binary files differnew file mode 100644 index 0000000..92cfde7 --- /dev/null +++ b/docs/install/images/t500/0007.jpg diff --git a/docs/install/images/t500/0008.jpg b/docs/install/images/t500/0008.jpg Binary files differnew file mode 100644 index 0000000..4aa8fe9 --- /dev/null +++ b/docs/install/images/t500/0008.jpg diff --git a/docs/install/images/t500/0009.jpg b/docs/install/images/t500/0009.jpg Binary files differnew file mode 100644 index 0000000..7585b26 --- /dev/null +++ b/docs/install/images/t500/0009.jpg diff --git a/docs/install/images/t500/0010.jpg b/docs/install/images/t500/0010.jpg Binary files differnew file mode 100644 index 0000000..5123279 --- /dev/null +++ b/docs/install/images/t500/0010.jpg diff --git a/docs/install/images/t500/0011.jpg b/docs/install/images/t500/0011.jpg Binary files differnew file mode 100644 index 0000000..d9a9ab4 --- /dev/null +++ b/docs/install/images/t500/0011.jpg diff --git a/docs/install/images/t500/0012.jpg b/docs/install/images/t500/0012.jpg Binary files differnew file mode 100644 index 0000000..9d95159 --- /dev/null +++ b/docs/install/images/t500/0012.jpg diff --git a/docs/install/images/t500/0013.jpg b/docs/install/images/t500/0013.jpg Binary files differnew file mode 100644 index 0000000..50ab59e --- /dev/null +++ b/docs/install/images/t500/0013.jpg diff --git a/docs/install/images/t500/0014.jpg b/docs/install/images/t500/0014.jpg Binary files differnew file mode 100644 index 0000000..3c59ab5 --- /dev/null +++ b/docs/install/images/t500/0014.jpg diff --git a/docs/install/images/t500/0015.jpg b/docs/install/images/t500/0015.jpg Binary files differnew file mode 100644 index 0000000..3634f4d --- /dev/null +++ b/docs/install/images/t500/0015.jpg diff --git a/docs/install/images/t500/0016.jpg b/docs/install/images/t500/0016.jpg Binary files differnew file mode 100644 index 0000000..8fc22d0 --- /dev/null +++ b/docs/install/images/t500/0016.jpg diff --git a/docs/install/images/t500/0017.jpg b/docs/install/images/t500/0017.jpg Binary files differnew file mode 100644 index 0000000..57be314 --- /dev/null +++ b/docs/install/images/t500/0017.jpg diff --git a/docs/install/images/t500/0018.jpg b/docs/install/images/t500/0018.jpg Binary files differnew file mode 100644 index 0000000..ee5b688 --- /dev/null +++ b/docs/install/images/t500/0018.jpg diff --git a/docs/install/images/t500/0019.jpg b/docs/install/images/t500/0019.jpg Binary files differnew file mode 100644 index 0000000..84049a9 --- /dev/null +++ b/docs/install/images/t500/0019.jpg diff --git a/docs/install/images/t500/0020.jpg b/docs/install/images/t500/0020.jpg Binary files differnew file mode 100644 index 0000000..e6519df --- /dev/null +++ b/docs/install/images/t500/0020.jpg diff --git a/docs/install/images/t500/0021.jpg b/docs/install/images/t500/0021.jpg Binary files differnew file mode 100644 index 0000000..e2cc447 --- /dev/null +++ b/docs/install/images/t500/0021.jpg diff --git a/docs/install/images/t500/0022.jpg b/docs/install/images/t500/0022.jpg Binary files differnew file mode 100644 index 0000000..99ccbaa --- /dev/null +++ b/docs/install/images/t500/0022.jpg diff --git a/docs/install/images/t500/0023.jpg b/docs/install/images/t500/0023.jpg Binary files differnew file mode 100644 index 0000000..16cfdf6 --- /dev/null +++ b/docs/install/images/t500/0023.jpg diff --git a/docs/install/images/t500/0024.jpg b/docs/install/images/t500/0024.jpg Binary files differnew file mode 100644 index 0000000..9d959c8 --- /dev/null +++ b/docs/install/images/t500/0024.jpg diff --git a/docs/install/images/t500/0025.jpg b/docs/install/images/t500/0025.jpg Binary files differnew file mode 100644 index 0000000..763a31e --- /dev/null +++ b/docs/install/images/t500/0025.jpg diff --git a/docs/install/images/t500/0026.jpg b/docs/install/images/t500/0026.jpg Binary files differnew file mode 100644 index 0000000..2977536 --- /dev/null +++ b/docs/install/images/t500/0026.jpg diff --git a/docs/install/images/t500/0027.jpg b/docs/install/images/t500/0027.jpg Binary files differnew file mode 100644 index 0000000..55418ed --- /dev/null +++ b/docs/install/images/t500/0027.jpg diff --git a/docs/install/images/t500/0028.jpg b/docs/install/images/t500/0028.jpg Binary files differnew file mode 100644 index 0000000..eb873b4 --- /dev/null +++ b/docs/install/images/t500/0028.jpg diff --git a/docs/install/images/t500/0029.jpg b/docs/install/images/t500/0029.jpg Binary files differnew file mode 100644 index 0000000..62e9204 --- /dev/null +++ b/docs/install/images/t500/0029.jpg diff --git a/docs/install/images/t500/0030.jpg b/docs/install/images/t500/0030.jpg Binary files differnew file mode 100644 index 0000000..36b4742 --- /dev/null +++ b/docs/install/images/t500/0030.jpg diff --git a/docs/install/images/t500/0031.jpg b/docs/install/images/t500/0031.jpg Binary files differnew file mode 100644 index 0000000..0c185d4 --- /dev/null +++ b/docs/install/images/t500/0031.jpg diff --git a/docs/install/images/t500/0032.jpg b/docs/install/images/t500/0032.jpg Binary files differnew file mode 100644 index 0000000..5f05801 --- /dev/null +++ b/docs/install/images/t500/0032.jpg diff --git a/docs/install/images/t500/0033.jpg b/docs/install/images/t500/0033.jpg Binary files differnew file mode 100644 index 0000000..9522f10 --- /dev/null +++ b/docs/install/images/t500/0033.jpg diff --git a/docs/install/images/t500/0034.jpg b/docs/install/images/t500/0034.jpg Binary files differnew file mode 100644 index 0000000..081d9f9 --- /dev/null +++ b/docs/install/images/t500/0034.jpg diff --git a/docs/install/images/t500/0035.jpg b/docs/install/images/t500/0035.jpg Binary files differnew file mode 100644 index 0000000..27a1a06 --- /dev/null +++ b/docs/install/images/t500/0035.jpg diff --git a/docs/install/images/t500/0036.jpg b/docs/install/images/t500/0036.jpg Binary files differnew file mode 100644 index 0000000..e8cc68a --- /dev/null +++ b/docs/install/images/t500/0036.jpg diff --git a/docs/install/images/t500/0037.jpg b/docs/install/images/t500/0037.jpg Binary files differnew file mode 100644 index 0000000..30a6dc2 --- /dev/null +++ b/docs/install/images/t500/0037.jpg diff --git a/docs/install/images/t500/0038.jpg b/docs/install/images/t500/0038.jpg Binary files differnew file mode 100644 index 0000000..5d66301 --- /dev/null +++ b/docs/install/images/t500/0038.jpg diff --git a/docs/install/images/t500/0039.jpg b/docs/install/images/t500/0039.jpg Binary files differnew file mode 100644 index 0000000..36f3726 --- /dev/null +++ b/docs/install/images/t500/0039.jpg diff --git a/docs/install/images/t500/0040.jpg b/docs/install/images/t500/0040.jpg Binary files differnew file mode 100644 index 0000000..b5f61eb --- /dev/null +++ b/docs/install/images/t500/0040.jpg diff --git a/docs/install/images/t500/0041.jpg b/docs/install/images/t500/0041.jpg Binary files differnew file mode 100644 index 0000000..f539a4a --- /dev/null +++ b/docs/install/images/t500/0041.jpg diff --git a/docs/install/images/t500/0042.jpg b/docs/install/images/t500/0042.jpg Binary files differnew file mode 100644 index 0000000..d6da7e3 --- /dev/null +++ b/docs/install/images/t500/0042.jpg diff --git a/docs/install/images/t500/0043.jpg b/docs/install/images/t500/0043.jpg Binary files differnew file mode 100644 index 0000000..5703e15 --- /dev/null +++ b/docs/install/images/t500/0043.jpg diff --git a/docs/install/images/t500/0044.jpg b/docs/install/images/t500/0044.jpg Binary files differnew file mode 100644 index 0000000..8c7c19f --- /dev/null +++ b/docs/install/images/t500/0044.jpg diff --git a/docs/install/images/t500/0045.jpg b/docs/install/images/t500/0045.jpg Binary files differnew file mode 100644 index 0000000..87f527f --- /dev/null +++ b/docs/install/images/t500/0045.jpg diff --git a/docs/install/images/t500/0046.jpg b/docs/install/images/t500/0046.jpg Binary files differnew file mode 100644 index 0000000..3420be7 --- /dev/null +++ b/docs/install/images/t500/0046.jpg diff --git a/docs/install/images/t500/0047.jpg b/docs/install/images/t500/0047.jpg Binary files differnew file mode 100644 index 0000000..07cd1bc --- /dev/null +++ b/docs/install/images/t500/0047.jpg diff --git a/docs/install/images/t500/0048.jpg b/docs/install/images/t500/0048.jpg Binary files differnew file mode 100644 index 0000000..26715d5 --- /dev/null +++ b/docs/install/images/t500/0048.jpg diff --git a/docs/install/images/t500/0049.jpg b/docs/install/images/t500/0049.jpg Binary files differnew file mode 100644 index 0000000..b2aaa91 --- /dev/null +++ b/docs/install/images/t500/0049.jpg diff --git a/docs/install/images/t500/0050.jpg b/docs/install/images/t500/0050.jpg Binary files differnew file mode 100644 index 0000000..fe63359 --- /dev/null +++ b/docs/install/images/t500/0050.jpg diff --git a/docs/install/images/t500/0051.jpg b/docs/install/images/t500/0051.jpg Binary files differnew file mode 100644 index 0000000..6b5a8b0 --- /dev/null +++ b/docs/install/images/t500/0051.jpg diff --git a/docs/install/images/t500/0052.jpg b/docs/install/images/t500/0052.jpg Binary files differnew file mode 100644 index 0000000..c509db1 --- /dev/null +++ b/docs/install/images/t500/0052.jpg diff --git a/docs/install/images/t500/0053.jpg b/docs/install/images/t500/0053.jpg Binary files differnew file mode 100644 index 0000000..48d59f6 --- /dev/null +++ b/docs/install/images/t500/0053.jpg diff --git a/docs/install/images/t500/0054.jpg b/docs/install/images/t500/0054.jpg Binary files differnew file mode 100644 index 0000000..ebdbca6 --- /dev/null +++ b/docs/install/images/t500/0054.jpg diff --git a/docs/install/images/t500/0055.jpg b/docs/install/images/t500/0055.jpg Binary files differnew file mode 100644 index 0000000..c6fbe0e --- /dev/null +++ b/docs/install/images/t500/0055.jpg diff --git a/docs/install/images/t500/0056.jpg b/docs/install/images/t500/0056.jpg Binary files differnew file mode 100644 index 0000000..7040d2d --- /dev/null +++ b/docs/install/images/t500/0056.jpg diff --git a/docs/install/images/t500/0057.jpg b/docs/install/images/t500/0057.jpg Binary files differnew file mode 100644 index 0000000..ff51a6a --- /dev/null +++ b/docs/install/images/t500/0057.jpg diff --git a/docs/install/images/t500/0058.jpg b/docs/install/images/t500/0058.jpg Binary files differnew file mode 100644 index 0000000..45adf8a --- /dev/null +++ b/docs/install/images/t500/0058.jpg diff --git a/docs/install/images/t500/0059.jpg b/docs/install/images/t500/0059.jpg Binary files differnew file mode 100644 index 0000000..6b6647c --- /dev/null +++ b/docs/install/images/t500/0059.jpg diff --git a/docs/install/images/t500/0060.jpg b/docs/install/images/t500/0060.jpg Binary files differnew file mode 100644 index 0000000..658a632 --- /dev/null +++ b/docs/install/images/t500/0060.jpg diff --git a/docs/install/images/t500/0061.jpg b/docs/install/images/t500/0061.jpg Binary files differnew file mode 100644 index 0000000..44eca4f --- /dev/null +++ b/docs/install/images/t500/0061.jpg diff --git a/docs/install/images/t500/0062.jpg b/docs/install/images/t500/0062.jpg Binary files differnew file mode 100644 index 0000000..eade289 --- /dev/null +++ b/docs/install/images/t500/0062.jpg diff --git a/docs/install/index.html b/docs/install/index.html index a72120e..0eef199 100644 --- a/docs/install/index.html +++ b/docs/install/index.html @@ -48,6 +48,7 @@ <li><a href="x200_external.html">ThinkPad X200: Initial installation guide</a> (also the recovery guide)</li> <li><a href="r400_external.html">ThinkPad R400: Initial installation guide</a> (also the recovery guide)</li> <li><a href="t400_external.html">ThinkPad T400: Initial installation guide</a> (also the recovery guide)</li> + <li><a href="t500_external.html">ThinkPad T500: Initial installation guide</a> (also the recovery guide)</li> </ul> </div> @@ -66,6 +67,7 @@ <li>ThinkPad X200: download <b>libreboot_x200_8mb.tar.xz</b> (8MiB flash chip) or <b>libreboot_x200_4mb.tar.xz</b> (4MiB flash chip) (see <a href="../hcl/x200.html">../hcl/x200.html</a>)</li> <li>ThinkPad R400: download <b>libreboot_r400_8mb.tar.xz</b> (8MiB flash chip) or <b>libreboot_r400_4mb.tar.xz</b> (4MiB flash chip) (see <a href="../hcl/r400.html">../hcl/r400.html</a>)</li> <li>ThinkPad T400: download <b>libreboot_t400_8mb.tar.xz</b> (8MiB flash chip) or <b>libreboot_t400_4mb.tar.xz</b> (4MiB flash chip) (see <a href="../hcl/t400.html">../hcl/t400.html</a>)</li> + <li>ThinkPad T500: download <b>libreboot_t500_8mb.tar.xz</b> (8MiB flash chip) or <b>libreboot_t500_4mb.tar.xz</b> (4MiB flash chip) (see <a href="../hcl/t500.html">../hcl/t500.html</a>)</li> </ul> <p> @@ -139,18 +141,19 @@ </b> </p> <p> - X200/R400/T400 users running Lenovo BIOS should refer to <a href="x200_external.html">x200_external.html</a>, - <a href="r400_external.html">r400_external.html</a> or - <a href="t400_external.html">t400_external.html</a>. <b>These machines contain the hard coded + X200/R400/T400/T500 users running Lenovo BIOS should refer to <a href="x200_external.html">x200_external.html</a>, + <a href="r400_external.html">r400_external.html</a>, + <a href="t400_external.html">t400_external.html</a> or + <a href="t500_external.html">t500_external.html</a>. <b>These machines contain the hard coded MAC address for the onboard ethernet chipset, directly inside the SPI flash; <a href="../hcl/gm45_remove_me.html#ich9gen">ich9gen</a> shows how to change it (the default libreboot ROM images for these machines contain a generic MAC address).</b> </p> <p> - X200/R400/T400 users should also note, that it is possible for the user to write-protect whole regions + X200/R400/T400/T500 users should also note, that it is possible for the user to write-protect whole regions of the SPI flash by using a modified descriptor. Locked regions must be flashed externally; - see <a href="x200_external.html">x200_external.html</a>, <a href="r400_external.html">r400_external.html</a> - or <a href="t400_external.html">t400_external.html</a>. + see <a href="x200_external.html">x200_external.html</a>, <a href="r400_external.html">r400_external.html</a>, + <a href="t400_external.html">t400_external.html</a> or <a href="t500_external.html">t500_external.html</a>. <b>Libreboot unlocks all regions, by default.</b> </p> <div class="important"> diff --git a/docs/install/r400_external.html b/docs/install/r400_external.html index a09451f..865de39 100644 --- a/docs/install/r400_external.html +++ b/docs/install/r400_external.html @@ -444,6 +444,20 @@ Verifying flash... VERIFIED. </div> + <div class="section"> + + <h1 id="wwan">WWAN</h1> + <p> + If you have a WWAN/3G card and/or sim card reader, remove them permanently. + The WWAN-3G card has DMA, and proprietary firmware inside; the technology is + identical to what is used in mobile phones, so it can also track your movements. + </p> + <p> + Not to be confused with wifi (wifi is fine). + </p> + + </div> + <div class="section photos"> <h1 id="memory">Memory</h1> diff --git a/docs/install/t400_external.html b/docs/install/t400_external.html index 44cf641..8013cd2 100644 --- a/docs/install/t400_external.html +++ b/docs/install/t400_external.html @@ -423,6 +423,20 @@ Verifying flash... VERIFIED. </div> + <div class="section"> + + <h1 id="wwan">WWAN</h1> + <p> + If you have a WWAN/3G card and/or sim card reader, remove them permanently. + The WWAN-3G card has DMA, and proprietary firmware inside; the technology is + identical to what is used in mobile phones, so it can also track your movements. + </p> + <p> + Not to be confused with wifi (wifi is fine). + </p> + + </div> + <div class="section photos"> <h1 id="memory">Memory</h1> diff --git a/docs/install/t500_external.html b/docs/install/t500_external.html new file mode 100644 index 0000000..ff95517 --- /dev/null +++ b/docs/install/t500_external.html @@ -0,0 +1,508 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <style type="text/css"> + @import url('../css/main.css'); + </style> + + <title>ThinkPad T500: flashing tutorial (BeagleBone Black)</title> +</head> + +<body> + + <div class="section"> + <h1 id="pagetop">Flashing the T500 with a BeagleBone Black</h1> + + <p>Initial flashing instructions for T500.</p> + <p> + This guide is for those who want libreboot on their ThinkPad T500 + while they still have the original Lenovo BIOS present. This guide + can also be followed (adapted) if you brick your T500, to know how + to recover. + </p> + + <p><a href="index.html">Back to main index</a></p> + </div> + + <div class="section" id="cpu_compatibility"> + + <h1>A note about CPUs</h1> + <p> + <a href="http://www.thinkwiki.org/wiki/Category:T500">ThinkWiki</a> has a list of CPUs + for this system. The Core 2 Duo P8400, P8600 and P8700 are believed to work in libreboot. + <b>The T9400, T9500, T9550 and T9600 are untested!</b> + </p> + + </div> + + <div class="section" id="switchable_graphics"> + + <h1>A note about GPUs</h1> + + <p> + This guide currently assumes that you have an Intel GPU (non-switchable). + Some T500 have switchable graphics (ATI), which means that you can choose between ATI or Intel + in the <i>BIOS setup</i>. When switching to Intel, is lenovobios not enabling ATI + (where ATI is disabled by default and the system uses the Intel chip), or are they + disabling it (where the system uses the ATI chip by default)? + </p> + + <p> + Basically, switchable graphics is untested, but it should be easy to get it working + (if it doesn't already work). + </p> + + <h1>CPU paste required</h1> + + <p> + See <a href="#paste">#paste</a>. + </p> + + </div> + + <div class="section"> + + <h1 id="flashchips">Flash chips</h1> + + <p> + The T500 will use an 8MiB or 64Mb SOIC-16 chip (rare models + will use a 4MiB or 32Mb SOIC-8 chip). + </p> + + <p> + <a href="#pagetop">Back to top of page.</a> + </p> + + </div> + + <div class="section photos"> + + <h1 id="macaddress">MAC address</h1> + + <p> + On the T500, the MAC address for the onboard + gigabit ethernet chipset is stored inside the flash chip, + along with other configuration data. + </p> + <p> + Keep a note of the MAC address before disassembly; this is + very important, because you will need to insert this into + the libreboot ROM image before flashing it. + It will be written in one of these locations: + </p> + + <p> + <img src="images/t400/macaddress0.jpg" alt="" /> + <img src="images/t400/macaddress1.jpg" alt="" /> + <img src="images/x200/disassembly/0001.jpg" alt="" /> + </p> + + </div> + + <div class="section photos"> + + <h1>Initial BBB configuration</h1> + + <p> + Refer to <a href="bbb_setup.html">bbb_setup.html</a> for how to + configure the BBB for flashing. + </p> + + <p> + The following shows how to connect clip to the BBB (on the P9 header), for SOIC-16 (clip: Pomona 5252): + </p> +<pre> +POMONA 5252 (correlate with the BBB guide) +=== ethernet jack and VGA port ==== + NC - - 21 + 1 - - 17 + NC - - NC + NC - - NC + NC - - NC + NC - - NC + 18 - - 3.3V PSU RED + 22 - - NC - this is pin 1 on the flash chip +=== SATA port === +<i>This is how you will connect. Numbers refer to pin numbers on the BBB, on the plugs near the DC jack.</i><br/> +<img src="images/t400/0065.jpg" alt="" /> +</pre> + <p> + The following shows how to connect clip to the BBB (on the P9 header), for SOIC-8 (clip: Pomona 5250): + </p> +<pre> +POMONA 5250 (correlate with the BBB guide) +=== RAM slots ==== + 18 - - 1 + 22 - - NC + NC - - 21 + 3.3V PSU RED - - 17 - this is pin 1 on the flash chip +=== slot where the AC jack is connected ===<br/> +<img src="images/t500/0060.jpg" alt="" /> +</pre> + + <h2> + The procedure + </h2> + + <p> + Remove all screws:<br/> + <img src="images/t500/0000.jpg" alt="" /><br/> + It is also advisable to, throughout the disassembly, + place any screws and/or components that you removed in + the same layout or arrangement. The follow photos demonstrate + this:<br/> + <img src="images/t500/0001.jpg" alt="" /> + <img src="images/t500/0002.jpg" alt="" /> + </p> + <p> + Remove the HDD/SSD and optical drive:<br/> + <img src="images/t500/0003.jpg" alt="" /> + <img src="images/t500/0004.jpg" alt="" /> + </p> + <p> + Remove the palm rest:<br/> + <img src="images/t500/0005.jpg" alt="" /> + <img src="images/t500/0006.jpg" alt="" /> + </p> + <p> + Remove the keyboard and rear bezel:<br/> + <img src="images/t500/0007.jpg" alt="" /> + <img src="images/t500/0008.jpg" alt="" /> + <img src="images/t500/0009.jpg" alt="" /> + <img src="images/t500/0010.jpg" alt="" /> + <img src="images/t500/0011.jpg" alt="" /> + <img src="images/t500/0012.jpg" alt="" /> + </p> + <p> + If you have a WWAN/3G card and/or sim card reader, + remove them permanently. The WWAN-3G card has DMA, and + proprietary firmware inside; the technology is identical + to what is used in mobile phones, so it can also track + your movements:<br/> + <img src="images/t500/0013.jpg" alt="" /> + <img src="images/t500/0017.jpg" alt="" /> + <img src="images/t500/0018.jpg" alt="" /> + </p> + <p> + Remove this frame, and then remove the wifi chip:<br/> + <img src="images/t500/0014.jpg" alt="" /> + <img src="images/t500/0015.jpg" alt="" /> + <img src="images/t500/0016.jpg" alt="" /> + </p> + <p> + Remove the speakers:<br/> + <img src="images/t500/0019.jpg" alt="" /> + <img src="images/t500/0020.jpg" alt="" /> + <img src="images/t500/0021.jpg" alt="" /> + <img src="images/t500/0022.jpg" alt="" /> + <img src="images/t500/0023.jpg" alt="" /> + <img src="images/t500/0024.jpg" alt="" /> + <img src="images/t500/0025.jpg" alt="" /> + </p> + <p> + Remove the NVRAM battery (already removed in this photo):<br/> + <img src="images/t500/0026.jpg" alt="" /> + </p> + <p> + When you re-assemble, you will be replacing the wifi chip + with another. These two screws don't hold anything together, + but they are included in your machine because the screw + holes for half-height cards are a different size, so + use these if you will be installing a half-height card:<br/> + <img src="images/t500/0027.jpg" alt="" /> + </p> + <p> + Unroute the antenna wires:<br/> + <img src="images/t500/0028.jpg" alt="" /> + <img src="images/t500/0029.jpg" alt="" /> + <img src="images/t500/0030.jpg" alt="" /> + <img src="images/t500/0031.jpg" alt="" /> + </p> + <p> + Disconnect the LCD cable from the motherboard:<br/> + <img src="images/t500/0032.jpg" alt="" /> + <img src="images/t500/0033.jpg" alt="" /> + </p> + <p> + Remove the LCD assembly hinge screws, and then remove the LCD + assembly:<br/> + <img src="images/t500/0034.jpg" alt="" /> + <img src="images/t500/0035.jpg" alt="" /> + <img src="images/t500/0036.jpg" alt="" /> + </p> + <p> + Remove the fan and heatsink:<br/> + <img src="images/t500/0037.jpg" alt="" /> + <img src="images/t500/0038.jpg" alt="" /> + <img src="images/t500/0039.jpg" alt="" /> + </p> + <p> + Remove this screw:<br/> + <img src="images/t500/0040.jpg" alt="" /> + </p> + <p> + Remove these cables, keeping note of how and in what + arrangement they are connected:<br/> + <img src="images/t500/0041.jpg" alt="" /> + <img src="images/t500/0042.jpg" alt="" /> + <img src="images/t500/0043.jpg" alt="" /> + <img src="images/t500/0044.jpg" alt="" /> + <img src="images/t500/0045.jpg" alt="" /> + <img src="images/t500/0046.jpg" alt="" /> + <img src="images/t500/0047.jpg" alt="" /> + <img src="images/t500/0048.jpg" alt="" /> + <img src="images/t500/0049.jpg" alt="" /> + </p> + <p> + Disconnect the power jack:<br/> + <img src="images/t500/0050.jpg" alt="" /> + <img src="images/t500/0051.jpg" alt="" /> + </p> + <p> + Remove the motherboard and cage from the base + (the marked hole is where those cables were routed through):<br/> + <img src="images/t500/0052.jpg" alt="" /> + <img src="images/t500/0053.jpg" alt="" /> + </p> + <p> + Remove all screws, arranging them in the same layout + when placing the screws on a surface and marking each screw + hole (this is to reduce the possibility of putting them + back in the wrong holes):<br/> + <img src="images/t500/0054.jpg" alt="" /> + <img src="images/t500/0055.jpg" alt="" /> + </p> + <p> + Also remove this:<br/> + <img src="images/t500/0056.jpg" alt="" /> + <img src="images/t500/0057.jpg" alt="" /> + </p> + <p> + Separate the motherboard from the cage:<br/> + <img src="images/t500/0058.jpg" alt="" /> + <img src="images/t500/0059.jpg" alt="" /> + </p> + <p> + The flash chip is next to the memory slots. On this + machine, it was a SOIC-8 (4MiB or 32Mb) flash chip:<br/> + <img src="images/t500/0060.jpg" alt="" /> + </p> + <p> + Connect your programmer, then connect GND and 3.3V<br/> + <img src="images/t500/0061.jpg" alt="" /><br/> + <img src="images/t400/0067.jpg" alt="" /> + <img src="images/t400/0069.jpg" alt="" /> + <img src="images/t400/0070.jpg" alt="" /> + <img src="images/t400/0071.jpg" alt="" /> + </p> + <p> + A dedicated 3.3V PSU was used to create this guide, but + at ATX PSU is also fine:<br/> + <img src="images/t400/0072.jpg" alt="" /> + </p> + + <p> + Of course, make sure to turn on your PSU:<br/> + <img src="images/x200/disassembly/0013.jpg" alt="" /> + </p> + + <p> + Now, you should be ready to install libreboot. + </p> + + <p> + Flashrom binaries for ARM (tested on a BBB) are distributed in libreboot_util. Alternatively, + libreboot also distributes flashrom source code which can be built. + </p> + <p> + Log in as root on your BBB, using the instructions in <a href="bbb_setup.html#bbb_access">bbb_setup.html#bbb_access</a>. + </p> + <p> + Test that flashrom works:<br/> + # <b>./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=512</b><br/> + In this case, the output was: + </p> +<pre> +flashrom v0.9.7-r1854 on Linux 3.8.13-bone47 (armv7l) +flashrom is free software, get the source code at http://www.flashrom.org +Calibrating delay loop... OK. +Found Macronix flash chip "MX25L6405(D)" (8192 kB, SPI) on linux_spi. +Found Macronix flash chip "MX25L6406E/MX25L6436E" (8192 kB, SPI) on linux_spi. +Found Macronix flash chip "MX25L6445E/MX25L6473E" (8192 kB, SPI) on linux_spi. +Multiple flash chip definitions match the detected chip(s): "MX25L6405(D)", "MX25L6406E/MX25L6436E", "MX25L6445E/MX25L6473E" +Please specify which chip definition to use with the -c <chipname> option. +</pre> + <p> + How to backup factory.rom (change the -c option as neeed, for your flash chip):<br/> + # <b>./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=512 -r factory.rom</b><br/> + # <b>./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=512 -r factory1.rom</b><br/> + # <b>./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=512 -r factory2.rom</b><br/> + Note: the <b>-c</b> option is not required in libreboot's patched flashrom, because + the redundant flash chip definitions in <i>flashchips.c</i> have been removed.<br/> + Now compare the 3 images:<br/> + # <b>sha512sum factory*.rom</b><br/> + If the hashes match, then just copy one of them (the factory.rom) to a safe place (on a drive connected to another machine, not + the BBB). This is useful for reverse engineering work, if there is a desirable behaviour in the original firmware + that could be replicated in coreboot and libreboot. + </p> + <p> + Follow the instructions at <a href="../hcl/gm45_remove_me.html#ich9gen">../hcl/gm45_remove_me.html#ich9gen</a> + to change the MAC address inside the libreboot ROM image, before flashing it. + Although there is a default MAC address inside the ROM image, this is not what you want. <b>Make sure + to always change the MAC address to one that is correct for your system.</b> + </p> + <p> + Now flash it:<br/> + # <b>./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=512 -w path/to/libreboot/rom/image.rom -V</b> + </p> + <p> + <img src="images/x200/disassembly/0015.jpg" alt="" /> + </p> + <p> + You might see errors, but if it says <b>Verifying flash... VERIFIED</b> at the end, then it's flashed and should boot. + If you see errors, try again (and again, and again); the message <b>Chip content is identical to the requested image</b> + is also an indication of a successful installation. + </p> + <p> + Example output from running the command (see above): + </p> +<pre> +flashrom v0.9.7-r1854 on Linux 3.8.13-bone47 (armv7l) +flashrom is free software, get the source code at http://www.flashrom.org +Calibrating delay loop... OK. +Found Macronix flash chip "MX25L6405(D)" (8192 kB, SPI) on linux_spi. +Reading old flash chip contents... done. +Erasing and writing flash chip... FAILED at 0x00001000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x0000ffff: 0xd716 +ERASE FAILED! +Reading current flash chip contents... done. Looking for another erase function. +Erase/write done. +Verifying flash... VERIFIED. +</pre> + + <p> + <a href="#pagetop">Back to top of page.</a> + </p> + + </div> + + <div class="section photos" id="paste"> + + <h1>Thermal paste (IMPORTANT)</h1> + + <p> + Because part of this procedure involved removing the heatsink, you will need to apply new paste. + Arctic Silver 5 is ok. You will also need isopropyl alcohol and an anti-static cloth to clean with. + </p> + + <p> + When re-installing the heatsink, you must first clean off all old paste with the alcohol/cloth. + Then apply new paste. AS5 is also much better than the default paste used on these machines. + </p> + + <p> + <img src="images/t400/paste.jpg" alt="" /> + </p> + + </div> + + <div class="section"> + + <h1 id="wifi">Wifi</h1> + + <p> + The T500 typically comes with an Intel wifi chipset, which does not + work without proprietary software. For a list of wifi chipsets that + work without proprietary software, see + <a href="../hcl/index.html#recommended_wifi">../hcl/index.html#recommended_wifi</a>. + </p> + + <p> + Some T500 laptops might come with an Atheros chipset, but this is 802.11g only. + </p> + + <p> + It is recommended that you install a new wifi chipset. This can only + be done after installing libreboot, because the original firmware has + a whitelist of approved chips, and it will refuse to boot if you + use an 'unauthorized' wifi card. + </p> + + <p> + The following photos show an Atheros AR5B95 being installed, to + replace the Intel chip that this T500 came with:<br/> + <img src="images/t400/0012.jpg" alt="" /> + <img src="images/t400/ar5b95.jpg" alt="" /> + </p> + + </div> + + <div class="section"> + + <h1 id="wwan">WWAN</h1> + <p> + If you have a WWAN/3G card and/or sim card reader, remove them permanently. + The WWAN-3G card has DMA, and proprietary firmware inside; the technology is + identical to what is used in mobile phones, so it can also track your movements. + </p> + <p> + Not to be confused with wifi (wifi is fine). + </p> + + </div> + + <div class="section photos"> + + <h1 id="memory">Memory</h1> + + <p> + You need DDR3 SODIMM PC3-8500 RAM installed, in matching pairs + (speed/size). Non-matching pairs won't work. You can also install a + single module (meaning, one of the slots will be empty) in slot 0. + </p> + + <p> + The following photo shows 8GiB (2x4GiB) of RAM installed:<br/> + <img src="images/t400/memory.jpg" alt="" /> + </p> + + </div> + + <div class="section photos"> + + <h2> + Boot it! + </h2> + <p> + You should see something like this: + </p> + <p> + <img src="images/t500/0062.jpg" alt="" /> + </p> + + <p> + Now <a href="../gnulinux/index.html">install GNU/Linux</a>. + </p> + + </div> + + <div class="section"> + + <p> + Copyright © 2015 Francis Rowe <info@gluglug.org.uk><br/> + This document is released under the Creative Commons Attribution-ShareAlike 4.0 International Public License and all future versions. + A copy of the license can be found at <a href="../license.txt">../license.txt</a>. + </p> + + <p> + This document is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See <a href="../license.txt">../license.txt</a> for more information. + </p> + + </div> + +</body> +</html> diff --git a/docs/install/x200_external.html b/docs/install/x200_external.html index d7c6a94..16f4a8e 100644 --- a/docs/install/x200_external.html +++ b/docs/install/x200_external.html @@ -297,6 +297,20 @@ Verifying flash... VERIFIED. <div class="section"> + <h1 id="wwan">WWAN</h1> + <p> + If you have a WWAN/3G card and/or sim card reader, remove them permanently. + The WWAN-3G card has DMA, and proprietary firmware inside; the technology is + identical to what is used in mobile phones, so it can also track your movements. + </p> + <p> + Not to be confused with wifi (wifi is fine). + </p> + + </div> + + <div class="section"> + <h1 id="memory">Memory</h1> <p> diff --git a/docs/release.html b/docs/release.html index f5e11e5..fbeb1d5 100644 --- a/docs/release.html +++ b/docs/release.html @@ -50,7 +50,7 @@ <h2>Machines supported in this release:</h2> <ul> <li> - <b>Lenovo ThinkPad X60/X60s</b> + <b>ThinkPad X60/X60s</b> <ul> <li> You can also remove the motherboard from an X61/X61s and replace it with an X60/X60s motherboard. @@ -59,14 +59,14 @@ </ul> </li> <li> - <b>Lenovo ThinkPad X60 Tablet</b> (1024x768 and 1400x1050) with digitizer support + <b>ThinkPad X60 Tablet</b> (1024x768 and 1400x1050) with digitizer support <ul> <li>See <a href="hcl/index.html#supported_x60t_list">hcl/index.html#supported_x60t_list</a> for list of supported LCD panels</li> <li>It is unknown whether an X61 Tablet can have it's mainboard replaced with an X60 Tablet motherboard.</li> </ul> </li> <li> - <b>Lenovo ThinkPad T60</b> (Intel GPU) (there are issues; see below): + <b>ThinkPad T60</b> (Intel GPU) (there are issues; see below): <ul> <li>See notes below for exceptions, and <a href="hcl/index.html#supported_t60_list">hcl/index.html#supported_t60_list</a> for known working LCD panels.</li> <li>It is unknown whether a T61 can have it's mainboard replaced with a T60 motherboard.</li> @@ -75,27 +75,34 @@ </ul> </li> <li> - <b>Lenovo ThinkPad X200</b> + <b>ThinkPad X200</b> <ul> <li>X200S and X200 Tablet are also supported, conditionally; see <a href="hcl/x200.html#x200s">hcl/x200.html#x200s</a></li> <li><b>ME/AMT</b>: libreboot removes this, permanently. <a href="hcl/gm45_remove_me.html">hcl/gm45_remove_me.html</a></li> </ul> </li> <li> - <b>Lenovo ThinkPad R400</b> + <b>ThinkPad R400</b> <ul> <li>See <a href="hcl/r400.html">hcl/r400.html</a></li> <li><b>ME/AMT</b>: libreboot removes this, permanently. <a href="hcl/gm45_remove_me.html">hcl/gm45_remove_me.html</a></li> </ul> </li> <li> - <b>Lenovo ThinkPad T400</b> + <b>ThinkPad T400</b> <ul> <li>See <a href="hcl/t400.html">hcl/t400.html</a></li> <li><b>ME/AMT</b>: libreboot removes this, permanently. <a href="hcl/gm45_remove_me.html">hcl/gm45_remove_me.html</a></li> </ul> </li> <li> + <b>ThinkPad T500</b> + <ul> + <li>See <a href="hcl/t500.html">hcl/t500.html</a></li> + <li><b>ME/AMT</b>: libreboot removes this, permanently. <a href="hcl/gm45_remove_me.html">hcl/gm45_remove_me.html</a></li> + </ul> + </li> + <li> <b>Apple MacBook1,1</b> (MA255LL/A, MA254LL/A, MA472LL/A) <ul> <li>See <a href="hcl/index.html#macbook11">hcl/index.html#macbook11</a>.</li> @@ -148,9 +155,6 @@ </ul> </li> <li> - ThinkPad T500: <a href="http://projects.mtjm.eu/work_packages/42">http://projects.mtjm.eu/work_packages/42</a> - </li> - <li> ThinkPad R500: <a href="http://projects.mtjm.eu/work_packages/43">http://projects.mtjm.eu/work_packages/43</a> </li> <li> @@ -206,20 +210,27 @@ <h3>Platform-specific bugs</h3> <ul> <li> - Fix these issues on GM45/GS45 targets: + <b><u><i>HIGH PRIORITY!</i></u></b> Fix these issues on GM45/GS45 targets: <ul> <li> X200: text-mode is broken. only framebuffer graphics work. Commit bde6d309dfafe58732ec46314a2d4c08974b62d4 in coreboot is what broke it. Investigate. </li> + <li> + Sound (internal speaker) worked on the T500, but stopped after all subsequent boots. + (might just be this machine). investigate. (external speaker works) + </li> </ul> </li> <li> + <b>Finish all work listed in <a href="future/index.html">future/index.html</a></b> + </li> + <li> Fix these issues on i945 targets (X60/T60/macbook21) <ul> <li> - HIGH PRIORITY! <b>i945: Linux 3.19 doesn't boot. (probably affects T60/macbook21). + <b><u><i>HIGH PRIORITY!</i></u></b> <b>i945: Linux 3.19 doesn't boot. (probably affects T60/macbook21). <a href="https://bugzilla.kernel.org/show_bug.cgi?id=93171">Preliminary bug report (kernel, linux)</a> pstuge said <a href="http://biosbits.org/">http://biosbits.org/</a> patricg says https://wiki.ubuntu.com/HardwareEnablementTeam/Documentation/FirmwareTestSuiteLive</b> @@ -277,6 +288,8 @@ <h3>Build system</h3> <ul> + <li><b><u><i>HIGH PRIORITY!</i></u></b> <b>Make memtest86+ build using coreboot's own crossgcc toolchain. Currently, + memtest86+ doesn't even work at all when cross-compiled using the toolchain in x86-64 trisquel7</b></li> <li> Make libreboot (all of it!) build reproducibly. This is very important. See <a href="http://projects.mtjm.eu/work_packages/16">http://projects.mtjm.eu/work_packages/16</a>. @@ -291,8 +304,6 @@ </li> </ul> </li> - <li>HIGH PRIORITY! <b>Make memtest86+ build using coreboot's own crossgcc toolchain. Currently, - memtest86+ doesn't even work at all when cross-compiled using the toolchain in x86-64 trisquel7</b></li> <li>Make GRUB build using coreboot's own crossgcc toolchain</li> <li> Delete all parts of coreboot that libreboot doesn't use. @@ -332,18 +343,7 @@ <h3>Documentation improvements</h3> <ul> <li> - Convert documentation to Sphinx/ReST - See <a href="http://projects.mtjm.eu/work_packages/5">http://projects.mtjm.eu/work_packages/5</a> - and <a href="http://projects.mtjm.eu/work_packages/12">http://projects.mtjm.eu/work_packages/12</a> - </li> - <li> - <b> - Maintainence manual. How to contribute to libreboot. - See <a href="http://projects.mtjm.eu/work_packages/11">http://projects.mtjm.eu/work_packages/11</a> - </b> - </li> - <li> - HIGH PRIORITY! <b>Add information from hw registers on all boards. See + <b><u><i>HIGH PRIORITY!</i></u></b> <b>Add information from hw registers on all boards. See <a href="http://projects.mtjm.eu/work_packages/15">http://projects.mtjm.eu/work_packages/15</a></b> <ul> <li>We currently have them for X200 (4MiB flash chip), T400 but not complete</li> @@ -353,15 +353,32 @@ <li>X60</li> <li>T60</li> <li>macbook21</li> - <li>X200 with 8MiB flash chip</li> - <li>R400 with 4MiB flash chip</li> - <li>R400 with 8MiB flash chip</li> + <li>X200 (make sure to have it for both flash chip sizes)</li> + <li>R400 (make sure to have it for both flash chip sizes)</li> <li>T400 (make sure to have it for both flash chip sizes)</li> + <li>T500 (make sure to have it for both flash chip sizes)</li> </ul> </li> </ul> </li> <li> + Add guides for GM45 laptops in docs/security/ + </li> + <li> + Add guides for GM45 laptops in docs/hardware/ + </li> + <li> + Convert documentation to Sphinx/ReST + See <a href="http://projects.mtjm.eu/work_packages/5">http://projects.mtjm.eu/work_packages/5</a> + and <a href="http://projects.mtjm.eu/work_packages/12">http://projects.mtjm.eu/work_packages/12</a> + </li> + <li> + <b> + Maintainence manual. How to contribute to libreboot. + See <a href="http://projects.mtjm.eu/work_packages/11">http://projects.mtjm.eu/work_packages/11</a> + </b> + </li> + <li> Add cubieboard SPI flashing instructions to libreboot. <a href="https://github.com/mrnuke/coreboot/commits/cubie_mmc?author=mrnuke">mrnuke's github page with patches</a>. mrnuke in IRC knows about the cubieboard @@ -386,7 +403,7 @@ <h3>Project (institutional) improvements</h3> <ul> <li> - HIGH PRIORITY! <b>Libreboot needs to be factory firmware, not the replacement. It needs to be *the* firmware. + <b><u><i>HIGH PRIORITY!</i></u></b> <b>Libreboot needs to be factory firmware, not the replacement. It needs to be *the* firmware. Consult with the openlunchbox project (and maybe others) on getting hardware manufactured with libreboot support (out of the box, from the factory).</b> </li> diff --git a/resources/libreboot/config/r400_4mb/config b/resources/libreboot/config/r400_4mb/config index 9cf6426..3537c0d 100644 --- a/resources/libreboot/config/r400_4mb/config +++ b/resources/libreboot/config/r400_4mb/config @@ -127,6 +127,7 @@ CONFIG_POST_DEVICE=y # CONFIG_BOARD_LENOVO_T400 is not set # CONFIG_BOARD_LENOVO_T420S is not set # CONFIG_BOARD_LENOVO_T430S is not set +# CONFIG_BOARD_LENOVO_T500 is not set # CONFIG_BOARD_LENOVO_T520 is not set # CONFIG_BOARD_LENOVO_T530 is not set # CONFIG_BOARD_LENOVO_T60 is not set diff --git a/resources/libreboot/config/r400_8mb/config b/resources/libreboot/config/r400_8mb/config index d4e0ac5..a019f6d 100644 --- a/resources/libreboot/config/r400_8mb/config +++ b/resources/libreboot/config/r400_8mb/config @@ -127,6 +127,7 @@ CONFIG_POST_DEVICE=y # CONFIG_BOARD_LENOVO_T400 is not set # CONFIG_BOARD_LENOVO_T420S is not set # CONFIG_BOARD_LENOVO_T430S is not set +# CONFIG_BOARD_LENOVO_T500 is not set # CONFIG_BOARD_LENOVO_T520 is not set # CONFIG_BOARD_LENOVO_T530 is not set # CONFIG_BOARD_LENOVO_T60 is not set diff --git a/resources/libreboot/config/t400_4mb/config b/resources/libreboot/config/t400_4mb/config index 9bc70b4..678bea2 100644 --- a/resources/libreboot/config/t400_4mb/config +++ b/resources/libreboot/config/t400_4mb/config @@ -127,6 +127,7 @@ CONFIG_POST_DEVICE=y CONFIG_BOARD_LENOVO_T400=y # CONFIG_BOARD_LENOVO_T420S is not set # CONFIG_BOARD_LENOVO_T430S is not set +# CONFIG_BOARD_LENOVO_T500 is not set # CONFIG_BOARD_LENOVO_T520 is not set # CONFIG_BOARD_LENOVO_T530 is not set # CONFIG_BOARD_LENOVO_T60 is not set diff --git a/resources/libreboot/config/t400_8mb/config b/resources/libreboot/config/t400_8mb/config index dcd3266..d89ad9b 100644 --- a/resources/libreboot/config/t400_8mb/config +++ b/resources/libreboot/config/t400_8mb/config @@ -127,6 +127,7 @@ CONFIG_POST_DEVICE=y CONFIG_BOARD_LENOVO_T400=y # CONFIG_BOARD_LENOVO_T420S is not set # CONFIG_BOARD_LENOVO_T430S is not set +# CONFIG_BOARD_LENOVO_T500 is not set # CONFIG_BOARD_LENOVO_T520 is not set # CONFIG_BOARD_LENOVO_T530 is not set # CONFIG_BOARD_LENOVO_T60 is not set diff --git a/resources/libreboot/config/t500_4mb/config b/resources/libreboot/config/t500_4mb/config new file mode 100644 index 0000000..a488c87 --- /dev/null +++ b/resources/libreboot/config/t500_4mb/config @@ -0,0 +1,477 @@ +# +# Automatically generated file; DO NOT EDIT. +# coreboot configuration +# + +# +# General setup +# +CONFIG_EXPERT=y +CONFIG_LOCALVERSION="" +CONFIG_CBFS_PREFIX="fallback" +CONFIG_COMPILER_GCC=y +# CONFIG_COMPILER_LLVM_CLANG is not set +# CONFIG_ANY_TOOLCHAIN is not set +# CONFIG_CCACHE is not set +# CONFIG_SCONFIG_GENPARSER is not set +# CONFIG_USE_OPTION_TABLE is not set +CONFIG_COMPRESS_RAMSTAGE=y +CONFIG_INCLUDE_CONFIG_FILE=y +CONFIG_EARLY_CBMEM_INIT=y +# CONFIG_COLLECT_TIMESTAMPS is not set +# CONFIG_USE_BLOBS is not set +# CONFIG_COVERAGE is not set +# CONFIG_RELOCATABLE_MODULES is not set +CONFIG_BOOTBLOCK_SIMPLE=y +# CONFIG_BOOTBLOCK_NORMAL is not set +CONFIG_BOOTBLOCK_SOURCE="bootblock_simple.c" +# CONFIG_UPDATE_IMAGE is not set + +# +# Mainboard +# +# CONFIG_VENDOR_AAEON is not set +# CONFIG_VENDOR_ABIT is not set +# CONFIG_VENDOR_ADLINK is not set +# CONFIG_VENDOR_ADVANSUS is not set +# CONFIG_VENDOR_AMD is not set +# CONFIG_VENDOR_AOPEN is not set +# CONFIG_VENDOR_APPLE is not set +# CONFIG_VENDOR_ARIMA is not set +# CONFIG_VENDOR_ARTECGROUP is not set +# CONFIG_VENDOR_ASROCK is not set +# CONFIG_VENDOR_ASUS is not set +# CONFIG_VENDOR_A_TREND is not set +# CONFIG_VENDOR_AVALUE is not set +# CONFIG_VENDOR_AZZA is not set +# CONFIG_VENDOR_BACHMANN is not set +# CONFIG_VENDOR_BCOM is not set +# CONFIG_VENDOR_BIFFEROS is not set +# CONFIG_VENDOR_BIOSTAR is not set +# CONFIG_VENDOR_BROADCOM is not set +# CONFIG_VENDOR_COMPAQ is not set +# CONFIG_VENDOR_CUBIETECH is not set +# CONFIG_VENDOR_DIGITALLOGIC is not set +# CONFIG_VENDOR_DMP is not set +# CONFIG_VENDOR_ECS is not set +# CONFIG_VENDOR_EMULATION is not set +# CONFIG_VENDOR_GETAC is not set +# CONFIG_VENDOR_GIGABYTE is not set +# CONFIG_VENDOR_GIZMOSPHERE is not set +# CONFIG_VENDOR_GOOGLE is not set +# CONFIG_VENDOR_HP is not set +# CONFIG_VENDOR_IBASE is not set +# CONFIG_VENDOR_IBM is not set +# CONFIG_VENDOR_IEI is not set +# CONFIG_VENDOR_INTEL is not set +# CONFIG_VENDOR_IWAVE is not set +# CONFIG_VENDOR_IWILL is not set +# CONFIG_VENDOR_JETWAY is not set +# CONFIG_VENDOR_KONTRON is not set +# CONFIG_VENDOR_LANNER is not set +CONFIG_VENDOR_LENOVO=y +# CONFIG_VENDOR_LINUTOP is not set +# CONFIG_VENDOR_LIPPERT is not set +# CONFIG_VENDOR_MITAC is not set +# CONFIG_VENDOR_MSI is not set +# CONFIG_VENDOR_NEC is not set +# CONFIG_VENDOR_NEWISYS is not set +# CONFIG_VENDOR_NOKIA is not set +# CONFIG_VENDOR_NVIDIA is not set +# CONFIG_VENDOR_PACKARDBELL is not set +# CONFIG_VENDOR_PCENGINES is not set +# CONFIG_VENDOR_RCA is not set +# CONFIG_VENDOR_RODA is not set +# CONFIG_VENDOR_SAMSUNG is not set +# CONFIG_VENDOR_SIEMENS is not set +# CONFIG_VENDOR_SOYO is not set +# CONFIG_VENDOR_SUNW is not set +# CONFIG_VENDOR_SUPERMICRO is not set +# CONFIG_VENDOR_TECHNEXION is not set +# CONFIG_VENDOR_TI is not set +# CONFIG_VENDOR_THOMSON is not set +# CONFIG_VENDOR_TRAVERSE is not set +# CONFIG_VENDOR_TYAN is not set +# CONFIG_VENDOR_VIA is not set +# CONFIG_VENDOR_WINENT is not set +# CONFIG_VENDOR_WYSE is not set +CONFIG_BOARD_SPECIFIC_OPTIONS=y +CONFIG_MAINBOARD_DIR="lenovo/x200" +CONFIG_MAINBOARD_PART_NUMBER="ThinkPad T500" +CONFIG_MAINBOARD_VENDOR="LENOVO" +CONFIG_MAX_CPUS=2 +CONFIG_VGA_BIOS_ID="8086,2a42" +# CONFIG_ONBOARD_VGA_IS_PRIMARY is not set +# CONFIG_VGA_BIOS is not set +CONFIG_UDELAY_IO=y +CONFIG_DCACHE_RAM_BASE=0xffaf8000 +CONFIG_DCACHE_RAM_SIZE=0x8000 +CONFIG_MMCONF_BASE_ADDRESS=0xf0000000 +CONFIG_MAINBOARD_SMBIOS_MANUFACTURER="LENOVO" +# CONFIG_PCI_64BIT_PREF_MEM is not set +CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y +CONFIG_UART_FOR_CONSOLE=0 +CONFIG_ID_SECTION_OFFSET=0x80 +CONFIG_RAMTOP=0x200000 +CONFIG_STACK_SIZE=0x1000 +CONFIG_USBDEBUG_HCD_INDEX=2 +CONFIG_CACHE_ROM_SIZE_OVERRIDE=0 +CONFIG_CBFS_SIZE=0x3FD000 +CONFIG_POST_IO=y +CONFIG_POST_DEVICE=y +# CONFIG_BOARD_LENOVO_X60 is not set +# CONFIG_BOARD_LENOVO_X200 is not set +# CONFIG_BOARD_LENOVO_X201 is not set +# CONFIG_BOARD_LENOVO_X220 is not set +# CONFIG_BOARD_LENOVO_X230 is not set +# CONFIG_BOARD_LENOVO_T400 is not set +# CONFIG_BOARD_LENOVO_T420S is not set +# CONFIG_BOARD_LENOVO_T430S is not set +CONFIG_BOARD_LENOVO_T500=y +# CONFIG_BOARD_LENOVO_T520 is not set +# CONFIG_BOARD_LENOVO_T530 is not set +# CONFIG_BOARD_LENOVO_T60 is not set +# CONFIG_BOARD_LENOVO_G505S is not set +# CONFIG_BOARD_LENOVO_R400 is not set +CONFIG_SEABIOS_PS2_TIMEOUT=0 +CONFIG_CPU_ADDR_BITS=36 +CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8 +CONFIG_USBDEBUG=y +CONFIG_MAINBOARD_VERSION="1.0" +CONFIG_DRIVERS_PS2_KEYBOARD=y +CONFIG_IOMMU=y +CONFIG_BOARD_ROMSIZE_KB_8192=y +# CONFIG_COREBOOT_ROMSIZE_KB_64 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_128 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_256 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_512 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_1024 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_2048 is not set +CONFIG_COREBOOT_ROMSIZE_KB_4096=y +# CONFIG_COREBOOT_ROMSIZE_KB_8192 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_12288 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_16384 is not set +CONFIG_COREBOOT_ROMSIZE_KB=4096 +CONFIG_ROM_SIZE=0x400000 +CONFIG_ARCH_X86=y +# CONFIG_ARCH_ARM is not set +# CONFIG_ARCH_ARM64 is not set +# CONFIG_ARCH_RISCV is not set +CONFIG_ARCH_BOOTBLOCK_X86_32=y +CONFIG_ARCH_VERSTAGE_X86_32=y +CONFIG_ARCH_ROMSTAGE_X86_32=y +CONFIG_ARCH_RAMSTAGE_X86_32=y +# CONFIG_AP_IN_SIPI_WAIT is not set +# CONFIG_SIPI_VECTOR_IN_ROM is not set +CONFIG_RAMBASE=0x100000 +CONFIG_NUM_IPI_STARTS=2 +# CONFIG_ROMCC is not set +# CONFIG_LATE_CBMEM_INIT is not set +CONFIG_PC80_SYSTEM=y +CONFIG_BOOTBLOCK_NORTHBRIDGE_INIT="northbridge/intel/gm45/bootblock.c" +CONFIG_HAVE_CMOS_DEFAULT=y +CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" +CONFIG_BOOTBLOCK_SOUTHBRIDGE_INIT="southbridge/intel/i82801ix/bootblock.c" +CONFIG_IOAPIC_INTERRUPTS_ON_FSB=y +# CONFIG_IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS is not set +CONFIG_HPET_ADDRESS=0xfed00000 +# CONFIG_ARCH_BOOTBLOCK_ARM is not set +# CONFIG_ARCH_VERSTAGE_ARM is not set +# CONFIG_ARCH_ROMSTAGE_ARM is not set +# CONFIG_ARCH_RAMSTAGE_ARM is not set +# CONFIG_ARCH_BOOTBLOCK_ARMV4 is not set +# CONFIG_ARCH_VERSTAGE_ARMV4 is not set +# CONFIG_ARCH_ROMSTAGE_ARMV4 is not set +# CONFIG_ARCH_RAMSTAGE_ARMV4 is not set +# CONFIG_ARCH_BOOTBLOCK_ARMV7 is not set +# CONFIG_ARCH_VERSTAGE_ARMV7 is not set +# CONFIG_ARCH_ROMSTAGE_ARMV7 is not set +# CONFIG_ARCH_RAMSTAGE_ARMV7 is not set +# CONFIG_ARM_BOOTBLOCK_CUSTOM is not set +# CONFIG_CPU_HAS_BOOTBLOCK_INIT is not set +# CONFIG_MAINBOARD_HAS_BOOTBLOCK_INIT is not set +# CONFIG_ARM_LPAE is not set +# CONFIG_ARCH_BOOTBLOCK_ARM64 is not set +# CONFIG_ARCH_VERSTAGE_ARM64 is not set +# CONFIG_ARCH_ROMSTAGE_ARM64 is not set +# CONFIG_ARCH_RAMSTAGE_ARM64 is not set +# CONFIG_ARCH_BOOTBLOCK_ARMV8_64 is not set +# CONFIG_ARCH_VERSTAGE_ARMV8_64 is not set +# CONFIG_ARCH_ROMSTAGE_ARMV8_64 is not set +# CONFIG_ARCH_RAMSTAGE_ARMV8_64 is not set +# CONFIG_ARCH_BOOTBLOCK_RISCV is not set +# CONFIG_ARCH_VERSTAGE_RISCV is not set +# CONFIG_ARCH_ROMSTAGE_RISCV is not set +# CONFIG_ARCH_RAMSTAGE_RISCV is not set +# CONFIG_RISCV_BOOTBLOCK_CUSTOM is not set +# CONFIG_MAINBOARD_HAS_CHROMEOS is not set +CONFIG_SYSTEM_TYPE_LAPTOP=y + +# +# Chipset +# + +# +# CPU +# +# CONFIG_CPU_ALLWINNER_A10 is not set +# CONFIG_CPU_ARMLTD_CORTEX_A9 is not set +# CONFIG_CPU_TI_AM335X is not set +CONFIG_XIP_ROM_SIZE=0x10000 +# CONFIG_CPU_AMD_AGESA is not set +# CONFIG_CPU_AMD_PI is not set +CONFIG_CPU_INTEL_MODEL_1067X=y +CONFIG_SMM_TSEG_SIZE=0 +CONFIG_CPU_INTEL_SOCKET_BGA956=y +CONFIG_SSE2=y +# CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE is not set +# CONFIG_CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED is not set +# CONFIG_PARALLEL_CPU_INIT is not set +# CONFIG_UDELAY_LAPIC is not set +# CONFIG_UDELAY_TSC is not set +# CONFIG_UDELAY_TIMER2 is not set +# CONFIG_TSC_CALIBRATE_WITH_IO is not set +# CONFIG_TSC_SYNC_LFENCE is not set +CONFIG_TSC_SYNC_MFENCE=y +CONFIG_LOGICAL_CPUS=y +# CONFIG_SMM_TSEG is not set +# CONFIG_SMM_MODULES is not set +# CONFIG_X86_AMD_FIXED_MTRRS is not set +# CONFIG_PLATFORM_USES_FSP is not set +# CONFIG_PARALLEL_MP is not set +# CONFIG_BACKUP_DEFAULT_SMM_REGION is not set +# CONFIG_MIRROR_PAYLOAD_TO_RAM_BEFORE_LOADING is not set +CONFIG_CACHE_AS_RAM=y +CONFIG_SMP=y +CONFIG_AP_SIPI_VECTOR=0xfffff000 +CONFIG_MMX=y +CONFIG_SSE=y +CONFIG_SUPPORT_CPU_UCODE_IN_CBFS=y +# CONFIG_CPU_MICROCODE_CBFS_GENERATE is not set +# CONFIG_CPU_MICROCODE_CBFS_EXTERNAL is not set +CONFIG_CPU_MICROCODE_CBFS_NONE=y + +# +# Northbridge +# +CONFIG_HEAP_SIZE=0x4000 +CONFIG_VIDEO_MB=0 +# CONFIG_NORTHBRIDGE_AMD_AGESA is not set +# CONFIG_AMD_NB_CIMX is not set +# CONFIG_NORTHBRIDGE_AMD_CIMX_RD890 is not set +# CONFIG_NORTHBRIDGE_AMD_PI is not set +CONFIG_NORTHBRIDGE_SPECIFIC_OPTIONS=y +CONFIG_NORTHBRIDGE_INTEL_GM45=y +CONFIG_HPET_MIN_TICKS=0x80 +CONFIG_MAX_PIRQ_LINKS=4 + +# +# Southbridge +# +CONFIG_EHCI_BAR=0xfef00000 +# CONFIG_AMD_SB_CIMX is not set +# CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800 is not set +# CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900 is not set +CONFIG_SOUTHBRIDGE_INTEL_COMMON=y +CONFIG_SOUTHBRIDGE_INTEL_I82801IX=y + +# +# Super I/O +# + +# +# Embedded Controllers +# +CONFIG_EC_ACPI=y +CONFIG_EC_LENOVO_H8=y +CONFIG_EC_LENOVO_PMH7=y + +# +# SoC +# +CONFIG_TTYS0_BASE=0x3f8 +# CONFIG_SOC_NVIDIA_TEGRA124 is not set +# CONFIG_SOC_NVIDIA_TEGRA132 is not set +CONFIG_CONSOLE_PRERAM_BUFFER_BASE=0x0 +# CONFIG_SOC_QC_IPQ806X is not set +# CONFIG_SOC_ROCKCHIP_RK3288 is not set +# CONFIG_CPU_SAMSUNG_EXYNOS5250 is not set +# CONFIG_CPU_SAMSUNG_EXYNOS5420 is not set +# CONFIG_SOC_UCB_RISCV is not set + +# +# Devices +# +CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y +CONFIG_NATIVE_VGA_INIT_USE_EDID=y +CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG=y +# CONFIG_VGA_ROM_RUN is not set +# CONFIG_ON_DEVICE_ROM_RUN is not set +# CONFIG_MULTIPLE_VGA_ADAPTERS is not set +# CONFIG_SPD_CACHE is not set +CONFIG_PCI=y +# CONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT is not set +CONFIG_PCIX_PLUGIN_SUPPORT=y +CONFIG_PCIEXP_PLUGIN_SUPPORT=y +CONFIG_CARDBUS_PLUGIN_SUPPORT=y +# CONFIG_AZALIA_PLUGIN_SUPPORT is not set +# CONFIG_PCIEXP_COMMON_CLOCK is not set +# CONFIG_PCIEXP_ASPM is not set +# CONFIG_PCIEXP_CLK_PM is not set +# CONFIG_EARLY_PCI_BRIDGE is not set +CONFIG_SUBSYSTEM_VENDOR_ID=0x0000 +CONFIG_SUBSYSTEM_DEVICE_ID=0x0000 +# CONFIG_PXE_ROM is not set +# CONFIG_SOFTWARE_I2C is not set + +# +# Display +# +# CONFIG_FRAMEBUFFER_KEEP_VESA_MODE is not set + +# +# Generic Drivers +# +# CONFIG_DRIVERS_AS3722_RTC is not set +CONFIG_DRIVERS_GENERIC_IOAPIC=y +# CONFIG_DRIVERS_I2C_RTD2132 is not set +CONFIG_DRIVERS_ICS_954309=y +# CONFIG_INTEL_DP is not set +# CONFIG_INTEL_DDI is not set +CONFIG_INTEL_EDID=y +CONFIG_INTEL_INT15=y +# CONFIG_DRIVER_INTEL_I210 is not set +# CONFIG_IPMI_KCS is not set +# CONFIG_DRIVERS_LENOVO_WACOM is not set +# CONFIG_DRIVER_MAXIM_MAX77686 is not set +# CONFIG_DRIVER_PARADE_PS8625 is not set +# CONFIG_LPC_TPM is not set +CONFIG_DRIVERS_MC146818=y +# CONFIG_DRIVERS_SIL_3114 is not set +# CONFIG_SPI_FLASH is not set +# CONFIG_DRIVER_TI_TPS65090 is not set +CONFIG_DRIVERS_UART=y +CONFIG_DRIVERS_UART_8250IO=y +CONFIG_NO_UART_ON_SUPERIO=y +# CONFIG_DRIVERS_UART_8250MEM is not set +# CONFIG_HAVE_UART_SPECIAL is not set +# CONFIG_DRIVERS_UART_OXPCIE is not set +# CONFIG_DRIVERS_UART_PL011 is not set +CONFIG_HAVE_USBDEBUG=y +CONFIG_HAVE_USBDEBUG_OPTIONS=y +CONFIG_USBDEBUG_IN_ROMSTAGE=y +CONFIG_USBDEBUG_DEFAULT_PORT=0 +# CONFIG_USBDEBUG_DONGLE_STD is not set +# CONFIG_USBDEBUG_DONGLE_BEAGLEBONE is not set +CONFIG_USBDEBUG_DONGLE_BEAGLEBONE_BLACK=y +CONFIG_USBDEBUG_OPTIONAL_HUB_PORT=0 +# CONFIG_DRIVER_XPOWERS_AXP209 is not set +# CONFIG_DRIVERS_RICOH_RCE822 is not set +# CONFIG_TPM is not set +CONFIG_MMCONF_SUPPORT_DEFAULT=y +CONFIG_MMCONF_SUPPORT=y +# CONFIG_BOOTMODE_STRAPS is not set + +# +# Console +# +CONFIG_SQUELCH_EARLY_SMP=y +CONFIG_CONSOLE_SERIAL=y + +# +# I/O mapped, 8250-compatible +# +CONFIG_CONSOLE_SERIAL_115200=y +# CONFIG_CONSOLE_SERIAL_57600 is not set +# CONFIG_CONSOLE_SERIAL_38400 is not set +# CONFIG_CONSOLE_SERIAL_19200 is not set +# CONFIG_CONSOLE_SERIAL_9600 is not set +CONFIG_TTYS0_BAUD=115200 +CONFIG_TTYS0_LCS=3 +# CONFIG_SPKMODEM is not set +CONFIG_CONSOLE_USB=y +# CONFIG_CONSOLE_NE2K is not set +CONFIG_CONSOLE_CBMEM=y +CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000 +CONFIG_CONSOLE_PRERAM_BUFFER_SIZE=0xc00 +CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8=y +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_7 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_6 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_5 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_4 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_3 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_2 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0 is not set +# CONFIG_NO_POST is not set +# CONFIG_CMOS_POST is not set +# CONFIG_CONSOLE_POST is not set +CONFIG_POST_DEVICE_NONE=y +# CONFIG_POST_DEVICE_LPC is not set +# CONFIG_POST_DEVICE_PCI_PCIE is not set +CONFIG_POST_IO_PORT=0x80 +CONFIG_HAVE_ACPI_RESUME=y +# CONFIG_HAVE_ACPI_SLIC is not set +CONFIG_HAVE_HARD_RESET=y +# CONFIG_HAVE_MONOTONIC_TIMER is not set +CONFIG_HAVE_OPTION_TABLE=y +# CONFIG_PIRQ_ROUTE is not set +CONFIG_HAVE_SMI_HANDLER=y +# CONFIG_PCI_IO_CFG_EXT is not set +CONFIG_IOAPIC=y +CONFIG_USE_WATCHDOG_ON_BOOT=y +CONFIG_VGA=y +# CONFIG_GFXUMA is not set +CONFIG_HAVE_ACPI_TABLES=y +CONFIG_HAVE_MP_TABLE=y +CONFIG_PER_DEVICE_ACPI_TABLES=y +# CONFIG_COMMON_FADT is not set + +# +# System tables +# +CONFIG_GENERATE_MP_TABLE=y +# CONFIG_GENERATE_PIRQ_TABLE is not set +CONFIG_GENERATE_SMBIOS_TABLES=y +CONFIG_MAINBOARD_SERIAL_NUMBER="123456789" +CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="ThinkPad X200" + +# +# Payload +# +# CONFIG_PAYLOAD_NONE is not set +CONFIG_PAYLOAD_ELF=y +# CONFIG_PAYLOAD_LINUX is not set +# CONFIG_PAYLOAD_SEABIOS is not set +# CONFIG_PAYLOAD_FILO is not set +# CONFIG_PAYLOAD_GRUB2 is not set +# CONFIG_PAYLOAD_TIANOCORE is not set +# CONFIG_SEABIOS_THREAD_OPTIONROMS is not set +# CONFIG_SEABIOS_VGA_COREBOOT is not set +CONFIG_PAYLOAD_FILE="grub.elf" +CONFIG_COMPRESSED_PAYLOAD_LZMA=y + +# +# Debugging +# +# CONFIG_GDB_STUB is not set +# CONFIG_DEBUG_CBFS is not set +CONFIG_HAVE_DEBUG_RAM_SETUP=y +# CONFIG_DEBUG_RAM_SETUP is not set +# CONFIG_HAVE_DEBUG_CAR is not set +# CONFIG_HAVE_DEBUG_SMBUS is not set +# CONFIG_DEBUG_SMI is not set +# CONFIG_DEBUG_SMM_RELOCATION is not set +# CONFIG_DEBUG_MALLOC is not set +# CONFIG_DEBUG_ACPI is not set +# CONFIG_DEBUG_USBDEBUG is not set +# CONFIG_TRACE is not set +# CONFIG_ENABLE_APIC_EXT_ID is not set +CONFIG_WARNINGS_ARE_ERRORS=y +# CONFIG_POWER_BUTTON_DEFAULT_ENABLE is not set +# CONFIG_POWER_BUTTON_DEFAULT_DISABLE is not set +# CONFIG_POWER_BUTTON_FORCE_ENABLE is not set +# CONFIG_POWER_BUTTON_FORCE_DISABLE is not set +# CONFIG_POWER_BUTTON_IS_OPTIONAL is not set +# CONFIG_REG_SCRIPT is not set +CONFIG_MAX_REBOOT_CNT=3 diff --git a/resources/libreboot/config/t500_8mb/config b/resources/libreboot/config/t500_8mb/config new file mode 100644 index 0000000..a5219e6 --- /dev/null +++ b/resources/libreboot/config/t500_8mb/config @@ -0,0 +1,477 @@ +# +# Automatically generated file; DO NOT EDIT. +# coreboot configuration +# + +# +# General setup +# +CONFIG_EXPERT=y +CONFIG_LOCALVERSION="" +CONFIG_CBFS_PREFIX="fallback" +CONFIG_COMPILER_GCC=y +# CONFIG_COMPILER_LLVM_CLANG is not set +# CONFIG_ANY_TOOLCHAIN is not set +# CONFIG_CCACHE is not set +# CONFIG_SCONFIG_GENPARSER is not set +# CONFIG_USE_OPTION_TABLE is not set +CONFIG_COMPRESS_RAMSTAGE=y +CONFIG_INCLUDE_CONFIG_FILE=y +CONFIG_EARLY_CBMEM_INIT=y +# CONFIG_COLLECT_TIMESTAMPS is not set +# CONFIG_USE_BLOBS is not set +# CONFIG_COVERAGE is not set +# CONFIG_RELOCATABLE_MODULES is not set +CONFIG_BOOTBLOCK_SIMPLE=y +# CONFIG_BOOTBLOCK_NORMAL is not set +CONFIG_BOOTBLOCK_SOURCE="bootblock_simple.c" +# CONFIG_UPDATE_IMAGE is not set + +# +# Mainboard +# +# CONFIG_VENDOR_AAEON is not set +# CONFIG_VENDOR_ABIT is not set +# CONFIG_VENDOR_ADLINK is not set +# CONFIG_VENDOR_ADVANSUS is not set +# CONFIG_VENDOR_AMD is not set +# CONFIG_VENDOR_AOPEN is not set +# CONFIG_VENDOR_APPLE is not set +# CONFIG_VENDOR_ARIMA is not set +# CONFIG_VENDOR_ARTECGROUP is not set +# CONFIG_VENDOR_ASROCK is not set +# CONFIG_VENDOR_ASUS is not set +# CONFIG_VENDOR_A_TREND is not set +# CONFIG_VENDOR_AVALUE is not set +# CONFIG_VENDOR_AZZA is not set +# CONFIG_VENDOR_BACHMANN is not set +# CONFIG_VENDOR_BCOM is not set +# CONFIG_VENDOR_BIFFEROS is not set +# CONFIG_VENDOR_BIOSTAR is not set +# CONFIG_VENDOR_BROADCOM is not set +# CONFIG_VENDOR_COMPAQ is not set +# CONFIG_VENDOR_CUBIETECH is not set +# CONFIG_VENDOR_DIGITALLOGIC is not set +# CONFIG_VENDOR_DMP is not set +# CONFIG_VENDOR_ECS is not set +# CONFIG_VENDOR_EMULATION is not set +# CONFIG_VENDOR_GETAC is not set +# CONFIG_VENDOR_GIGABYTE is not set +# CONFIG_VENDOR_GIZMOSPHERE is not set +# CONFIG_VENDOR_GOOGLE is not set +# CONFIG_VENDOR_HP is not set +# CONFIG_VENDOR_IBASE is not set +# CONFIG_VENDOR_IBM is not set +# CONFIG_VENDOR_IEI is not set +# CONFIG_VENDOR_INTEL is not set +# CONFIG_VENDOR_IWAVE is not set +# CONFIG_VENDOR_IWILL is not set +# CONFIG_VENDOR_JETWAY is not set +# CONFIG_VENDOR_KONTRON is not set +# CONFIG_VENDOR_LANNER is not set +CONFIG_VENDOR_LENOVO=y +# CONFIG_VENDOR_LINUTOP is not set +# CONFIG_VENDOR_LIPPERT is not set +# CONFIG_VENDOR_MITAC is not set +# CONFIG_VENDOR_MSI is not set +# CONFIG_VENDOR_NEC is not set +# CONFIG_VENDOR_NEWISYS is not set +# CONFIG_VENDOR_NOKIA is not set +# CONFIG_VENDOR_NVIDIA is not set +# CONFIG_VENDOR_PACKARDBELL is not set +# CONFIG_VENDOR_PCENGINES is not set +# CONFIG_VENDOR_RCA is not set +# CONFIG_VENDOR_RODA is not set +# CONFIG_VENDOR_SAMSUNG is not set +# CONFIG_VENDOR_SIEMENS is not set +# CONFIG_VENDOR_SOYO is not set +# CONFIG_VENDOR_SUNW is not set +# CONFIG_VENDOR_SUPERMICRO is not set +# CONFIG_VENDOR_TECHNEXION is not set +# CONFIG_VENDOR_TI is not set +# CONFIG_VENDOR_THOMSON is not set +# CONFIG_VENDOR_TRAVERSE is not set +# CONFIG_VENDOR_TYAN is not set +# CONFIG_VENDOR_VIA is not set +# CONFIG_VENDOR_WINENT is not set +# CONFIG_VENDOR_WYSE is not set +CONFIG_BOARD_SPECIFIC_OPTIONS=y +CONFIG_MAINBOARD_DIR="lenovo/x200" +CONFIG_MAINBOARD_PART_NUMBER="ThinkPad T500" +CONFIG_MAINBOARD_VENDOR="LENOVO" +CONFIG_MAX_CPUS=2 +CONFIG_VGA_BIOS_ID="8086,2a42" +# CONFIG_ONBOARD_VGA_IS_PRIMARY is not set +# CONFIG_VGA_BIOS is not set +CONFIG_UDELAY_IO=y +CONFIG_DCACHE_RAM_BASE=0xffaf8000 +CONFIG_DCACHE_RAM_SIZE=0x8000 +CONFIG_MMCONF_BASE_ADDRESS=0xf0000000 +CONFIG_MAINBOARD_SMBIOS_MANUFACTURER="LENOVO" +# CONFIG_PCI_64BIT_PREF_MEM is not set +CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT=y +CONFIG_UART_FOR_CONSOLE=0 +CONFIG_ID_SECTION_OFFSET=0x80 +CONFIG_RAMTOP=0x200000 +CONFIG_STACK_SIZE=0x1000 +CONFIG_USBDEBUG_HCD_INDEX=2 +CONFIG_CACHE_ROM_SIZE_OVERRIDE=0 +CONFIG_CBFS_SIZE=0x7FD000 +CONFIG_POST_IO=y +CONFIG_POST_DEVICE=y +# CONFIG_BOARD_LENOVO_X60 is not set +# CONFIG_BOARD_LENOVO_X200 is not set +# CONFIG_BOARD_LENOVO_X201 is not set +# CONFIG_BOARD_LENOVO_X220 is not set +# CONFIG_BOARD_LENOVO_X230 is not set +# CONFIG_BOARD_LENOVO_T400 is not set +# CONFIG_BOARD_LENOVO_T420S is not set +# CONFIG_BOARD_LENOVO_T430S is not set +CONFIG_BOARD_LENOVO_T500=y +# CONFIG_BOARD_LENOVO_T520 is not set +# CONFIG_BOARD_LENOVO_T530 is not set +# CONFIG_BOARD_LENOVO_T60 is not set +# CONFIG_BOARD_LENOVO_G505S is not set +# CONFIG_BOARD_LENOVO_R400 is not set +CONFIG_SEABIOS_PS2_TIMEOUT=0 +CONFIG_CPU_ADDR_BITS=36 +CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8 +CONFIG_USBDEBUG=y +CONFIG_MAINBOARD_VERSION="1.0" +CONFIG_DRIVERS_PS2_KEYBOARD=y +CONFIG_IOMMU=y +CONFIG_BOARD_ROMSIZE_KB_8192=y +# CONFIG_COREBOOT_ROMSIZE_KB_64 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_128 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_256 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_512 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_1024 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_2048 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_4096 is not set +CONFIG_COREBOOT_ROMSIZE_KB_8192=y +# CONFIG_COREBOOT_ROMSIZE_KB_12288 is not set +# CONFIG_COREBOOT_ROMSIZE_KB_16384 is not set +CONFIG_COREBOOT_ROMSIZE_KB=8192 +CONFIG_ROM_SIZE=0x800000 +CONFIG_ARCH_X86=y +# CONFIG_ARCH_ARM is not set +# CONFIG_ARCH_ARM64 is not set +# CONFIG_ARCH_RISCV is not set +CONFIG_ARCH_BOOTBLOCK_X86_32=y +CONFIG_ARCH_VERSTAGE_X86_32=y +CONFIG_ARCH_ROMSTAGE_X86_32=y +CONFIG_ARCH_RAMSTAGE_X86_32=y +# CONFIG_AP_IN_SIPI_WAIT is not set +# CONFIG_SIPI_VECTOR_IN_ROM is not set +CONFIG_RAMBASE=0x100000 +CONFIG_NUM_IPI_STARTS=2 +# CONFIG_ROMCC is not set +# CONFIG_LATE_CBMEM_INIT is not set +CONFIG_PC80_SYSTEM=y +CONFIG_BOOTBLOCK_NORTHBRIDGE_INIT="northbridge/intel/gm45/bootblock.c" +CONFIG_HAVE_CMOS_DEFAULT=y +CONFIG_CMOS_DEFAULT_FILE="src/mainboard/$(MAINBOARDDIR)/cmos.default" +CONFIG_BOOTBLOCK_SOUTHBRIDGE_INIT="southbridge/intel/i82801ix/bootblock.c" +CONFIG_IOAPIC_INTERRUPTS_ON_FSB=y +# CONFIG_IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS is not set +CONFIG_HPET_ADDRESS=0xfed00000 +# CONFIG_ARCH_BOOTBLOCK_ARM is not set +# CONFIG_ARCH_VERSTAGE_ARM is not set +# CONFIG_ARCH_ROMSTAGE_ARM is not set +# CONFIG_ARCH_RAMSTAGE_ARM is not set +# CONFIG_ARCH_BOOTBLOCK_ARMV4 is not set +# CONFIG_ARCH_VERSTAGE_ARMV4 is not set +# CONFIG_ARCH_ROMSTAGE_ARMV4 is not set +# CONFIG_ARCH_RAMSTAGE_ARMV4 is not set +# CONFIG_ARCH_BOOTBLOCK_ARMV7 is not set +# CONFIG_ARCH_VERSTAGE_ARMV7 is not set +# CONFIG_ARCH_ROMSTAGE_ARMV7 is not set +# CONFIG_ARCH_RAMSTAGE_ARMV7 is not set +# CONFIG_ARM_BOOTBLOCK_CUSTOM is not set +# CONFIG_CPU_HAS_BOOTBLOCK_INIT is not set +# CONFIG_MAINBOARD_HAS_BOOTBLOCK_INIT is not set +# CONFIG_ARM_LPAE is not set +# CONFIG_ARCH_BOOTBLOCK_ARM64 is not set +# CONFIG_ARCH_VERSTAGE_ARM64 is not set +# CONFIG_ARCH_ROMSTAGE_ARM64 is not set +# CONFIG_ARCH_RAMSTAGE_ARM64 is not set +# CONFIG_ARCH_BOOTBLOCK_ARMV8_64 is not set +# CONFIG_ARCH_VERSTAGE_ARMV8_64 is not set +# CONFIG_ARCH_ROMSTAGE_ARMV8_64 is not set +# CONFIG_ARCH_RAMSTAGE_ARMV8_64 is not set +# CONFIG_ARCH_BOOTBLOCK_RISCV is not set +# CONFIG_ARCH_VERSTAGE_RISCV is not set +# CONFIG_ARCH_ROMSTAGE_RISCV is not set +# CONFIG_ARCH_RAMSTAGE_RISCV is not set +# CONFIG_RISCV_BOOTBLOCK_CUSTOM is not set +# CONFIG_MAINBOARD_HAS_CHROMEOS is not set +CONFIG_SYSTEM_TYPE_LAPTOP=y + +# +# Chipset +# + +# +# CPU +# +# CONFIG_CPU_ALLWINNER_A10 is not set +# CONFIG_CPU_ARMLTD_CORTEX_A9 is not set +# CONFIG_CPU_TI_AM335X is not set +CONFIG_XIP_ROM_SIZE=0x10000 +# CONFIG_CPU_AMD_AGESA is not set +# CONFIG_CPU_AMD_PI is not set +CONFIG_CPU_INTEL_MODEL_1067X=y +CONFIG_SMM_TSEG_SIZE=0 +CONFIG_CPU_INTEL_SOCKET_BGA956=y +CONFIG_SSE2=y +# CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE is not set +# CONFIG_CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED is not set +# CONFIG_PARALLEL_CPU_INIT is not set +# CONFIG_UDELAY_LAPIC is not set +# CONFIG_UDELAY_TSC is not set +# CONFIG_UDELAY_TIMER2 is not set +# CONFIG_TSC_CALIBRATE_WITH_IO is not set +# CONFIG_TSC_SYNC_LFENCE is not set +CONFIG_TSC_SYNC_MFENCE=y +CONFIG_LOGICAL_CPUS=y +# CONFIG_SMM_TSEG is not set +# CONFIG_SMM_MODULES is not set +# CONFIG_X86_AMD_FIXED_MTRRS is not set +# CONFIG_PLATFORM_USES_FSP is not set +# CONFIG_PARALLEL_MP is not set +# CONFIG_BACKUP_DEFAULT_SMM_REGION is not set +# CONFIG_MIRROR_PAYLOAD_TO_RAM_BEFORE_LOADING is not set +CONFIG_CACHE_AS_RAM=y +CONFIG_SMP=y +CONFIG_AP_SIPI_VECTOR=0xfffff000 +CONFIG_MMX=y +CONFIG_SSE=y +CONFIG_SUPPORT_CPU_UCODE_IN_CBFS=y +# CONFIG_CPU_MICROCODE_CBFS_GENERATE is not set +# CONFIG_CPU_MICROCODE_CBFS_EXTERNAL is not set +CONFIG_CPU_MICROCODE_CBFS_NONE=y + +# +# Northbridge +# +CONFIG_HEAP_SIZE=0x4000 +CONFIG_VIDEO_MB=0 +# CONFIG_NORTHBRIDGE_AMD_AGESA is not set +# CONFIG_AMD_NB_CIMX is not set +# CONFIG_NORTHBRIDGE_AMD_CIMX_RD890 is not set +# CONFIG_NORTHBRIDGE_AMD_PI is not set +CONFIG_NORTHBRIDGE_SPECIFIC_OPTIONS=y +CONFIG_NORTHBRIDGE_INTEL_GM45=y +CONFIG_HPET_MIN_TICKS=0x80 +CONFIG_MAX_PIRQ_LINKS=4 + +# +# Southbridge +# +CONFIG_EHCI_BAR=0xfef00000 +# CONFIG_AMD_SB_CIMX is not set +# CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800 is not set +# CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900 is not set +CONFIG_SOUTHBRIDGE_INTEL_COMMON=y +CONFIG_SOUTHBRIDGE_INTEL_I82801IX=y + +# +# Super I/O +# + +# +# Embedded Controllers +# +CONFIG_EC_ACPI=y +CONFIG_EC_LENOVO_H8=y +CONFIG_EC_LENOVO_PMH7=y + +# +# SoC +# +CONFIG_TTYS0_BASE=0x3f8 +# CONFIG_SOC_NVIDIA_TEGRA124 is not set +# CONFIG_SOC_NVIDIA_TEGRA132 is not set +CONFIG_CONSOLE_PRERAM_BUFFER_BASE=0x0 +# CONFIG_SOC_QC_IPQ806X is not set +# CONFIG_SOC_ROCKCHIP_RK3288 is not set +# CONFIG_CPU_SAMSUNG_EXYNOS5250 is not set +# CONFIG_CPU_SAMSUNG_EXYNOS5420 is not set +# CONFIG_SOC_UCB_RISCV is not set + +# +# Devices +# +CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT=y +CONFIG_NATIVE_VGA_INIT_USE_EDID=y +CONFIG_MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG=y +# CONFIG_VGA_ROM_RUN is not set +# CONFIG_ON_DEVICE_ROM_RUN is not set +# CONFIG_MULTIPLE_VGA_ADAPTERS is not set +# CONFIG_SPD_CACHE is not set +CONFIG_PCI=y +# CONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT is not set +CONFIG_PCIX_PLUGIN_SUPPORT=y +CONFIG_PCIEXP_PLUGIN_SUPPORT=y +CONFIG_CARDBUS_PLUGIN_SUPPORT=y +# CONFIG_AZALIA_PLUGIN_SUPPORT is not set +# CONFIG_PCIEXP_COMMON_CLOCK is not set +# CONFIG_PCIEXP_ASPM is not set +# CONFIG_PCIEXP_CLK_PM is not set +# CONFIG_EARLY_PCI_BRIDGE is not set +CONFIG_SUBSYSTEM_VENDOR_ID=0x0000 +CONFIG_SUBSYSTEM_DEVICE_ID=0x0000 +# CONFIG_PXE_ROM is not set +# CONFIG_SOFTWARE_I2C is not set + +# +# Display +# +# CONFIG_FRAMEBUFFER_KEEP_VESA_MODE is not set + +# +# Generic Drivers +# +# CONFIG_DRIVERS_AS3722_RTC is not set +CONFIG_DRIVERS_GENERIC_IOAPIC=y +# CONFIG_DRIVERS_I2C_RTD2132 is not set +CONFIG_DRIVERS_ICS_954309=y +# CONFIG_INTEL_DP is not set +# CONFIG_INTEL_DDI is not set +CONFIG_INTEL_EDID=y +CONFIG_INTEL_INT15=y +# CONFIG_DRIVER_INTEL_I210 is not set +# CONFIG_IPMI_KCS is not set +# CONFIG_DRIVERS_LENOVO_WACOM is not set +# CONFIG_DRIVER_MAXIM_MAX77686 is not set +# CONFIG_DRIVER_PARADE_PS8625 is not set +# CONFIG_LPC_TPM is not set +CONFIG_DRIVERS_MC146818=y +# CONFIG_DRIVERS_SIL_3114 is not set +# CONFIG_SPI_FLASH is not set +# CONFIG_DRIVER_TI_TPS65090 is not set +CONFIG_DRIVERS_UART=y +CONFIG_DRIVERS_UART_8250IO=y +CONFIG_NO_UART_ON_SUPERIO=y +# CONFIG_DRIVERS_UART_8250MEM is not set +# CONFIG_HAVE_UART_SPECIAL is not set +# CONFIG_DRIVERS_UART_OXPCIE is not set +# CONFIG_DRIVERS_UART_PL011 is not set +CONFIG_HAVE_USBDEBUG=y +CONFIG_HAVE_USBDEBUG_OPTIONS=y +CONFIG_USBDEBUG_IN_ROMSTAGE=y +CONFIG_USBDEBUG_DEFAULT_PORT=0 +# CONFIG_USBDEBUG_DONGLE_STD is not set +# CONFIG_USBDEBUG_DONGLE_BEAGLEBONE is not set +CONFIG_USBDEBUG_DONGLE_BEAGLEBONE_BLACK=y +CONFIG_USBDEBUG_OPTIONAL_HUB_PORT=0 +# CONFIG_DRIVER_XPOWERS_AXP209 is not set +# CONFIG_DRIVERS_RICOH_RCE822 is not set +# CONFIG_TPM is not set +CONFIG_MMCONF_SUPPORT_DEFAULT=y +CONFIG_MMCONF_SUPPORT=y +# CONFIG_BOOTMODE_STRAPS is not set + +# +# Console +# +CONFIG_SQUELCH_EARLY_SMP=y +CONFIG_CONSOLE_SERIAL=y + +# +# I/O mapped, 8250-compatible +# +CONFIG_CONSOLE_SERIAL_115200=y +# CONFIG_CONSOLE_SERIAL_57600 is not set +# CONFIG_CONSOLE_SERIAL_38400 is not set +# CONFIG_CONSOLE_SERIAL_19200 is not set +# CONFIG_CONSOLE_SERIAL_9600 is not set +CONFIG_TTYS0_BAUD=115200 +CONFIG_TTYS0_LCS=3 +# CONFIG_SPKMODEM is not set +CONFIG_CONSOLE_USB=y +# CONFIG_CONSOLE_NE2K is not set +CONFIG_CONSOLE_CBMEM=y +CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000 +CONFIG_CONSOLE_PRERAM_BUFFER_SIZE=0xc00 +CONFIG_DEFAULT_CONSOLE_LOGLEVEL_8=y +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_7 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_6 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_5 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_4 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_3 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_2 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_1 is not set +# CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0 is not set +# CONFIG_NO_POST is not set +# CONFIG_CMOS_POST is not set +# CONFIG_CONSOLE_POST is not set +CONFIG_POST_DEVICE_NONE=y +# CONFIG_POST_DEVICE_LPC is not set +# CONFIG_POST_DEVICE_PCI_PCIE is not set +CONFIG_POST_IO_PORT=0x80 +CONFIG_HAVE_ACPI_RESUME=y +# CONFIG_HAVE_ACPI_SLIC is not set +CONFIG_HAVE_HARD_RESET=y +# CONFIG_HAVE_MONOTONIC_TIMER is not set +CONFIG_HAVE_OPTION_TABLE=y +# CONFIG_PIRQ_ROUTE is not set +CONFIG_HAVE_SMI_HANDLER=y +# CONFIG_PCI_IO_CFG_EXT is not set +CONFIG_IOAPIC=y +CONFIG_USE_WATCHDOG_ON_BOOT=y +CONFIG_VGA=y +# CONFIG_GFXUMA is not set +CONFIG_HAVE_ACPI_TABLES=y +CONFIG_HAVE_MP_TABLE=y +CONFIG_PER_DEVICE_ACPI_TABLES=y +# CONFIG_COMMON_FADT is not set + +# +# System tables +# +CONFIG_GENERATE_MP_TABLE=y +# CONFIG_GENERATE_PIRQ_TABLE is not set +CONFIG_GENERATE_SMBIOS_TABLES=y +CONFIG_MAINBOARD_SERIAL_NUMBER="123456789" +CONFIG_MAINBOARD_SMBIOS_PRODUCT_NAME="ThinkPad X200" + +# +# Payload +# +# CONFIG_PAYLOAD_NONE is not set +CONFIG_PAYLOAD_ELF=y +# CONFIG_PAYLOAD_LINUX is not set +# CONFIG_PAYLOAD_SEABIOS is not set +# CONFIG_PAYLOAD_FILO is not set +# CONFIG_PAYLOAD_GRUB2 is not set +# CONFIG_PAYLOAD_TIANOCORE is not set +# CONFIG_SEABIOS_THREAD_OPTIONROMS is not set +# CONFIG_SEABIOS_VGA_COREBOOT is not set +CONFIG_PAYLOAD_FILE="grub.elf" +CONFIG_COMPRESSED_PAYLOAD_LZMA=y + +# +# Debugging +# +# CONFIG_GDB_STUB is not set +# CONFIG_DEBUG_CBFS is not set +CONFIG_HAVE_DEBUG_RAM_SETUP=y +# CONFIG_DEBUG_RAM_SETUP is not set +# CONFIG_HAVE_DEBUG_CAR is not set +# CONFIG_HAVE_DEBUG_SMBUS is not set +# CONFIG_DEBUG_SMI is not set +# CONFIG_DEBUG_SMM_RELOCATION is not set +# CONFIG_DEBUG_MALLOC is not set +# CONFIG_DEBUG_ACPI is not set +# CONFIG_DEBUG_USBDEBUG is not set +# CONFIG_TRACE is not set +# CONFIG_ENABLE_APIC_EXT_ID is not set +CONFIG_WARNINGS_ARE_ERRORS=y +# CONFIG_POWER_BUTTON_DEFAULT_ENABLE is not set +# CONFIG_POWER_BUTTON_DEFAULT_DISABLE is not set +# CONFIG_POWER_BUTTON_FORCE_ENABLE is not set +# CONFIG_POWER_BUTTON_FORCE_DISABLE is not set +# CONFIG_POWER_BUTTON_IS_OPTIONAL is not set +# CONFIG_REG_SCRIPT is not set +CONFIG_MAX_REBOOT_CNT=3 diff --git a/resources/libreboot/config/t60/config b/resources/libreboot/config/t60/config index cf12618..9accfb2 100644 --- a/resources/libreboot/config/t60/config +++ b/resources/libreboot/config/t60/config @@ -127,6 +127,7 @@ CONFIG_POST_DEVICE=y # CONFIG_BOARD_LENOVO_T400 is not set # CONFIG_BOARD_LENOVO_T420S is not set # CONFIG_BOARD_LENOVO_T430S is not set +# CONFIG_BOARD_LENOVO_T500 is not set # CONFIG_BOARD_LENOVO_T520 is not set # CONFIG_BOARD_LENOVO_T530 is not set CONFIG_BOARD_LENOVO_T60=y diff --git a/resources/libreboot/config/x200_4mb/config b/resources/libreboot/config/x200_4mb/config index 0203070..c57404e 100644 --- a/resources/libreboot/config/x200_4mb/config +++ b/resources/libreboot/config/x200_4mb/config @@ -127,6 +127,7 @@ CONFIG_BOARD_LENOVO_X200=y # CONFIG_BOARD_LENOVO_T400 is not set # CONFIG_BOARD_LENOVO_T420S is not set # CONFIG_BOARD_LENOVO_T430S is not set +# CONFIG_BOARD_LENOVO_T500 is not set # CONFIG_BOARD_LENOVO_T520 is not set # CONFIG_BOARD_LENOVO_T530 is not set # CONFIG_BOARD_LENOVO_T60 is not set diff --git a/resources/libreboot/config/x200_8mb/config b/resources/libreboot/config/x200_8mb/config index 793ba7a..377e62a 100644 --- a/resources/libreboot/config/x200_8mb/config +++ b/resources/libreboot/config/x200_8mb/config @@ -127,6 +127,7 @@ CONFIG_BOARD_LENOVO_X200=y # CONFIG_BOARD_LENOVO_T400 is not set # CONFIG_BOARD_LENOVO_T420S is not set # CONFIG_BOARD_LENOVO_T430S is not set +# CONFIG_BOARD_LENOVO_T500 is not set # CONFIG_BOARD_LENOVO_T520 is not set # CONFIG_BOARD_LENOVO_T530 is not set # CONFIG_BOARD_LENOVO_T60 is not set diff --git a/resources/libreboot/config/x60/config b/resources/libreboot/config/x60/config index d184617..27d795d 100644 --- a/resources/libreboot/config/x60/config +++ b/resources/libreboot/config/x60/config @@ -129,6 +129,7 @@ CONFIG_BOARD_LENOVO_X60=y # CONFIG_BOARD_LENOVO_T400 is not set # CONFIG_BOARD_LENOVO_T420S is not set # CONFIG_BOARD_LENOVO_T430S is not set +# CONFIG_BOARD_LENOVO_T500 is not set # CONFIG_BOARD_LENOVO_T520 is not set # CONFIG_BOARD_LENOVO_T530 is not set # CONFIG_BOARD_LENOVO_T60 is not set diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper index 8fde114..1d419a3 100755 --- a/resources/scripts/helpers/build/roms/helper +++ b/resources/scripts/helpers/build/roms/helper @@ -52,11 +52,12 @@ fi for romtype in txtmode vesafb do - if [ "$1" = "x200_8mb" ] || [ "$1" = "x200_4mb" ] || [ "$1" = "r400_8mb" ] || [ "$1" = "r400_4mb" ] || [ "$1" = "t400_8mb" ] || [ "$1" = "t400_4mb" ] + if [ "$1" = "x200_8mb" ] || [ "$1" = "x200_4mb" ] || [ "$1" = "r400_8mb" ] || [ "$1" = "r400_4mb" ] || [ "$1" = "t400_8mb" ] || [ "$1" = "t400_4mb" ] || [ "$1" = "t500_8mb" ] || [ "$1" = "t500_4mb" ] then if [ "$romtype" = "txtmode" ] then - echo "Text mode graphics is currently broken on X200, R400 and T400. Only framebuffer mode works." + printf "Text mode graphics is currently broken on X200, R400, T400 and T500. Only framebuffer mode works.\n" + printf "TODO: offending coreboot commit found (see docs/release.html). Fix text-mode graphics initialization.\n" continue fi fi @@ -74,7 +75,7 @@ do # Add the background image if [ "$romtype" = "vesafb" ] then - if [ "$1" = "macbook21" ] || [ "$1" = "x200_4mb" ] || [ "$1" = "x200_8mb" ] || [ "$1" = "r400_4mb" ] || [ "$1" = "r400_8mb" ] || [ "$1" = "t400_4mb" ] || [ "$1" = "t400_8mb" ] + if [ "$1" = "macbook21" ] || [ "$1" = "x200_4mb" ] || [ "$1" = "x200_8mb" ] || [ "$1" = "r400_4mb" ] || [ "$1" = "r400_8mb" ] || [ "$1" = "t400_4mb" ] || [ "$1" = "t400_8mb" ] || [ "$1" = "t500_4mb" ] || [ "$1" = "t500_8mb" ] then ./util/cbfstool/cbfstool "$1"_"$romtype".rom add -f ../resources/grub/background/gnulove.jpg -n background.jpg -t raw else diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 5a7f83c..6c1c8fa 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -95,7 +95,7 @@ done # Then put them in the ROM images. if [ -d bin/ ]; then cd bin/ - for board in "x200" "r400" "t400" + for board in "x200" "r400" "t400" "t500" do for romsize in "4m" "8m" do diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot index 123fea5..1b34d4b 100755 --- a/resources/scripts/helpers/download/coreboot +++ b/resources/scripts/helpers/download/coreboot @@ -79,7 +79,9 @@ git fetch http://review.coreboot.org/coreboot refs/changes/79/7979/1 && git cher printf "ThinkPad R400 support\n" git fetch http://review.coreboot.org/coreboot refs/changes/93/8393/2 && git cherry-pick FETCH_HEAD printf "ThinkPad T400 (depends on R400 patch)\n" -git fetch http://review.coreboot.org/coreboot refs/changes/14/8714/3 && git cherry-pick FETCH_HEAD +git fetch http://review.coreboot.org/coreboot refs/changes/14/8714/4 && git cherry-pick FETCH_HEAD +printf "ThinkPad T500 (depends on T400 patch)\n" +git fetch http://review.coreboot.org/coreboot refs/changes/81/9181/1 && git cherry-pick FETCH_HEAD # Run coreboot-libre deblob scripts # --------------------------------------------------------------------------------- |