How to configure the Linux kernel/arch/cris/arch-v32

Howto configure the Linux kernel / arch / cris / arch-v32


 * Option: ETRAX_DRAM_VIRTUAL_BASE
 * Kernel Versions: 2.6.15.6 ...


 * depends on ETRAX_ARCH_V32
 * default "c0000000"

"First green LED bit"
 * Option: ETRAX_LED1G
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "PA3"
 * Bit to use for the first green LED (network LED). Most Axis products use bit A3 here.

"First red LED bit"
 * Option: ETRAX_LED1R
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "PA4"
 * Bit to use for the first red LED (network LED). Most Axis products use bit A4 here.

"Second green LED bit"
 * Option: ETRAX_LED2G
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "PA5"
 * Bit to use for the first green LED (status LED). Most Axis products use bit A5 here.

"Second red LED bit"
 * Option: ETRAX_LED2R
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "PA6"
 * Bit to use for the first red LED (network LED). Most Axis products use bit A6 here.

"Third green LED bit"
 * Option: ETRAX_LED3G
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "PA7"
 * Bit to use for the first green LED (drive/power LED). Most Axis products use bit A7 here.

"Third red LED bit"
 * Option: ETRAX_LED3R
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "PA7"
 * Bit to use for the first red LED (drive/power LED). Most Axis products use bit A7 here.

"Product debug-port"
 * depends on ETRAX_ARCH_V32
 * default ETRAX_DEBUG_PORT0


 * Option: ETRAX_DEBUG_PORT0
 * Kernel Versions: 2.6.15.6 ...
 * (on/off) Serial-0
 * Choose a serial port for the ETRAX debug console. Default to port 0.


 * Option: ETRAX_DEBUG_PORT1
 * Kernel Versions: 2.6.15.6 ...
 * (on/off) Serial-1
 * Use serial port 1 for the console.


 * Option: ETRAX_DEBUG_PORT2
 * Kernel Versions: 2.6.15.6 ...
 * (on/off) Serial-2
 * Use serial port 2 for the console.


 * Option: ETRAX_DEBUG_PORT3
 * Kernel Versions: 2.6.15.6 ...
 * (on/off) Serial-3
 * Use serial port 3 for the console.


 * Option: ETRAX_DEBUG_PORT_NULL
 * Kernel Versions: 2.6.15.6 ...
 * (on/off) disabled
 * Disable serial-port debugging.

"Kernel GDB port"
 * depends on ETRAX_KGDB
 * default ETRAX_KGDB_PORT0
 * Choose a serial port for kernel debugging. NOTE: This port should not be enabled under Drivers for built-in interfaces (as it has its own initialization code) and should not be the same as the debug port.


 * Option: ETRAX_KGDB_PORT0
 * Kernel Versions: 2.6.15.6 ...
 * (on/off) Serial-0
 * Use serial port 0 for kernel debugging.


 * Option: ETRAX_KGDB_PORT1
 * Kernel Versions: 2.6.15.6 ...
 * (on/off) Serial-1
 * Use serial port 1 for kernel debugging.


 * Option: ETRAX_KGDB_PORT2
 * Kernel Versions: 2.6.15.6 ...
 * (on/off) Serial-2
 * Use serial port 2 for kernel debugging.


 * Option: ETRAX_KGDB_PORT3
 * Kernel Versions: 2.6.15.6 ...
 * (on/off) Serial-3
 * Use serial port 3 for kernel debugging.

"MEM_GRP1_CONFIG"
 * Option: ETRAX_MEM_GRP1_CONFIG
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "4044a"
 * Waitstates for flash. The default value is suitable for the standard flashes used in axis products (120 ns).

"MEM_GRP2_CONFIG"
 * Option: ETRAX_MEM_GRP2_CONFIG
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "0"
 * Waitstates for SRAM. 0 is a good choice for most Axis products.

"MEM_GRP3_CONFIG"
 * Option: ETRAX_MEM_GRP3_CONFIG
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "0"
 * Waitstates for CSP0-3. 0 is a good choice for most Axis products. It may need to be changed if external devices such as extra register-mapped LEDs are used.

"MEM_GRP4_CONFIG"
 * Option: ETRAX_MEM_GRP4_CONFIG
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "0"
 * Waitstates for CSP4-6. 0 is a good choice for most Axis products.

"SDRAM_GRP0_CONFIG"
 * Option: ETRAX_SDRAM_GRP0_CONFIG
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "336"
 * SDRAM configuration for group 0. The value depends on the hardware configuration. The default value is suitable for 32 MB organized as two 16 bits chips (e.g. Axis part number 18550) connected as one 32 bit device (i.e. in the same group).

