Fandom

How To Wiki

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

< How to configure the Linux kernel | arch | cris | arch-v32

1,795pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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



  • Option: ETRAX_ETHERNET
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ethernet support
    • depends on ETRAX_ARCH_V32
    • select NET_ETHERNET
      This option enables the ETRAX FS built-in 10/100Mbit Ethernet controller.


  • Option: ETRAX_ETHERNET_HW_CSUM
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Hardware accelerated ethernet checksum and scatter/gather
    • depends on ETRAX_ETHERNET
    • depends on ETRAX_STREAMCOPROC
    • default y
      Hardware acceleration of checksumming and scatter/gather


  • Option: ETRAX_ETHERNET_IFACE0
    • Kernel Versions: 2.6.15.6 ...
    • depends on ETRAX_ETHERNET
    • (on/off) Enable network interface 0


  • Option: ETRAX_ETHERNET_IFACE1
    • Kernel Versions: 2.6.15.6 ...
    • depends on ETRAX_ETHERNET
    • (on/off) Enable network interface 1 (uses DMA6 and DMA7)


"Network LED behavior"

    • depends on ETRAX_ETHERNET
    • default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY


  • Option: ETRAX_NETWORK_LED_ON_WHEN_LINK
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) LED_on_when_link
      Selecting LED_on_when_link will light the LED when there is a connection and will flash off when there is activity.
      Selecting LED_on_when_activity will light the LED only when there is activity.
      This setting will also affect the behaviour of other activity LEDs e.g. Bluetooth.


  • Option: ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) LED_on_when_activity
      Selecting LED_on_when_link will light the LED when there is a connection and will flash off when there is activity.
      Selecting LED_on_when_activity will light the LED only when there is activity.
      This setting will also affect the behaviour of other activity LEDs e.g. Bluetooth.



  • Option: ETRAXFS_SERIAL
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Serial-port support
    • depends on ETRAX_ARCH_V32
      Enables the ETRAX FS serial driver for ser0 (ttyS0) You probably want this enabled.


  • Option: ETRAX_SERIAL_PORT0
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Serial port 0 enabled
    • depends on ETRAXFS_SERIAL
      Enables the ETRAX FS serial driver for ser0 (ttyS0) Normally you want this on. You can control what DMA channels to use if you do not need DMA to something else. ser0 can use dma4 or dma6 for output and dma5 or dma7 for input.


"Ser0 DMA in channel "

    • depends on ETRAX_SERIAL_PORT0
    • default ETRAX_SERIAL_PORT0_NO_DMA_IN
      What DMA channel to use for ser0.



  • Option: ETRAX_SERIAL_PORT0_NO_DMA_IN
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser0 uses no DMA for input
      Do not use DMA for ser0 input.


  • Option: ETRAX_SERIAL_PORT0_DMA7_IN
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser0 uses DMA7 for input
    • depends on ETRAX_SERIAL_PORT0
      Enables the DMA7 input channel for ser0 (ttyS0). If you do not enable DMA, an interrupt for each character will be used when receiving data. Normally you want to use DMA, unless you use the DMA channel for something else.



"Ser0 DMA out channel"

    • depends on ETRAX_SERIAL_PORT0
    • default ETRAX_SERIAL_PORT0_NO_DMA_OUT


  • Option: ETRAX_SERIAL_PORT0_NO_DMA_OUT
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser0 uses no DMA for output
      Do not use DMA for ser0 output.


  • Option: ETRAX_SERIAL_PORT0_DMA6_OUT
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser0 uses DMA6 for output
    • depends on ETRAX_SERIAL_PORT0
      Enables the DMA6 output channel for ser0 (ttyS0). If you do not enable DMA, an interrupt for each character will be used when transmitting data. Normally you want to use DMA, unless you use the DMA channel for something else.



  • Option: ETRAX_SER0_DTR_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 0 DTR bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT0


  • Option: ETRAX_SER0_RI_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 0 RI bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT0


  • Option: ETRAX_SER0_DSR_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 0 DSR bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT0


  • Option: ETRAX_SER0_CD_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 0 CD bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT0


  • Option: ETRAX_SERIAL_PORT1
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Serial port 1 enabled
    • depends on ETRAXFS_SERIAL
      Enables the ETRAX FS serial driver for ser1 (ttyS1).


