Changeset 1203
- Timestamp:
- 10/08/10 14:40:09 (20 months ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
Makefile (modified) (2 diffs)
-
README (modified) (2 diffs)
-
ft2232_spi.c (modified) (1 diff)
-
print_wiki.c (modified) (1 diff)
-
processor_enable.c (modified) (1 diff)
-
serial.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r1198 r1203 116 116 CONFIG_RAYER_SPI ?= yes 117 117 118 # Always enable 3Com NICs for now. 119 CONFIG_NIC3COM ?= yes 120 121 # Enable NVIDIA graphics cards. Note: write and erase do not work properly. 122 CONFIG_GFXNVIDIA ?= yes 123 124 # Always enable SiI SATA controllers for now. 125 CONFIG_SATASII ?= yes 126 127 # Highpoint (HPT) ATA/RAID controller support. 128 # IMPORTANT: This code is not yet working! 129 CONFIG_ATAHPT ?= no 130 131 # Always enable FT2232 SPI dongles for now. 132 CONFIG_FT2232_SPI ?= yes 133 134 # Always enable dummy tracing for now. 135 CONFIG_DUMMY ?= yes 136 137 # Always enable Dr. Kaiser for now. 138 CONFIG_DRKAISER ?= yes 139 140 # Always enable Realtek NICs for now. 141 CONFIG_NICREALTEK ?= yes 142 143 # Disable National Semiconductor NICs until support is complete and tested. 144 CONFIG_NICNATSEMI ?= no 145 146 # Always enable SPI on Intel NICs for now. 147 CONFIG_NICINTEL_SPI ?= yes 148 149 # Always enable Bus Pirate SPI for now. 150 CONFIG_BUSPIRATE_SPI ?= yes 151 152 # Disable Dediprog SF100 until support is complete and tested. 153 CONFIG_DEDIPROG ?= no 154 155 # Disable wiki printing by default. It is only useful if you have wiki access. 156 CONFIG_PRINT_WIKI ?= no 157 118 158 # Bitbanging SPI infrastructure, default off unless needed. 119 159 ifeq ($(CONFIG_RAYER_SPI), yes) … … 130 170 endif 131 171 endif 132 133 # Always enable 3Com NICs for now.134 CONFIG_NIC3COM ?= yes135 136 # Enable NVIDIA graphics cards. Note: write and erase do not work properly.137 CONFIG_GFXNVIDIA ?= yes138 139 # Always enable SiI SATA controllers for now.140 CONFIG_SATASII ?= yes141 142 # Highpoint (HPT) ATA/RAID controller support.143 # IMPORTANT: This code is not yet working!144 CONFIG_ATAHPT ?= no145 146 # Always enable FT2232 SPI dongles for now.147 CONFIG_FT2232_SPI ?= yes148 149 # Always enable dummy tracing for now.150 CONFIG_DUMMY ?= yes151 152 # Always enable Dr. Kaiser for now.153 CONFIG_DRKAISER ?= yes154 155 # Always enable Realtek NICs for now.156 CONFIG_NICREALTEK ?= yes157 158 # Disable National Semiconductor NICs until support is complete and tested.159 CONFIG_NICNATSEMI ?= no160 161 # Always enable SPI on Intel NICs for now.162 CONFIG_NICINTEL_SPI ?= yes163 164 # Always enable Bus Pirate SPI for now.165 CONFIG_BUSPIRATE_SPI ?= yes166 167 # Disable Dediprog SF100 until support is complete and tested.168 CONFIG_DEDIPROG ?= no169 170 # Disable wiki printing by default. It is only useful if you have wiki access.171 CONFIG_PRINT_WIKI ?= no172 172 173 173 ifeq ($(CONFIG_INTERNAL), yes) -
trunk/README
r1198 r1203 43 43 ------------------ 44 44 45 To build flashrom you need to install the following packages or ports: 45 To build flashrom you need to install the following software: 46 47 * pciutils+libpci (if you want support for mainboard or PCI device flashing) 48 * libusb (if you want FT2232 or Dediprog support) 49 * libftdi (if you want FT2232 support) 46 50 47 51 Linux et al: … … 112 116 CWSDPMI.EXE is in the current directory. 113 117 118 Processor architecture dependent features: 119 120 On non-x86 architectures you have to disable a few programmers because they 121 use port-based I/O which is not directly available on non-x86. Please add 122 CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_ATAHPT=no CONFIG_NICREALTEK=no \ 123 CONFIG_NICNATSEMI=no 124 as parameters to the "make" invocation. 125 Besides that, the internal programmer is only supported on x86 and MIPS. On 126 other architectures, please add 127 CONFIG_INTERNAL=no 128 as parameter to the "make" invocation. 129 114 130 Installation 115 131 ------------ -
trunk/ft2232_spi.c
r1199 r1203 149 149 arg = extract_programmer_param("port"); 150 150 if (arg) { 151 switch (toupper( *arg)) {151 switch (toupper((unsigned char)*arg)) { 152 152 case 'A': 153 153 ft2232_interface = INTERFACE_A; -
trunk/print_wiki.c
r1151 r1203 269 269 270 270 printf(wiki_header, ctime(&t), flashrom_version); 271 print_supported_chips_wiki(2); 271 272 #if CONFIG_INTERNAL == 1 272 print_supported_chips_wiki(2);273 273 print_supported_chipsets_wiki(3); 274 274 print_supported_boards_wiki(); -
trunk/processor_enable.c
r1183 r1203 54 54 break; 55 55 ptr = line; 56 while (*ptr && isspace( *ptr))56 while (*ptr && isspace((unsigned char)*ptr)) 57 57 ptr++; 58 58 /* "cpu" part appears only with some Linux versions. */ 59 59 if (strncmp(ptr, "cpu", sizeof("cpu") - 1) == 0) 60 60 ptr += sizeof("cpu") - 1; 61 while (*ptr && isspace( *ptr))61 while (*ptr && isspace((unsigned char)*ptr)) 62 62 ptr++; 63 63 if (strncmp(ptr, "model", sizeof("model") - 1) != 0) 64 64 continue; 65 65 ptr += sizeof("model") - 1; 66 while (*ptr && isspace( *ptr))66 while (*ptr && isspace((unsigned char)*ptr)) 67 67 ptr++; 68 68 if (*ptr != ':') 69 69 continue; 70 70 ptr++; 71 while (*ptr && isspace( *ptr))71 while (*ptr && isspace((unsigned char)*ptr)) 72 72 ptr++; 73 73 fclose(cpuinfo); -
trunk/serial.c
r1196 r1203 107 107 HANDLE fd; 108 108 char *dev2 = dev; 109 if ((strlen(dev) > 3) && (tolower(dev[0]) == 'c') 110 && (tolower(dev[1]) == 'o') && (tolower(dev[2]) == 'm')) { 109 if ((strlen(dev) > 3) && (tolower((unsigned char)dev[0]) == 'c') && 110 (tolower((unsigned char)dev[1]) == 'o') && 111 (tolower((unsigned char)dev[2]) == 'm')) { 111 112 dev2 = malloc(strlen(dev) + 5); 112 113 strcpy(dev2, "\\\\.\\");
Note: See TracChangeset
for help on using the changeset viewer.
