Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | # # For a description of the syntax of this configuration file, # see the Configure script. # mainmenu_name "Linux/CRIS Kernel Configuration" define_bool CONFIG_UID16 y mainmenu_option next_comment comment 'Code maturity level options' bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL endmenu mainmenu_option next_comment comment 'General setup' bool 'Networking support' CONFIG_NET bool 'System V IPC' CONFIG_SYSVIPC tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then tristate 'Kernel support for JAVA binaries' CONFIG_BINFMT_JAVA fi bool 'Use kernel gdb debugger' CONFIG_KGDB bool 'Enable Etrax100 watchdog' CONFIG_ETRAX_WATCHDOG bool 'Use serial console (on the debug port)' CONFIG_USE_SERIAL_CONSOLE bool 'Use in-kernel ifconfig/route setup' CONFIG_KERNEL_IFCONFIG endmenu mainmenu_option next_comment comment 'Hardware setup' choice 'Processor type' \ "Etrax-100-LX CONFIG_ETRAX100LX \ Etrax-100-LX-for-xsim-simulator CONFIG_SVINTO_SIM" Etrax-100-LX # For both LX version 1 and the current simulator we enable the low VM mapping # Later when LX version 2 and above exist, this should be done with an if define_bool CONFIG_CRIS_LOW_MAP y hex 'DRAM base (hex)' ETRAX_DRAM_BASE 40000000 int 'DRAM size (dec, in MB)' ETRAX_DRAM_SIZE 8 int 'Max possible flash size (dec, in MB)' CONFIG_ETRAX_FLASH_LENGTH 2 int 'Buswidth of flash in bytes' CONFIG_ETRAX_FLASH_BUSWIDTH 2 choice 'Product LED port' \ "Port-PA-LEDs CONFIG_ETRAX_PA_LEDS \ Port-PB-LEDs CONFIG_ETRAX_PB_LEDS \ Mem-0x90000000-LEDs CONFIG_ETRAX_90000000_LEDS \ None CONFIG_ETRAX_NO_LEDS" Port-PA-LEDs if [ "$CONFIG_ETRAX_NO_LEDS" != "y" ]; then int ' First green LED bit' CONFIG_ETRAX_LED1G 2 int ' First red LED bit' CONFIG_ETRAX_LED1R 3 int ' Second green LED bit' CONFIG_ETRAX_LED2G 4 int ' Second red LED bit' CONFIG_ETRAX_LED2R 5 int ' Third green LED bit' CONFIG_ETRAX_LED3R 2 int ' Third red LED bit' CONFIG_ETRAX_LED3G 2 fi choice 'Product debug-port' \ "Serial-0 CONFIG_DEBUG_PORT0 \ Serial-1 CONFIG_DEBUG_PORT1 \ Serial-2 CONFIG_DEBUG_PORT2 \ Serial-3 CONFIG_DEBUG_PORT3" Serial-0 hex 'R_WAITSTATES' DEF_R_WAITSTATES 95a6 hex 'R_BUS_CONFIG' DEF_R_BUS_CONFIG 104 hex 'R_DRAM_CONFIG' DEF_R_DRAM_CONFIG 1a200040 hex 'R_DRAM_TIMING' DEF_R_DRAM_TIMING 5611 hex 'R_PORT_PA_DIR' DEF_R_PORT_PA_DIR 1c hex 'R_PORT_PA_DATA' DEF_R_PORT_PA_DATA 00 hex 'R_PORT_PB_CONFIG' DEF_R_PORT_PB_CONFIG 00 hex 'R_PORT_PB_DIR' DEF_R_PORT_PB_DIR 00 hex 'R_PORT_PB_DATA' DEF_R_PORT_PB_DATA ff endmenu # only configure IP numbers if the kernel ifconfig/route setup is enabled if [ "$CONFIG_KERNEL_IFCONFIG" = "y" ]; then mainmenu_option next_comment comment 'IP address selection' comment 'All addresses are in hexadecimal form without 0x prefix' hex 'IP address' ELTEST_IPADR ab1005af hex 'Network' ELTEST_NETWORK ab100000 hex 'Netmask' ELTEST_NETMASK ffff0000 hex 'Broadcast' ELTEST_BROADCAST ab10ffff hex 'Gateway' ELTEST_GATEWAY ab100101 hwaddr 'Ethernet address' ELTEST_ETHADR 00408ccd0000 endmenu fi # bring in Etrax built-in drivers source arch/cris/drivers/Config.in # standard linux drivers source drivers/mtd/Config.in source drivers/parport/Config.in source drivers/pnp/Config.in source drivers/block/Config.in source drivers/md/Config.in if [ "$CONFIG_NET" = "y" ]; then source net/Config.in fi source drivers/telephony/Config.in mainmenu_option next_comment comment 'ATA/IDE/MFM/RLL support' tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE if [ "$CONFIG_IDE" != "n" ]; then source drivers/ide/Config.in else define_bool CONFIG_BLK_DEV_IDE_MODES n define_bool CONFIG_BLK_DEV_HD n fi endmenu mainmenu_option next_comment comment 'SCSI support' tristate 'SCSI support' CONFIG_SCSI if [ "$CONFIG_SCSI" != "n" ]; then source drivers/scsi/Config.in fi endmenu source drivers/ieee1394/Config.in source drivers/i2o/Config.in if [ "$CONFIG_NET" = "y" ]; then mainmenu_option next_comment comment 'Network device support' bool 'Network device support' CONFIG_NETDEVICES if [ "$CONFIG_NETDEVICES" = "y" ]; then source drivers/net/Config.in if [ "$CONFIG_ATM" = "y" ]; then source drivers/atm/Config.in fi fi endmenu fi source net/ax25/Config.in source net/irda/Config.in mainmenu_option next_comment comment 'ISDN subsystem' if [ "$CONFIG_NET" != "n" ]; then tristate 'ISDN support' CONFIG_ISDN if [ "$CONFIG_ISDN" != "n" ]; then source drivers/isdn/Config.in fi fi endmenu mainmenu_option next_comment comment 'Old CD-ROM drivers (not SCSI, not IDE)' bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then source drivers/cdrom/Config.in fi endmenu # # input before char - char/joystick depends on it. As does USB. # source drivers/input/Config.in source drivers/char/Config.in #source drivers/misc/Config.in source drivers/media/Config.in source fs/Config.in source drivers/char/Config.in mainmenu_option next_comment comment 'Sound' tristate 'Sound card support' CONFIG_SOUND if [ "$CONFIG_SOUND" != "n" ]; then source drivers/sound/Config.in fi endmenu source drivers/usb/Config.in mainmenu_option next_comment comment 'Kernel hacking' #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC bool 'Kernel profiling support' CONFIG_PROFILE if [ "$CONFIG_PROFILE" = "y" ]; then int ' Profile shift count' CONFIG_PROFILE_SHIFT 2 fi endmenu |