GTA01 i2c issues on stable-tracking

Micael Henriksson micael.h at gmail.com
Fri Nov 14 00:34:54 CET 2008


Hi,

I have not updated my local branch for almost three weeks and decided
to give is a go tonight..
Unfortunately even with the latest patches from Jonas Bonn there are
still some issues with i2c registration.

When booting I get this in the log:
i2c /dev entries driver
s3c2410-i2c s3c2410-i2c: no platform data
s3c2410-i2c: probe of s3c2410-i2c failed with error -22
.....
ASoC version 0.13.2
WM8753 Audio Codec 0.16
soc-audio soc-audio: can't get i2c adapter 0
can't add codec bus driver
ALSA device list:
  No soundcards found.


Recalling that I have seen this error before made me search the mails
from this list and found a patch from Werner a few days ago for gta02.
http://lists.openmoko.org/pipermail/openmoko-kernel/2008-November/006262.html

Applying that to mach-gta01.c makes it come a bit further:

i2c /dev entries driver
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 377 KHz
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
......
ASoC version 0.13.2
WM8753 Audio Codec 0.16
asoc: WM8753 HiFi <-> s3c24xx-i2s mapping ok
asoc: WM8753 Voice <-> Bluetooth mapping ok
soc-audio soc-audio: can't add i2c device at 0x1a
can't add codec bus driver
ALSA device list:
  #0: neo1973 (WM8753)
.....
cascade: timer c793c240: tbase_get_base(timer->base) 0x0 != base 0xc041be20
kernel BUG at kernel/timer.c:750!
Unable to handle kernel NULL pointer dereference at virtual address 00000000



More information about the openmoko-kernel mailing list