"Ser1 DMA in channel "

    • depends on ETRAX_SERIAL_PORT1
    • default ETRAX_SERIAL_PORT1_NO_DMA_IN
      What DMA channel to use for ser1.



  • Option: ETRAX_SERIAL_PORT1_NO_DMA_IN
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser1 uses no DMA for input
      Do not use DMA for ser1 input.


  • Option: ETRAX_SERIAL_PORT1_DMA5_IN
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser1 uses DMA5 for input
    • depends on ETRAX_SERIAL_PORT1
      Enables the DMA5 input channel for ser1 (ttyS1). If you do not enable DMA, an interrupt for each character will be used when receiving data. Normally you want this on, unless you use the DMA channel for something else.



"Ser1 DMA out channel "

    • depends on ETRAX_SERIAL_PORT1
    • default ETRAX_SERIAL_PORT1_NO_DMA_OUT
      What DMA channel to use for ser1.


  • Option: ETRAX_SERIAL_PORT1_NO_DMA_OUT
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser1 uses no DMA for output
      Do not use DMA for ser1 output.


  • Option: ETRAX_SERIAL_PORT1_DMA4_OUT
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser1 uses DMA4 for output
    • depends on ETRAX_SERIAL_PORT1
      Enables the DMA4 output channel for ser1 (ttyS1). If you do not enable DMA, an interrupt for each character will be used when transmitting data. Normally you want this on, unless you use the DMA channel for something else.



  • Option: ETRAX_SER1_DTR_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 1 DTR bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT1


  • Option: ETRAX_SER1_RI_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 1 RI bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT1


  • Option: ETRAX_SER1_DSR_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 1 DSR bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT1


  • Option: ETRAX_SER1_CD_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 1 CD bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT1


  • Option: ETRAX_SERIAL_PORT2
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Serial port 2 enabled
    • depends on ETRAXFS_SERIAL
      Enables the ETRAX FS serial driver for ser2 (ttyS2).


"Ser2 DMA in channel "

    • depends on ETRAX_SERIAL_PORT2
    • default ETRAX_SERIAL_PORT2_NO_DMA_IN
      What DMA channel to use for ser2.



  • Option: ETRAX_SERIAL_PORT2_NO_DMA_IN
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser2 uses no DMA for input
      Do not use DMA for ser2 input.


  • Option: ETRAX_SERIAL_PORT2_DMA3_IN
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser2 uses DMA3 for input
    • depends on ETRAX_SERIAL_PORT2
      Enables the DMA3 input channel for ser2 (ttyS2). If you do not enable DMA, an interrupt for each character will be used when receiving data. Normally you want to use DMA, unless you use the DMA channel for something else.



"Ser2 DMA out channel"

    • depends on ETRAX_SERIAL_PORT2
    • default ETRAX_SERIAL_PORT2_NO_DMA_OUT


  • Option: ETRAX_SERIAL_PORT2_NO_DMA_OUT
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser2 uses no DMA for output
      Do not use DMA for ser2 output.


  • Option: ETRAX_SERIAL_PORT2_DMA2_OUT
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser2 uses DMA2 for output
    • depends on ETRAX_SERIAL_PORT2
      Enables the DMA2 output channel for ser2 (ttyS2). If you do not enable DMA, an interrupt for each character will be used when transmitting data. Normally you want to use DMA, unless you use the DMA channel for something else.



  • Option: ETRAX_SER2_DTR_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 2 DTR bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT2


  • Option: ETRAX_SER2_RI_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 2 RI bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT2


  • Option: ETRAX_SER2_DSR_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 2 DSR bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT2


  • Option: ETRAX_SER2_CD_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 2 CD bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT2


  • Option: ETRAX_SERIAL_PORT3
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Serial port 3 enabled
    • depends on ETRAXFS_SERIAL
      Enables the ETRAX FS serial driver for ser3 (ttyS3).


