blob: 3f39251b35a8602454de64252727ec14595b15fa [file] [log] [blame]
Uwe Hermannba290d12009-06-17 12:07:12 +00001/*
2 * This file is part of the flashrom project.
3 *
4 * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
5 * Copyright (C) 2009 Carl-Daniel Hailfinger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
Carl-Daniel Hailfinger831e8f42010-05-30 22:24:40 +000022#include <stdio.h>
Uwe Hermannba290d12009-06-17 12:07:12 +000023#include <string.h>
24#include <stdlib.h>
25#include "flash.h"
26#include "flashchips.h"
27
28/*
29 * Return a string corresponding to the bustype parameter.
30 * Memory is obtained with malloc() and can be freed with free().
31 */
32char *flashbuses_to_text(enum chipbustype bustype)
33{
34 char *ret = calloc(1, 1);
35 if (bustype == CHIP_BUSTYPE_UNKNOWN) {
36 ret = strcat_realloc(ret, "Unknown,");
37 /*
38 * FIXME: Once all chipsets and flash chips have been updated, NONSPI
39 * will cease to exist and should be eliminated here as well.
40 */
41 } else if (bustype == CHIP_BUSTYPE_NONSPI) {
42 ret = strcat_realloc(ret, "Non-SPI,");
43 } else {
44 if (bustype & CHIP_BUSTYPE_PARALLEL)
45 ret = strcat_realloc(ret, "Parallel,");
46 if (bustype & CHIP_BUSTYPE_LPC)
47 ret = strcat_realloc(ret, "LPC,");
48 if (bustype & CHIP_BUSTYPE_FWH)
49 ret = strcat_realloc(ret, "FWH,");
50 if (bustype & CHIP_BUSTYPE_SPI)
51 ret = strcat_realloc(ret, "SPI,");
52 if (bustype == CHIP_BUSTYPE_NONE)
53 ret = strcat_realloc(ret, "None,");
54 }
55 /* Kill last comma. */
56 ret[strlen(ret) - 1] = '\0';
57 ret = realloc(ret, strlen(ret) + 1);
58 return ret;
59}
60
61#define POS_PRINT(x) do { pos += strlen(x); printf(x); } while (0)
62
63static int digits(int n)
64{
65 int i;
66
67 if (!n)
68 return 1;
69
70 for (i = 0; n; ++i)
71 n /= 10;
72
73 return i;
74}
75
76void print_supported_chips(void)
77{
78 int okcol = 0, pos = 0, i, chipcount = 0;
79 struct flashchip *f;
80
81 for (f = flashchips; f->name != NULL; f++) {
82 if (GENERIC_DEVICE_ID == f->model_id)
83 continue;
84 okcol = max(okcol, strlen(f->vendor) + 1 + strlen(f->name));
85 }
86 okcol = (okcol + 7) & ~7;
87
88 for (f = flashchips; f->name != NULL; f++)
89 chipcount++;
90
91 printf("\nSupported flash chips (total: %d):\n\n", chipcount);
92 POS_PRINT("Vendor: Device:");
93 while (pos < okcol) {
94 printf("\t");
95 pos += 8 - (pos % 8);
96 }
97
98 printf("Tested OK:\tKnown BAD: Size/KB: Type:\n\n");
99 printf("(P = PROBE, R = READ, E = ERASE, W = WRITE)\n\n");
100
101 for (f = flashchips; f->name != NULL; f++) {
102 /* Don't print "unknown XXXX SPI chip" entries. */
103 if (!strncmp(f->name, "unknown", 7))
104 continue;
105
106 printf("%s", f->vendor);
107 for (i = 0; i < 10 - strlen(f->vendor); i++)
108 printf(" ");
109 printf("%s", f->name);
110
111 pos = 10 + strlen(f->name);
112 while (pos < okcol) {
113 printf("\t");
114 pos += 8 - (pos % 8);
115 }
116 if ((f->tested & TEST_OK_MASK)) {
117 if ((f->tested & TEST_OK_PROBE))
118 POS_PRINT("P ");
119 if ((f->tested & TEST_OK_READ))
120 POS_PRINT("R ");
121 if ((f->tested & TEST_OK_ERASE))
122 POS_PRINT("E ");
123 if ((f->tested & TEST_OK_WRITE))
124 POS_PRINT("W ");
125 }
126 while (pos < okcol + 9) {
127 printf("\t");
128 pos += 8 - (pos % 8);
129 }
130 if ((f->tested & TEST_BAD_MASK)) {
131 if ((f->tested & TEST_BAD_PROBE))
132 printf("P ");
133 if ((f->tested & TEST_BAD_READ))
134 printf("R ");
135 if ((f->tested & TEST_BAD_ERASE))
136 printf("E ");
137 if ((f->tested & TEST_BAD_WRITE))
138 printf("W ");
139 }
140
141 printf("\t %d", f->total_size);
142 for (i = 0; i < 10 - digits(f->total_size); i++)
143 printf(" ");
144 printf("%s\n", flashbuses_to_text(f->bustype));
145 }
146}
147
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000148#if CONFIG_INTERNAL == 1
Uwe Hermannba290d12009-06-17 12:07:12 +0000149void print_supported_chipsets(void)
150{
151 int i, j, chipsetcount = 0;
152 const struct penable *c = chipset_enables;
153
154 for (i = 0; c[i].vendor_name != NULL; i++)
155 chipsetcount++;
156
157 printf("\nSupported chipsets (total: %d):\n\nVendor: "
158 "Chipset: PCI IDs:\n\n", chipsetcount);
159
160 for (i = 0; c[i].vendor_name != NULL; i++) {
161 printf("%s", c[i].vendor_name);
162 for (j = 0; j < 25 - strlen(c[i].vendor_name); j++)
163 printf(" ");
164 printf("%s", c[i].device_name);
165 for (j = 0; j < 25 - strlen(c[i].device_name); j++)
166 printf(" ");
167 printf("%04x:%04x%s\n", c[i].vendor_id, c[i].device_id,
168 (c[i].status == OK) ? "" : " (untested)");
169 }
170}
171
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000172void print_supported_boards_helper(const struct board_info *boards,
173 const char *devicetype)
Uwe Hermannba290d12009-06-17 12:07:12 +0000174{
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000175 int i, j, boardcount_good = 0, boardcount_bad = 0;
Uwe Hermannba290d12009-06-17 12:07:12 +0000176 struct board_pciid_enable *b = board_pciid_enables;
177
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000178 for (i = 0; boards[i].vendor != NULL; i++) {
179 if (boards[i].working)
180 boardcount_good++;
Uwe Hermannba290d12009-06-17 12:07:12 +0000181 else
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000182 boardcount_bad++;
Uwe Hermannba290d12009-06-17 12:07:12 +0000183 }
184
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000185 printf("\nKnown %s (good: %d, bad: %d):"
186 "\n\nVendor: Board: "
187 "Status: Required option:"
188 "\n\n", devicetype, boardcount_good, boardcount_bad);
189
190 for (i = 0; boards[i].vendor != NULL; i++) {
191 printf("%s", boards[i].vendor);
192 for (j = 0; j < 25 - strlen(boards[i].vendor); j++)
193 printf(" ");
194 printf("%s", boards[i].name);
195 for (j = 0; j < 28 - strlen(boards[i].name); j++)
196 printf(" ");
197 printf((boards[i].working) ? "OK " : "BAD ");
198
199 for (j = 0; b[j].vendor_name != NULL; j++) {
200 if (strcmp(b[j].vendor_name, boards[i].vendor)
201 || strcmp(b[j].board_name, boards[i].name))
202 continue;
203 if (b[j].lb_vendor == NULL)
204 printf("(autodetected)");
205 else
206 printf("-m %s:%s", b[j].lb_vendor,
207 b[j].lb_part);
208 }
209 printf("\n");
210 }
Uwe Hermannba290d12009-06-17 12:07:12 +0000211}
Carl-Daniel Hailfinger66ef4e52009-12-13 22:28:00 +0000212#endif
Uwe Hermannd0e347d2009-10-06 13:00:00 +0000213
Carl-Daniel Hailfingerf5292052009-11-17 09:57:34 +0000214void print_supported(void)
215{
216 print_supported_chips();
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000217#if CONFIG_INTERNAL == 1
Carl-Daniel Hailfingerf5292052009-11-17 09:57:34 +0000218 print_supported_chipsets();
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000219 print_supported_boards_helper(boards_known, "boards");
220 print_supported_boards_helper(laptops_known, "laptops");
Carl-Daniel Hailfinger66ef4e52009-12-13 22:28:00 +0000221#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000222#if CONFIG_NIC3COM+CONFIG_NICREALTEK+CONFIG_GFXNVIDIA+CONFIG_DRKAISER+CONFIG_SATASII+CONFIG_ATAHPT >= 1
Carl-Daniel Hailfingerf5292052009-11-17 09:57:34 +0000223 printf("\nSupported PCI devices flashrom can use "
224 "as programmer:\n\n");
Adam Jurkowski516f9322009-12-14 03:07:31 +0000225#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000226#if CONFIG_NIC3COM == 1
Carl-Daniel Hailfingerf5292052009-11-17 09:57:34 +0000227 print_supported_pcidevs(nics_3com);
228#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000229#if CONFIG_NICREALTEK == 1
Uwe Hermann829ed842010-05-24 17:39:14 +0000230 print_supported_pcidevs(nics_realtek);
231 print_supported_pcidevs(nics_realteksmc1211);
232#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000233#if CONFIG_GFXNVIDIA == 1
Carl-Daniel Hailfingerf5292052009-11-17 09:57:34 +0000234 print_supported_pcidevs(gfx_nvidia);
235#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000236#if CONFIG_DRKAISER == 1
Carl-Daniel Hailfingerf5292052009-11-17 09:57:34 +0000237 print_supported_pcidevs(drkaiser_pcidev);
238#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000239#if CONFIG_SATASII == 1
Carl-Daniel Hailfingerf5292052009-11-17 09:57:34 +0000240 print_supported_pcidevs(satas_sii);
241#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000242#if CONFIG_ATAHPT == 1
Carl-Daniel Hailfinger8841d3e2010-05-15 15:04:37 +0000243 print_supported_pcidevs(ata_hpt);
244#endif
Carl-Daniel Hailfingerf5292052009-11-17 09:57:34 +0000245}
246
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000247#if CONFIG_INTERNAL == 1
Carl-Daniel Hailfinger4146ced2010-06-07 11:10:43 +0000248
249#ifdef CONFIG_PRINT_WIKI
250#define B(vendor, name, status, url, note) { vendor, name, status, url, note }
251#else
252#define B(vendor, name, status, url, note) { vendor, name, status }
253#endif
254
Uwe Hermannd0e347d2009-10-06 13:00:00 +0000255/* Please keep this list alphabetically ordered by vendor/board. */
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000256const struct board_info boards_known[] = {
Carl-Daniel Hailfingercceafa22010-05-26 01:45:41 +0000257#if defined(__i386__) || defined(__x86_64__)
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000258 B("A-Trend", "ATC-6220", 1, "http://www.motherboard.cz/mb/atrend/atc6220.htm", NULL),
259 B("Abit", "AX8", 1, "http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?DEFTITLE=Y&fMTYPE=Socket%20939&pMODEL_NAME=AX8", NULL),
260 B("Abit", "Fatal1ty F-I90HD", 1, "http://www.abit.com.tw/page/de/motherboard/motherboard_detail.php?pMODEL_NAME=Fatal1ty+F-I90HD&fMTYPE=LGA775", NULL),
261 B("Abit", "IP35", 1, "http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?fMTYPE=LGA775&pMODEL_NAME=IP35", NULL),
262 B("Abit", "IP35 Pro", 1, "http://www.abit.com.tw/page/de/motherboard/motherboard_detail.php?fMTYPE=LGA775&pMODEL_NAME=IP35%20Pro", NULL),
263 B("Abit", "IS-10", 0, "http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?pMODEL_NAME=IS-10&fMTYPE=Socket+478", NULL),
264 B("Abit", "NF7-S", 1, "http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?fMTYPE=Socket%20A&pMODEL_NAME=NF7-S", NULL),
265 B("Abit", "VT6X4", 1, "http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?fMTYPE=Slot%201&pMODEL_NAME=VT6X4", NULL),
266 B("Acorp", "6A815EPD", 1, "http://web.archive.org/web/20021206163652/www.acorp.com.tw/English/default.asp", NULL),
267 B("Advantech", "PCM-5820", 1, "http://www.emacinc.com/sbc_pc_compatible/pcm_5820.htm", NULL),
268 B("agami", "Aruma", 1, "http://web.archive.org/web/20080212111524/http://www.agami.com/site/ais-6000-series", NULL),
269 B("Albatron", "PM266A Pro", 1, "http://www.albatron.com.tw/English/Product/MB/pro_detail.asp?rlink=Overview&no=56", NULL), /* FIXME */
270 B("AOpen", "vKM400Am-S", 1, "http://usa.aopen.com/products_detail.aspx?Auno=824", NULL),
271 B("Artec Group","DBE61", 1, "http://wiki.thincan.org/DBE61", NULL),
272 B("Artec Group","DBE62", 1, "http://wiki.thincan.org/DBE62", NULL),
273 B("ASI", "MB-5BLMP", 1, "http://www.hojerteknik.com/winnet.htm", "Used in the IGEL WinNET III thin client."),
274 B("ASRock", "A770CrossFire", 1, "http://www.asrock.com/mb/overview.asp?Model=A770CrossFire&s=AM2\%2b", NULL),
275 B("ASRock", "K7VT4A+", 0, "http://www.asrock.com/mb/overview.asp?Model=K7VT4A%%2b&s=", NULL),
276 B("ASRock", "K8S8X", 1, "http://www.asrock.com/mb/overview.asp?Model=K8S8X", "The Super I/O isn't found on this board. See http://www.flashrom.org/pipermail/flashrom/2009-November/000937.html."),
277 B("ASRock", "P4i65GV", 1, NULL, NULL),
278 B("ASRock", "M3A790GXH/128M", 1, "http://www.asrock.com/MB/overview.asp?Model=M3A790GXH/128M", NULL),
279 B("ASUS", "A7N8X Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=wAsRYm41KTp78MFC", NULL),
280 B("ASUS", "A7N8X-E Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=TmQtPJv4jIxmL9C2", NULL),
281 B("ASUS", "A7V133", 1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/socka/kt133a/a7v133/", NULL),
282 B("ASUS", "A7V400-MX", 1, "http://www.asus.com/product.aspx?P_ID=hORgEHRBDLMfwAwx", NULL),
283 B("ASUS", "A7V600-X", 1, "http://www.asus.com/product.aspx?P_ID=L2XYS0rmtCjeOr4k", NULL),
284 B("ASUS", "A7V8X", 1, "http://www.asus.com/product.aspx?P_ID=qfpaGrAy2kLVo0f2", NULL),
285 B("ASUS", "A7V8X-MX", 1, "http://www.asus.com/product.aspx?P_ID=SEJOOYqfuQPitx2H", NULL),
286 B("ASUS", "A7V8X-MX SE", 1, "http://www.asus.com/product.aspx?P_ID=1guVBT1qV5oqhHyZ", NULL),
287 B("ASUS", "A7V8X-X", 1, "http://www.asus.com/product.aspx?P_ID=YcXfRrWHZ9RKoVmw", NULL),
288 B("ASUS", "A8N-E", 1, "http://www.asus.com/product.aspx?P_ID=DzbA8hgqchMBOVRz", NULL),
289 B("ASUS", "A8N-SLI", 1, "http://www.asus.com/product.aspx?P_ID=J9FKa8z2xVId3pDK", NULL),
290 B("ASUS", "A8N-SLI Premium", 1, "http://www.asus.com/product.aspx?P_ID=nbulqxniNmzf0mH1", NULL),
291 B("ASUS", "A8NE-FM/S", 1, "http://www.hardwareschotte.de/hardware/preise/proid_1266090/preis_ASUS+A8NE-FM", NULL),
292 B("ASUS", "A8V Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=tvpdgPNCPaABZRVU", NULL),
293 B("ASUS", "A8V-E Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=hQBPIJWEZnnGAZEh", NULL),
294 B("ASUS", "A8V-E SE", 1, "http://www.asus.com/product.aspx?P_ID=VMfiJJRYTHM4gXIi", "See http://www.coreboot.org/pipermail/coreboot/2007-October/026496.html."),
295 B("ASUS", "K8V", 1, "http://www.asus.com/product.aspx?P_ID=fG2KZOWF7v6MRFRm", NULL),
296 B("ASUS", "K8V SE Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=65HeDI8XM1u6Uy6o", NULL),
297 B("ASUS", "K8V-X SE", 1, "http://www.asus.com/product.aspx?P_ID=lzDXlbBVHkdckHVr", NULL),
298 B("ASUS", "M2A-MX", 1, "http://www.asus.com/product.aspx?P_ID=BmaOnPewi1JgltOZ", NULL),
299 B("ASUS", "M2A-VM", 1, "http://www.asus.com/product.aspx?P_ID=St3pWpym8xXpROQS", "See http://www.coreboot.org/pipermail/coreboot/2007-September/025281.html."),
300 B("ASUS", "M2N-E", 1, "http://www.asus.com/product.aspx?P_ID=NFlvt10av3F7ayQ9", "If the machine doesn't come up again after flashing, try resetting the NVRAM(CMOS). The MAC address of the onboard network card will change to the value stored in the new image, so backup the old address first. See http://www.flashrom.org/pipermail/flashrom/2009-November/000879.html"),
301 B("ASUS", "M2NBP-VM CSM", 1, "http://www.asus.com/product.aspx?P_ID=MnOfzTGd2KkwG0rF", NULL),
302 B("ASUS", "M2V", 1, "http://www.asus.com/product.aspx?P_ID=OqYlEDFfF6ZqZGvp", NULL),
303 B("ASUS", "M2V-MX", 1, "http://www.asus.com/product.aspx?P_ID=7grf8Ci4yxnqzt3z", NULL),
304 B("ASUS", "M3A78-EM", 1, "http://www.asus.com/product.aspx?P_ID=KjpYqzmAd9vsTM2D", NULL),
305 B("ASUS", "MEW-AM", 0, "ftp://ftp.asus.com.tw/pub/ASUS/mb/sock370/810/mew-am/", NULL),
306 B("ASUS", "MEW-VM", 0, "http://www.elhvb.com/mboards/OEM/HP/manual/ASUS%20MEW-VM.htm", NULL),
307 B("ASUS", "P2B", 1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/slot1/440bx/p2b/", NULL),
308 B("ASUS", "P2B-D", 1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/slot1/440bx/p2b-d/", NULL),
309 B("ASUS", "P2B-DS", 1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/slot1/440bx/p2b-ds/", NULL),
310 B("ASUS", "P2B-F", 1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/slot1/440bx/p2b-d/", NULL),
311 B("ASUS", "P2L97-S", 1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/slot1/440lx/p2l97-s/", NULL),
312 B("ASUS", "P3B-F", 0, "ftp://ftp.asus.com.tw/pub/ASUS/mb/slot1/440bx/p3b-f/", NULL),
313 B("ASUS", "P4B266", 1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/sock478/p4b266/", NULL),
314 B("ASUS", "P4B266-LM", 1, "http://esupport.sony.com/US/perl/swu-list.pl?mdl=PCVRX650", NULL),
315 B("ASUS", "P4C800-E Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=cFuVCr9bXXCckmcK", NULL),
316 B("ASUS", "P4P800-E Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=INIJUvLlif7LHp3g", NULL),
317 B("ASUS", "P5A", 1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/sock7/ali/p5a/", NULL),
318 B("ASUS", "P5B", 1, "ftp://ftp.asus.com.tw/pub/ASUS/mb/socket775/P5B/", NULL),
319 B("ASUS", "P5B-Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=bswT66IBSb2rEWNa", NULL),
320 B("ASUS", "P5BV-M", 0, "ftp://ftp.asus.com.tw/pub/ASUS/mb/socket775/P5B-VM/", NULL),
321 B("ASUS", "P5KC", 1, "http://www.asus.com/product.aspx?P_ID=fFZ8oUIGmLpwNMjj", NULL),
322 B("ASUS", "P5L-MX", 1, "http://www.asus.com/product.aspx?P_ID=X70d3NCzH2DE9vWH", NULL),
323 B("ASUS", "P5ND2-SLI Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=WY7XroDuUImVbgp5", NULL),
324 B("ASUS", "P6T Deluxe", 1, "http://www.asus.com/product.aspx?P_ID=vXixf82co6Q5v0BZ", NULL),
325 B("ASUS", "P6T Deluxe V2", 1, "http://www.asus.com/product.aspx?P_ID=iRlP8RG9han6saZx", NULL),
326 B("BCOM", "WinNET100", 1, "http://www.coreboot.org/BCOM_WINNET100", "Used in the IGEL-316 thin client."),
327 B("Biostar", "M6TBA", 0, "ftp://ftp.biostar-usa.com/manuals/M6TBA/", NULL),
328 B("Biostar", "P4M80-M4", 1, "http://www.biostar-usa.com/mbdetails.asp?model=p4m80-m4", NULL),
329 B("Boser", "HS-6637", 0, "http://www.boser.com.tw/manual/HS-62376637v3.4.pdf", NULL),
330 B("Dell", "PowerEdge 1850", 1, "http://support.dell.com/support/edocs/systems/pe1850/en/index.htm", NULL),
331 B("DFI", "855GME-MGF", 0, "http://www.dfi.com.tw/portal/CM/cmproduct/XX_cmproddetail/XX_WbProdsWindow?action=e&downloadType=&windowstate=normal&mode=view&downloadFlag=false&itemId=433", NULL),
332 B("DFI", "Blood-Iron P35 T2RL", 1, "http://lp.lanparty.com.tw/portal/CM/cmproduct/XX_cmproddetail/XX_WbProdsWindow?itemId=516&downloadFlag=false&action=1", NULL),
333 B("Elitegroup", "K7S5A", 1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=279&CategoryID=1&DetailName=Specification&MenuID=1&LanID=0", NULL),
334 B("Elitegroup", "K7S6A", 1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=77&CategoryID=1&DetailName=Specification&MenuID=52&LanID=0", NULL),
335 B("Elitegroup", "K7VTA3", 1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=264&CategoryID=1&DetailName=Specification&MenuID=52&LanID=0", NULL),
336 B("Elitegroup", "P6VAP-A+", 1, "http://www.ecs.com.tw/ECSWebSite/Products/ProductsDetail.aspx?detailid=117&CategoryID=1&DetailName=Specification&MenuID=1&LanID=0", NULL),
337 B("EPoX", "EP-8K5A2", 1, "http://www.epox.com/product.asp?ID=EP-8K5A2", NULL),
338 B("EPoX", "EP-8RDA3+", 1, "http://www.epox.com/product.asp?ID=EP-8RDA3plus", NULL),
339 B("EPoX", "EP-BX3", 1, "http://www.epox.com/product.asp?ID=EP-BX3", NULL),
340 B("FIC", "VA-502", 0, "ftp://ftp.fic.com.tw/motherboard/manual/socket7/va-502/", NULL),
341 B("GIGABYTE", "GA-2761GXDK", 1, "http://www.computerbase.de/news/hardware/mainboards/amd-systeme/2007/mai/gigabyte_dtx-mainboard/", NULL),
Peter Lemenkov8b83f552010-06-04 16:39:35 +0000342 B("GIGABYTE", "GA-6BXC", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1445", NULL),
343 B("GIGABYTE", "GA-6BXDU", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1429", NULL),
344 B("GIGABYTE", "GA-6ZMA", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1541", NULL),
345 B("GIGABYTE", "GA-7VT600", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1666", NULL),
346 B("GIGABYTE", "GA-7ZM", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1366", "Works fine if you remove jumper JP9 on the board and disable the flash protection BIOS option."),
347 B("GIGABYTE", "GA-965P-DS4", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2288", NULL),
348 B("GIGABYTE", "GA-EP35-DS3L", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2778", NULL),
349 B("GIGABYTE", "GA-EX58-UD4P", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2986", NULL),
350 B("GIGABYTE", "GA-K8N-SLI", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1928", NULL),
351 B("GIGABYTE", "GA-M57SLI-S4", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2287", NULL),
352 B("GIGABYTE", "GA-M61P-S3", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2434", NULL),
353 B("GIGABYTE", "GA-MA69VM-S2", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2500", NULL),
354 B("GIGABYTE", "GA-MA770T-UD3P", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=3096", NULL),
355 B("GIGABYTE", "GA-MA78G-DS3H", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2800", NULL), /* TODO: Rev 1.x or 2.x? */
356 B("GIGABYTE", "GA-MA78GM-S2H", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2758", NULL), /* TODO: Rev. 1.0, 1.1, or 2.x? */
357 B("GIGABYTE", "GA-MA78GPM-DS2H", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2859", NULL),
358 B("GIGABYTE", "GA-MA790FX-DQ6", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2690", NULL),
359 B("GIGABYTE", "GA-MA790GP-DS4H", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=2887", NULL),
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000360 B("HP", "DL145 G3", 1, "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00816835&lang=en&cc=us&taskId=101&prodSeriesId=3219755&prodTypeId=15351", NULL),
361 B("HP", "Vectra VL400 PC", 1, "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00060658&lang=en&cc=us", NULL),
362 B("HP", "Vectra VL420 SFF PC", 1, "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c00060661&lang=en&cc=us", NULL),
Michael Karcher2ead2e22010-06-01 16:09:06 +0000363 B("HP", "xw9400", 1, "http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp?lang=en&cc=us&prodSeriesId=3211286&prodTypeId=12454", "Boot block is write protected unless the solder points next to F2 are shorted." ),
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000364 B("IBM", "x3455", 1, "http://www-03.ibm.com/systems/x/hardware/rack/x3455/index.html", NULL),
365 B("Intel", "D201GLY", 1, "http://www.intel.com/support/motherboards/desktop/d201gly/index.htm", NULL),
366 B("Intel", "EP80759", 1, NULL, NULL),
367 B("IWILL", "DK8-HTX", 1, "http://web.archive.org/web/20060507170150/http://www.iwill.net/product_2.asp?p_id=98", NULL),
368 B("Jetway", "J7F4K1G5D-PB", 1, "http://www.jetway.com.tw/jetway/system/productshow2.asp?id=389&proname=J7F4K1G5D-P", NULL),
369 B("Kontron", "986LCD-M", 1, "http://de.kontron.com/products/boards+and+mezzanines/embedded+motherboards/miniitx+motherboards/986lcdmmitx.html", NULL),
370 B("Mitac", "6513WU", 1, "http://web.archive.org/web/20050313054828/http://www.mitac.com/micweb/products/tyan/6513wu/6513wu.htm", NULL),
371 B("MSI", "MS-6153", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=336", NULL),
372 B("MSI", "MS-6156", 1, "http://uk.ts.fujitsu.com/rl/servicesupport/techsupport/boards/Motherboards/MicroStar/Ms6156/MS6156.htm", NULL),
373 B("MSI", "MS-6178", 0, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=343", "Immediately powers off if you try to hot-plug the chip. However, this does '''not''' happen if you use coreboot."),
374 B("MSI", "MS-6330 (K7T Turbo)", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=327", NULL),
375 B("MSI", "MS-6570 (K7N2)", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=519", NULL),
376 B("MSI", "MS-6590 (KT4 Ultra)", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=502", NULL),
377 B("MSI", "MS-6702E (K8T Neo2-F)",1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=588", NULL),
378 B("MSI", "MS-6712 (KT4V)", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=505", NULL),
379 B("MSI", "MS-7005 (651M-L)", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=559", NULL),
380 B("MSI", "MS-7046", 1, "http://www.heimir.de/ms7046/", NULL),
381 B("MSI", "MS-7065", 1, "http://browse.geekbench.ca/geekbench2/view/53114", NULL),
382 B("MSI", "MS-7135 (K8N Neo3)", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=170", NULL),
383 B("MSI", "MS-7168 (Orion)", 1, "http://support.packardbell.co.uk/uk/item/index.php?i=spec_orion&pi=platform_honeymoon_istart", NULL),
384 B("MSI", "MS-7236 (945PL Neo3)", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=1173", NULL),
385 B("MSI", "MS-7255 (P4M890M)", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=1082", NULL),
386 B("MSI", "MS-7260, (K9N Neo)", 0, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=255", "Interestingly flashrom does not work when the vendor BIOS is booted, but it ''does'' work flawlessly when the machine is booted with coreboot."),
387 B("MSI", "MS-7312 (K9MM-V)", 1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=1104", NULL),
388 B("MSI", "MS-7345 (P35 Neo2-FIR)",1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=1261", NULL),
389 B("MSI", "MS-7368 (K9AG Neo2-Digital)",1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=1241", NULL),
390 B("MSI", "MS-7376 (K9A2 Platinum)",1, "http://www.msi.com/index.php?func=proddesc&maincat_no=1&prod_no=1332", NULL),
391 B("NEC", "PowerMate 2000", 1, "http://support.necam.com/mobilesolutions/hardware/Desktops/pm2000/celeron/", NULL),
392 B("Nokia", "IP530", 1, NULL, NULL),
393 B("PC Engines", "Alix.1c", 1, "http://pcengines.ch/alix1c.htm", NULL),
394 B("PC Engines", "Alix.2c2", 1, "http://pcengines.ch/alix2c2.htm", NULL),
395 B("PC Engines", "Alix.2c3", 1, "http://pcengines.ch/alix2c3.htm", NULL),
396 B("PC Engines", "Alix.3c3", 1, "http://pcengines.ch/alix3c3.htm", NULL),
397 B("PC Engines", "Alix.3d3", 1, "http://pcengines.ch/alix3d3.htm", NULL),
398 B("PC Engines", "WRAP.2E", 1, "http://pcengines.ch/wrap2e1.htm", NULL),
399 B("RCA", "RM4100", 1, "http://www.settoplinux.org/index.php?title=RCA_RM4100", NULL),
400 B("Shuttle", "AK31", 1, "http://www.motherboard.cz/mb/shuttle/AK31.htm", NULL),
401 B("Shuttle", "AK38N", 1, "http://eu.shuttle.com/en/desktopdefault.aspx/tabid-36/558_read-9889/", NULL),
402 B("Shuttle", "FD37", 1, "http://www.shuttle.eu/products/discontinued/barebones/sd37p2/", NULL),
403 B("Shuttle", "FN25", 1, "http://www.shuttle.eu/products/discontinued/barebones/sn25p/?0=", NULL),
404 B("Soyo", "SY-5VD", 0, "http://www.soyo.com/content/Downloads/163/&c=80&p=464&l=English", NULL),
405 B("Soyo", "SY-7VCA", 1, "http://www.tomshardware.com/reviews/12-socket-370-motherboards,196-15.html", NULL),
406 B("Sun", "Blade x6250", 1, "http://www.sun.com/servers/blades/x6250/", NULL),
407 B("Sun", "Fire x4150", 0, "http://www.sun.com/servers/x64/x4150/", NULL),
408 B("Sun", "Fire x4200", 0, "http://www.sun.com/servers/entry/x4200/", NULL),
409 B("Sun", "Fire x4540", 0, "http://www.sun.com/servers/x64/x4540/", NULL),
410 B("Sun", "Fire x4600", 0, "http://www.sun.com/servers/x64/x4600/", NULL),
411 B("Supermicro", "H8QC8", 1, "http://www.supermicro.com/Aplus/motherboard/Opteron/nforce/H8QC8.cfm", NULL),
412 B("Supermicro", "X8DTT-F", 1, "http://www.supermicro.com/products/motherboard/QPI/5500/X8DTT-F.cfm", NULL),
413 B("T-Online", "S-100", 1, "http://wiki.freifunk-hannover.de/T-Online_S_100", NULL),
414 B("Tekram", "P6Pro-A5", 1, "http://www.motherboard.cz/mb/tekram/P6Pro-A5.htm", NULL),
415 B("Termtek", "TK-3370 (Rev:2.5B)", 1, NULL, NULL),
416 B("Thomson", "IP1000", 1, "http://www.settoplinux.org/index.php?title=Thomson_IP1000", NULL),
417 B("TriGem", "Lomita", 1, "http://www.e4allupgraders.info/dir1/motherboards/socket370/lomita.shtml", NULL),
418 B("Tyan", "iS5375-1U", 1, "http://www.tyan.com/product_board_detail.aspx?pid=610", NULL),
419 B("Tyan", "S1846", 1, "http://www.tyan.com/archive/products/html/tsunamiatx.html", NULL),
420 B("Tyan", "S2466", 1, "http://www.tyan.com/product_board_detail.aspx?pid=461", NULL),
421 B("Tyan", "S2498 (Tomcat K7M)", 1, "http://www.tyan.com/archive/products/html/tomcatk7m.html", NULL),
422 B("Tyan", "S2881", 1, "http://www.tyan.com/product_board_detail.aspx?pid=115", NULL),
423 B("Tyan", "S2882", 1, "http://www.tyan.com/product_board_detail.aspx?pid=121", NULL),
424 B("Tyan", "S2882-D", 1, "http://www.tyan.com/product_board_detail.aspx?pid=127", NULL),
425 B("Tyan", "S2891", 1, "http://www.tyan.com/product_board_detail.aspx?pid=144", NULL),
426 B("Tyan", "S2892", 1, "http://www.tyan.com/product_board_detail.aspx?pid=145", NULL),
427 B("Tyan", "S2895", 1, "http://www.tyan.com/archive/products/html/thunderk8we.html", NULL),
428 B("Tyan", "S3095", 1, "http://www.tyan.com/product_board_detail.aspx?pid=181", NULL),
429 B("Tyan", "S5180", 1, "http://www.tyan.com/product_board_detail.aspx?pid=456", NULL),
430 B("Tyan", "S5191", 1, "http://www.tyan.com/product_board_detail.aspx?pid=343", NULL),
431 B("Tyan", "S5197", 1, "http://www.tyan.com/product_board_detail.aspx?pid=349", NULL),
432 B("Tyan", "S5211", 1, "http://www.tyan.com/product_board_detail.aspx?pid=591", NULL),
433 B("Tyan", "S5211-1U", 1, "http://www.tyan.com/product_board_detail.aspx?pid=593", NULL),
434 B("Tyan", "S5220", 1, "http://www.tyan.com/product_board_detail.aspx?pid=597", NULL),
435 B("Tyan", "S5375", 1, "http://www.tyan.com/product_board_detail.aspx?pid=566", NULL),
436 B("Tyan", "S5376G2NR/S5376WAG2NR",1, "http://www.tyan.com/product_board_detail.aspx?pid=605", NULL),
437 B("Tyan", "S5377", 1, "http://www.tyan.com/product_SKU_spec.aspx?ProductType=MB&pid=642&SKU=600000017", NULL),
438 B("Tyan", "S5382 (Tempest i5000PW)",1, "http://www.tyan.com/product_board_detail.aspx?pid=439", NULL),
439 B("Tyan", "S5397", 1, "http://www.tyan.com/product_board_detail.aspx?pid=560", NULL),
440 B("VIA", "EPIA M/MII/...", 1, "http://www.via.com.tw/en/products/embedded/ProductDetail.jsp?productLine=1&motherboard_id=202", NULL), /* EPIA-MII link for now */
441 B("VIA", "EPIA SP", 1, "http://www.via.com.tw/en/products/embedded/ProductDetail.jsp?productLine=1&motherboard_id=261", NULL),
442 B("VIA", "EPIA-CN", 1, "http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=400", NULL),
443 B("VIA", "EPIA-EX15000G", 1, "http://www.via.com.tw/en/products/embedded/ProductDetail.jsp?productLine=1&motherboard_id=450", NULL),
444 B("VIA", "EPIA-LN", 1, "http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=473", NULL),
445 B("VIA", "EPIA-M700", 1, "http://via.com.tw/servlet/downloadSvl?motherboard_id=670&download_file_id=3700", NULL),
446 B("VIA", "EPIA-N/NL", 1, "http://www.via.com.tw/en/products/embedded/ProductDetail.jsp?productLine=1&motherboard_id=221", NULL), /* EPIA-N link for now */
447 B("VIA", "EPIA-NX15000G", 1, "http://www.via.com.tw/en/products/embedded/ProductDetail.jsp?productLine=1&motherboard_id=470", NULL),
448 B("VIA", "NAB74X0", 1, "http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=590", NULL),
449 B("VIA", "pc2500e", 1, "http://www.via.com.tw/en/initiatives/empowered/pc2500_mainboard/index.jsp", NULL),
450 B("VIA", "PC3500G", 1, "http://www.via.com.tw/en/initiatives/empowered/pc3500_mainboard/index.jsp", NULL),
451 B("VIA", "VB700X", 1, "http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=490", NULL),
Carl-Daniel Hailfingercceafa22010-05-26 01:45:41 +0000452#endif
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000453
Uwe Hermannd0e347d2009-10-06 13:00:00 +0000454 {},
455};
456
457/* Please keep this list alphabetically ordered by vendor/board. */
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000458const struct board_info laptops_known[] = {
Carl-Daniel Hailfingercceafa22010-05-26 01:45:41 +0000459#if defined(__i386__) || defined(__x86_64__)
Uwe Hermann301703b2010-06-03 16:35:51 +0000460 B("Acer", "Aspire 1520", 1, "http://support.acer.com/us/en/acerpanam/notebook/0000/Acer/Aspire1520/Aspire1520nv.shtml", NULL),
461 B("Acer", "Aspire One", 0, NULL, "http://www.coreboot.org/pipermail/coreboot/2009-May/048041.html"),
462 B("ASUS", "Eee PC 701 4G", 0, "http://www.asus.com/product.aspx?P_ID=h6SPd3tEzLEsrEiS", "It seems the chip (25X40VSIG) is behind some SPI flash translation layer (likely in the EC, the ENE KB3310)."),
463 B("Dell", "Latitude CPi A366XT", 0, "http://www.coreboot.org/Dell_Latitude_CPi_A366XT", "The laptop immediately powers off if you try to hot-swap the chip. It's not yet tested if write/erase would work on this laptop."),
464 B("HP/Compaq", "nx9010", 0, "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c00348514", "Hangs upon '''flashrom -V''' (needs hard power-cycle then)."),
465 B("IBM/Lenovo", "Thinkpad T40p", 0, "http://www.thinkwiki.org/wiki/Category:T40p", NULL),
466 B("IBM/Lenovo", "240", 0, "http://www.stanford.edu/~bresnan//tp240.html", "Seems to (partially) work at first, but one block/sector cannot be written which then leaves you with a bricked laptop. Maybe this can be investigated and fixed in software later."),
467 B("Lenovo", "3000 V100 TF05Cxx", 1, "http://www5.pc.ibm.com/europe/products.nsf/products?openagent&brand=Lenovo3000Notebook&series=Lenovo+3000+V+Series#viewallmodelstop", NULL),
Carl-Daniel Hailfingercceafa22010-05-26 01:45:41 +0000468#endif
Uwe Hermannd0e347d2009-10-06 13:00:00 +0000469
Uwe Hermannd0e347d2009-10-06 13:00:00 +0000470 {},
471};
Carl-Daniel Hailfinger66ef4e52009-12-13 22:28:00 +0000472#endif