9

I need to use kernel drivers for some I2C peripherals, so I need kernel I2C support. As already discussed in a previous question, the current 3.1.9 kernel doesn't provide support for the SoC's I2C hardware. I was hoping that the new Debian image would include a 3.2 kernel (so that I can use Chris Boot's driver directly), but 2012-08-08-wheezy-armel.zip has still the old version. I don't want to backport the driver myself, I just don't have the time.

  1. Are my above assumptions right, and there is still no I2C support in the "main" kernel?
  2. Are there any plans to move to 3.2 or newer for the official images?
  3. What is the best way to get I2C support inside the kernel?

edit 1: I need to use a distro compiled with softfp ABI

Scolytus
  • 414
  • 1
  • 6
  • 13

3 Answers3

6

Questions 1 to 3 are answered the same:

Current kernel at github is already 3.2. It includes I2C and SPI drivers in the source tree. You just have to activate it in the configuration and compile your own kernel.

Scolytus
  • 414
  • 1
  • 6
  • 13
janek
  • 111
  • 1
3

I can not answer parts 1 and 2 of your question, but one simple way to get I2C support is to switch to Adafruit's distro Occidentalis

It includes:

  • I2C and hardware SPI support
  • I2C/SPI modules initialized on bootAdafruit's distro Occidentalis

The link above contains more details including installation instructions.

tlhIngan
  • 3,372
  • 5
  • 19
  • 33
Steve Robillard
  • 34,687
  • 17
  • 103
  • 109
2

You can compile your own kernel. You need to configure it to use softfp and compile in the I2C drivers.

Alex Chamberlain
  • 15,530
  • 14
  • 67
  • 113