"Ser3 DMA in channel "

    • depends on ETRAX_SERIAL_PORT3
    • default ETRAX_SERIAL_PORT3_NO_DMA_IN
      What DMA channel to use for ser3.



  • Option: ETRAX_SERIAL_PORT3_NO_DMA_IN
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser3 uses no DMA for input
      Do not use DMA for ser3 input.


  • Option: ETRAX_SERIAL_PORT3_DMA9_IN
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser3 uses DMA9 for input
    • depends on ETRAX_SERIAL_PORT3
      Enables the DMA9 input channel for ser3 (ttyS3). If you do not enable DMA, an interrupt for each character will be used when receiving data. Normally you want to use DMA, unless you use the DMA channel for something else.



"Ser3 DMA out channel"

    • depends on ETRAX_SERIAL_PORT3
    • default ETRAX_SERIAL_PORT3_NO_DMA_OUT


  • Option: ETRAX_SERIAL_PORT3_NO_DMA_OUT
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser3 uses no DMA for output
      Do not use DMA for ser3 output.


  • Option: ETRAX_SERIAL_PORT3_DMA8_OUT
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Ser3 uses DMA8 for output
    • depends on ETRAX_SERIAL_PORT3
      Enables the DMA8 output channel for ser3 (ttyS3). If you do not enable DMA, an interrupt for each character will be used when transmitting data. Normally you want to use DMA, unless you use the DMA channel for something else.



  • Option: ETRAX_SER3_DTR_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 3 DTR bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT3


  • Option: ETRAX_SER3_RI_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 3 RI bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT3


  • Option: ETRAX_SER3_DSR_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 3 DSR bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT3


  • Option: ETRAX_SER3_CD_BIT
    • Kernel Versions: 2.6.15.6 ...

"Ser 3 CD bit (empty = not used)"

    • depends on ETRAX_SERIAL_PORT3



  • Option: ETRAX_RS485_DISABLE_RECEIVER
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Disable serial receiver
    • depends on ETRAX_RS485
      It is necessary to disable the serial receiver to avoid serial loopback. Not all products are able to do this in software only. Axis 2400/2401 must disable receiver.


  • Option: ETRAX_AXISFLASHMAP
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Axis flash-map support
    • depends on ETRAX_ARCH_V32
    • select MTD
    • select MTD_CFI
    • select MTD_CFI_AMDSTD
    • select MTD_OBSOLETE_CHIPS
    • select MTD_AMDSTD
    • select MTD_CHAR
    • select MTD_BLOCK
    • select MTD_PARTITIONS
    • select MTD_CONCAT
    • select MTD_COMPLEX_MAPPINGS
      This option enables MTD mapping of flash devices. Needed to use flash memories. If unsure, say Y.


  • Option: ETRAX_SYNCHRONOUS_SERIAL
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Synchronous serial-port support
    • depends on ETRAX_ARCH_V32
      Enables the ETRAX FS synchronous serial driver.


  • Option: ETRAX_SYNCHRONOUS_SERIAL_PORT0
    • Kernel Versions: 2.6.15.6 ... bool Synchronous serial port 0 enabled depends on ETRAX_SYNCHRONOUS_SERIAL help Enabled synchronous serial port 0.


  • Option: ETRAX_SYNCHRONOUS_SERIAL0_DMA
    • Kernel Versions: 2.6.15.6 ... bool Enable DMA on synchronous serial port 0. depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0 help A synchronous serial port can run in manual or DMA mode. Selecting this option will make it run in DMA mode.


  • Option: ETRAX_SYNCHRONOUS_SERIAL_PORT1
    • Kernel Versions: 2.6.15.6 ... bool Synchronous serial port 1 enabled depends on ETRAX_SYNCHRONOUS_SERIAL help Enabled synchronous serial port 1.


  • Option: ETRAX_SYNCHRONOUS_SERIAL1_DMA
    • Kernel Versions: 2.6.15.6 ... bool Enable DMA on synchronous serial port 1. depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1 help A synchronous serial port can run in manual or DMA mode. Selecting this option will make it run in DMA mode.


  • Option: ETRAX_PTABLE_SECTOR
    • Kernel Versions: 2.6.15.6 ...