"SDRAM_GRP1_CONFIG"
 * Option: ETRAX_SDRAM_GRP1_CONFIG
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "0"
 * SDRAM configuration for group 1. The defult value is 0 because group 1 is not used in the default configuration, described in the help for SDRAM_GRP0_CONFIG.

"SDRAM_TIMING"
 * Option: ETRAX_SDRAM_TIMING
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "104a"
 * SDRAM timing parameters. The default value is ok for most hardwares but large SDRAMs may require a faster refresh (a.k.a 8K refresh). The default value implies 100MHz clock and SDR mode.

"SDRAM_COMMAND"
 * Option: ETRAX_SDRAM_COMMAND
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "0"
 * SDRAM command. Should be 0 unless you really know what you are doing (may be != 0 for unusual address line mappings such as in a MCM)..

"GIO_PA_OE"
 * Option: ETRAX_DEF_GIO_PA_OE
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "1c"
 * Configures the direction of general port A bits. 1 is out, 0 is in. This is often totally different depending on the product used. There are some guidelines though - if you know that only LED's are connected to port PA, then they are usually connected to bits 2-4 and you can therefore use 1c.  On other boards which don't have the LED's at the general ports, these bits are used for all kinds of stuff.  If you don't know what to use, it is always safe to put all as inputs, although floating inputs isn't good.

"GIO_PA_OUT"
 * Option: ETRAX_DEF_GIO_PA_OUT
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "00"
 * Configures the initial data for the general port A bits. Most products should use 00 here.

"GIO_PB_OE"
 * Option: ETRAX_DEF_GIO_PB_OE
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "00000"
 * Configures the direction of general port B bits. 1 is out, 0 is in. This is often totally different depending on the product used. There are some guidelines though - if you know that only LED's are connected to port PA, then they are usually connected to bits 2-4 and you can therefore use 1c.  On other boards which don't have the LED's at the general ports, these bits are used for all kinds of stuff.  If you don't know what to use, it is always safe to put all as inputs, although floating inputs isn't good.

"GIO_PB_OUT"
 * Option: ETRAX_DEF_GIO_PB_OUT
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "00000"
 * Configures the initial data for the general port B bits. Most products should use 00000 here.

"GIO_PC_OE"
 * Option: ETRAX_DEF_GIO_PC_OE
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "00000"
 * Configures the direction of general port C bits. 1 is out, 0 is in. This is often totally different depending on the product used. There are some guidelines though - if you know that only LED's are connected to port PA, then they are usually connected to bits 2-4 and you can therefore use 1c.  On other boards which don't have the LED's at the general ports, these bits are used for all kinds of stuff.  If you don't know what to use, it is always safe to put all as inputs, although floating inputs isn't good.

"GIO_PC_OUT"
 * Option: ETRAX_DEF_GIO_PC_OUT
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "00000"
 * Configures the initial data for the general port C bits. Most products should use 00000 here.

"GIO_PD_OE"
 * Option: ETRAX_DEF_GIO_PD_OE
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "00000"
 * Configures the direction of general port D bits. 1 is out, 0 is in. This is often totally different depending on the product used. There are some guidelines though - if you know that only LED's are connected to port PA, then they are usually connected to bits 2-4 and you can therefore use 1c.  On other boards which don't have the LED's at the general ports, these bits are used for all kinds of stuff.  If you don't know what to use, it is always safe to put all as inputs, although floating inputs isn't good.

"GIO_PD_OUT"
 * Option: ETRAX_DEF_GIO_PD_OUT
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "00000"
 * Configures the initial data for the general port D bits. Most products should use 00000 here.

"GIO_PE_OE"
 * Option: ETRAX_DEF_GIO_PE_OE
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "00000"
 * Configures the direction of general port E bits. 1 is out, 0 is in. This is often totally different depending on the product used. There are some guidelines though - if you know that only LED's are connected to port PA, then they are usually connected to bits 2-4 and you can therefore use 1c.  On other boards which don't have the LED's at the general ports, these bits are used for all kinds of stuff.  If you don't know what to use, it is always safe to put all as inputs, although floating inputs isn't good.

"GIO_PE_OUT"
 * Option: ETRAX_DEF_GIO_PE_OUT
 * Kernel Versions: 2.6.15.6 ...
 * depends on ETRAX_ARCH_V32
 * default "00000"
 * Configures the initial data for the general port E bits. Most products should use 00000 here.

Linux Kernel Configuration