"Byte-offset of partition table sector"

    • depends on ETRAX_AXISFLASHMAP
    • default "65536"
      Byte-offset of the partition table in the first flash chip. The default value is 64kB and should not be changed unless you know exactly what you are doing. The only valid reason for changing this is when the flash block size is bigger than 64kB (e.g. when using two parallel 16 bit flashes).


  • Option: ETRAX_NANDFLASH
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) NAND flash support
    • depends on ETRAX_ARCH_V32
    • select MTD_NAND
    • select MTD_NAND_IDS
      This option enables MTD mapping of NAND flash devices. Needed to use NAND flash memories. If unsure, say Y.


  • Option: ETRAX_I2C
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) I2C driver
    • depends on ETRAX_ARCH_V32
      This option enabled the I2C driver used by e.g. the RTC driver.


  • Option: ETRAX_I2C_DATA_PORT
    • Kernel Versions: 2.6.15.6 ...

"I2C data pin"

    • depends on ETRAX_I2C
      The pin to use for I2C data.


  • Option: ETRAX_I2C_CLK_PORT
    • Kernel Versions: 2.6.15.6 ...

"I2C clock pin"

    • depends on ETRAX_I2C
      The pin to use for I2C clock.


  • Option: ETRAX_RTC
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) Real Time Clock support
    • depends on ETRAX_ARCH_V32
      Enabled RTC support.


"RTC chip"

    • depends on ETRAX_RTC
    • default ETRAX_PCF8563


  • Option: ETRAX_PCF8563
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) PCF8563
      Philips PCF8563 RTC



  • Option: ETRAX_GPIO
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) GPIO support
    • depends on ETRAX_ARCH_V32
      Enables the ETRAX general port device (major 120, minors 0-4). You can use this driver to access the general port bits. It supports these ioctl's: #include <linux/etraxgpio.h> fd = open("/dev/gpioa", O_RDWR); // or /dev/gpiob ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_SETBITS), bits_to_set); ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_CLRBITS), bits_to_clear); err = ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_READ_INBITS), &val); Remember that you need to setup the port directions appropriately in the General configuration.


  • Option: ETRAX_PA_BUTTON_BITMASK
    • Kernel Versions: 2.6.15.6 ...

"PA-buttons bitmask"

    • depends on ETRAX_GPIO
    • default "0x02"
      This is a bitmask (8 bits) with information about what bits on PA that are used for buttons. Most products has a so-called TEST button on PA1, if that is true use 0x02 here. Use 00 if there are no buttons on PA. If the bitmask is <> 00 a button driver will be included in the gpio driver. ETRAX general I/O support must be enabled.


  • Option: ETRAX_PA_CHANGEABLE_DIR
    • Kernel Versions: 2.6.15.6 ...

"PA user changeable dir mask"

    • depends on ETRAX_GPIO
    • default "0x00"
      This is a bitmask (8 bits) with information of what bits in PA that a user can change direction on using ioctl's. Bit set = changeable. You probably want 0x00 here, but it depends on your hardware.


  • Option: ETRAX_PA_CHANGEABLE_BITS
    • Kernel Versions: 2.6.15.6 ...

"PA user changeable bits mask"

    • depends on ETRAX_GPIO
    • default "0x00"
      This is a bitmask (8 bits) with information of what bits in PA that a user can change the value on using ioctl's. Bit set = changeable.


  • Option: ETRAX_PB_CHANGEABLE_DIR
    • Kernel Versions: 2.6.15.6 ...

"PB user changeable dir mask"

    • depends on ETRAX_GPIO
    • default "0x00000"
      This is a bitmask (18 bits) with information of what bits in PB that a user can change direction on using ioctl's. Bit set = changeable. You probably want 0x00000 here, but it depends on your hardware.


  • Option: ETRAX_PB_CHANGEABLE_BITS
    • Kernel Versions: 2.6.15.6 ...

"PB user changeable bits mask"

    • depends on ETRAX_GPIO
    • default "0x00000"
      This is a bitmask (18 bits) with information of what bits in PB that a user can change the value on using ioctl's. Bit set = changeable.


  • Option: ETRAX_PC_CHANGEABLE_DIR
    • Kernel Versions: 2.6.15.6 ...

"PC user changeable dir mask"

    • depends on ETRAX_GPIO
    • default "0x00000"
      This is a bitmask (18 bits) with information of what bits in PC that a user can change direction on using ioctl's. Bit set = changeable. You probably want 0x00000 here, but it depends on your hardware.


  • Option: ETRAX_PC_CHANGEABLE_BITS
    • Kernel Versions: 2.6.15.6 ...

"PC user changeable bits mask"

    • depends on ETRAX_GPIO
    • default "0x00000"
      This is a bitmask (18 bits) with information of what bits in PC that a user can change the value on using ioctl's. Bit set = changeable.


  • Option: ETRAX_PD_CHANGEABLE_DIR
    • Kernel Versions: 2.6.15.6 ...

"PD user changeable dir mask"

    • depends on ETRAX_GPIO
    • default "0x00000"
      This is a bitmask (18 bits) with information of what bits in PD that a user can change direction on using ioctl's. Bit set = changeable. You probably want 0x00000 here, but it depends on your hardware.


  • Option: ETRAX_PD_CHANGEABLE_BITS
    • Kernel Versions: 2.6.15.6 ...

"PD user changeable bits mask"

    • depends on ETRAX_GPIO
    • default "0x00000"
      This is a bitmask (18 bits) with information of what bits in PD that a user can change the value on using ioctl's. Bit set = changeable.


  • Option: ETRAX_PE_CHANGEABLE_DIR
    • Kernel Versions: 2.6.15.6 ...

"PE user changeable dir mask"

    • depends on ETRAX_GPIO
    • default "0x00000"
      This is a bitmask (18 bits) with information of what bits in PE that a user can change direction on using ioctl's. Bit set = changeable. You probably want 0x00000 here, but it depends on your hardware.


  • Option: ETRAX_PE_CHANGEABLE_BITS
    • Kernel Versions: 2.6.15.6 ...

"PE user changeable bits mask"

    • depends on ETRAX_GPIO
    • default "0x00000"
      This is a bitmask (18 bits) with information of what bits in PE that a user can change the value on using ioctl's. Bit set = changeable.


  • Option: ETRAX_IDE
    • Kernel Versions: 2.6.15.6 ...
    • (on/off) ATA/IDE support
    • depends on ETRAX_ARCH_V32
    • select IDE
    • select BLK_DEV_IDE
    • select BLK_DEV_IDEDISK
    • select BLK_DEV_IDECD
    • select BLK_DEV_IDEDMA
      Enables the ETRAX IDE driver.


  • Option: ETRAX_CARDBUS
    • Kernel Versions: 2.6.15.6 ... bool Cardbus support depends on ETRAX_ARCH_V32 select PCCARD select CARDBUS select HOTPLUG select PCCARD_NONSTATIC helpEnabled the ETRAX Carbus driver.


  • Option: PCI
    • Kernel Versions: 2.6.15.6 ... bool depends on ETRAX_CARDBUS default y


  • Option: ETRAX_IOP_FW_LOAD
    • Kernel Versions: 2.6.15.6 ...
    • (on/off/module) IO-processor hotplug firmware loading support
    • depends on ETRAX_ARCH_V32
    • select FW_LOADER
      Enables IO-processor hotplug firmware loading support.


  • Option: ETRAX_STREAMCOPROC
    • Kernel Versions: 2.6.15.6 ...
    • (on/off/module) Stream co-processor driver enabled
    • depends on ETRAX_ARCH_V32
      This option enables a driver for the stream co-processor for cryptographic operations.


Linux Kernel Configuration

Also on Fandom

Random Wiki