Re: [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface

2008-04-25 Thread Felipe Balbi


On Fri, 25 Apr 2008 09:13:19 +0200, Dirk Behme [EMAIL PROTECTED]
wrote:
 Koen Kooi wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 Op 24 apr 2008, om 22:00 heeft Tony Lindgren het volgende geschreven:

 * Koen Kooi [EMAIL PROTECTED] [080424 12:54]:


 Op 24 apr 2008, om 02:21 heeft Tony Lindgren het volgende geschreven:

 Hi,

 * Koen Kooi [EMAIL PROTECTED] [080423 00:42]:

 From dac3cdc5952ab39fa7ae0545d43e2daa95329b07 Mon Sep 17 00:00:00
 2001
 From: Koen Kooi [EMAIL PROTECTED]
 Date: Wed, 23 Apr 2008 09:38:31 +0200
 Subject: [PATCH] omap3beagle: register SD interface


 Thanks for updating it. I've pushed it now, but I had to apply some
 parts manually because of recent changes. Can you please check it
 got applied OK?


 I compiled an booted latest git and see this:

 6TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter 
 [1]
 1Unable to handle kernel NULL pointer dereference at virtual 
 address
 
 1pgd = c0004000
 1[] *pgd=
 Internal error: Oops: 5 [#1]
 Modules linked in:
 CPU: 0Not tainted  (2.6.25-omap1 #11)
 PC is at __rcu_process_callbacks+0x1ac/0x244
 LR is at free_task+0x38/0x40
 pc : [c0073924]lr : [c0048b04]psr: 8113
 sp : c7c1dda8  ip : c7c085c0  fp : c7c1ddc4
 r10:   r9 : c0405678  r8 : 0001
 r7 : c0400d80  r6 : 0005  r5 :   r4 : c040563c
 r3 :   r2 : 0027  r1 : c7c78340  r0 : c7c085c0
 Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
 Control: 00c5387f  Table: 80004018  DAC: 0017
 Process swapper (pid: 1, stack limit = 0xc7c1c2e0)

 More bootlogs at

 http://amethyst.openembedded.net/~koen/beagleboard/beagle-i2c-crash.txt

 I suspect it's somewhere in i2c, but I have no proof for that. Any
 quick guesses what might be causing this?


 Can you try if reverting following helps?



http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=38c50a71591628c38206aa402500074a6137a4dc


 That doesn't seem to make a difference.
 
 Just tried recent OMAP git with gcc version 4.2.3 (Sourcery G++ Lite
 2008q1-126) (download from today). With configuration in attachment
 it boots fine:
 
 -- cut --
 ...
 USB: No board-specific platform config found
 i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
 i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
 i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
 TWL4030: TRY attach Slave TWL4030-ID0 on Adapter OMAP I2C adapter [1]
 TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter [1]
 TWL4030: TRY attach Slave TWL4030-ID2 on Adapter OMAP I2C adapter [1]
 TWL4030: TRY attach Slave TWL4030-ID3 on Adapter OMAP I2C adapter [1]

but still some problems in twl4030 driver, you see:

 i2c_omap i2c_omap.1: Transmit overflow
 Unable to register interrupt subsystem[-5][748]
 Trying to install chained interrupt handler for IRQ373
 Initialized TWL4030 USB module
 SCSI subsystem initialized
 NET: Registered protocol family 2
 ...
 -- cut --
 
 No patches applied, only switched from arm-linux- to
 arm-none-linux-gnueabi- in main Makefile.
 
 Dirk
-- 
Best Regards,

Felipe Balbi
http://felipebalbi.com
[EMAIL PROTECTED]

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface

2008-04-24 Thread Koen Kooi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Op 24 apr 2008, om 02:21 heeft Tony Lindgren het volgende geschreven:

Hi,

* Koen Kooi [EMAIL PROTECTED] [080423 00:42]:
From dac3cdc5952ab39fa7ae0545d43e2daa95329b07 Mon Sep 17 00:00:00  
2001

From: Koen Kooi [EMAIL PROTECTED]
Date: Wed, 23 Apr 2008 09:38:31 +0200
Subject: [PATCH] omap3beagle: register SD interface


Thanks for updating it. I've pushed it now, but I had to apply some
parts manually because of recent changes. Can you please check it
got applied OK?


I compiled an booted latest git and see this:

6TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter [1]
1Unable to handle kernel NULL pointer dereference at virtual address  


1pgd = c0004000
1[] *pgd=
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0Not tainted  (2.6.25-omap1 #11)
PC is at __rcu_process_callbacks+0x1ac/0x244
LR is at free_task+0x38/0x40
pc : [c0073924]lr : [c0048b04]psr: 8113
sp : c7c1dda8  ip : c7c085c0  fp : c7c1ddc4
r10:   r9 : c0405678  r8 : 0001
r7 : c0400d80  r6 : 0005  r5 :   r4 : c040563c
r3 :   r2 : 0027  r1 : c7c78340  r0 : c7c085c0
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 00c5387f  Table: 80004018  DAC: 0017
Process swapper (pid: 1, stack limit = 0xc7c1c2e0)
Stack: (0xc7c1dda8 to 0xc7c1e000)
dda0:   c02fae30 c0400e04 0001 0008 c7c1ddd4  
c7c1ddc8
ddc0: c00739d4 c0073784 c7c1de04 c7c1ddd8 c004f6f4 c00739c8 c7c1de04  
c03dd4e0
dde0: 0025  c03fc8f5 c7c1df14 c03ece00 0049 c7c1de1c  
c7c1de08
de00: c004f79c c004f6a0 c03dd4e0 c03dd4e0 c7c1de3c c7c1de20 c002c050  
c004f760
de20: 0010  d820  c7c1defc c7c1de40 c002c630  
c002c00c
de40: c03daec8 07f0  4013 c03fc8ac c03ed158   
c03fc8f5
de60: c7c1df14 c03ece00 0049 c7c1defc c7c1de58 c7c1de88 c004ab10  
c004b228
de80: 6013  c7c1dea4 c7c1dea4 c7c1dee4 4013 c02faabc  
c0067800
dea0: c0194a14     c7ca0470 c7c1dee4  
c7c1dec8
dec0: c02fadd0 c0067534  c7ca0470 c03ece58 c03ecff8 c03ed158  

dee0: 0001 c7ca0438 c03ece00 c7ca05ac c7c1df0c c7c1df00 c03b2c00  
c004af70
df00: c7c1df54 c7c1df20 c01ad5e0 c03b2bf4 c03989af c03ed158 c7ca05ac  
0001
df20: c03ece00   c7ca0438 c03ece00 c03ec870   
c7c1c000
df40:  c0027404 c7c1df74 c7c1df58 c01aa41c c01ad524   
c00260bc
df60:   c7c1df84 c7c1df78 c001c870 c01aa37c c7c1dff4  
c7c1df88
df80: c0008620 c001c864 c7c1dfac c7c1df98 c004801c c0047ea4 307ffe12  

dfa0:  c7c1dfb0 c002cb04 c0048004   c0008550  
c004d8f8
dfc0:  0001       

dfe0:    c7c1dff8 c004d8f8 c000855c 002ffe02  
0073ecca

Backtrace:
[c0073778] (__rcu_process_callbacks+0x0/0x244) from [c00739d4]  
(rcu_process_callbacks+0x18/0x38)

 r6:0008 r5:0001 r4:c0400e04
[c00739bc] (rcu_process_callbacks+0x0/0x38) from [c004f6f4]  
(__do_softirq+0x60/0xc0)
[c004f694] (__do_softirq+0x0/0xc0) from [c004f79c] (irq_exit 
+0x48/0x88)
[c004f754] (irq_exit+0x0/0x88) from [c002c050]  
(__exception_text_start+0x50/0x68)

 r4:c03dd4e0
[c002c000] (__exception_text_start+0x0/0x68) from [c002c630]  
(__irq_svc+0x30/0x80)

Exception stack(0xc7c1de40 to 0xc7c1de88)
de40: c03daec8 07f0  4013 c03fc8ac c03ed158   
c03fc8f5
de60: c7c1df14 c03ece00 0049 c7c1defc c7c1de58 c7c1de88 c004ab10  
c004b228

de80: 6013 
 r6: r5:d820 r4:
[c004af64] (vprintk+0x0/0x30c) from [c03b2c00] (printk+0x1c/0x24)
[c03b2be4] (printk+0x0/0x24) from [c01ad5e0]  
(twl4030_attach_adapter+0xc8/0x69c)

 r3:0001 r2:c7ca05ac r1:c03ed158 r0:c03989af
[c01ad518] (twl4030_attach_adapter+0x0/0x69c) from [c01aa41c]  
(i2c_register_driver+0xac/0xf8)
[c01aa370] (i2c_register_driver+0x0/0xf8) from [c001c870]  
(twl4030_init+0x18/0x20)

 r7: r6: r5:c00260bc r4:
[c001c858] (twl4030_init+0x0/0x20) from [c0008620] (kernel_init 
+0xd0/0x29c)
[c0008550] (kernel_init+0x0/0x29c) from [c004d8f8] (do_exit 
+0x0/0x5ec)

Code: e5943024 e353 099da870 e3a06000 (e5935000)
0Kernel panic - not syncing: Fatal exception in interrupt

More bootlogs at 
http://amethyst.openembedded.net/~koen/beagleboard/beagle-i2c-crash.txt

I suspect it's somewhere in i2c, but I have no proof for that. Any  
quick guesses what might be causing this?


regards,

Koen

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFIEOV5MkyGM64RGpERAoIlAKCl71J80g7O8yLnmQC53DPIrNYmwQCfV9kq
PRME+NAiBykLP575dTjMocM=
=1y57
-END PGP SIGNATURE-
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface

2008-04-24 Thread Tony Lindgren
* Koen Kooi [EMAIL PROTECTED] [080424 12:54]:
 
 Op 24 apr 2008, om 02:21 heeft Tony Lindgren het volgende geschreven:
  Hi,
 
  * Koen Kooi [EMAIL PROTECTED] [080423 00:42]:
  From dac3cdc5952ab39fa7ae0545d43e2daa95329b07 Mon Sep 17 00:00:00  
  2001
  From: Koen Kooi [EMAIL PROTECTED]
  Date: Wed, 23 Apr 2008 09:38:31 +0200
  Subject: [PATCH] omap3beagle: register SD interface
 
  Thanks for updating it. I've pushed it now, but I had to apply some
  parts manually because of recent changes. Can you please check it
  got applied OK?
 
 I compiled an booted latest git and see this:
 
 6TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter [1]
 1Unable to handle kernel NULL pointer dereference at virtual address  
 
 1pgd = c0004000
 1[] *pgd=
 Internal error: Oops: 5 [#1]
 Modules linked in:
 CPU: 0Not tainted  (2.6.25-omap1 #11)
 PC is at __rcu_process_callbacks+0x1ac/0x244
 LR is at free_task+0x38/0x40
 pc : [c0073924]lr : [c0048b04]psr: 8113
 sp : c7c1dda8  ip : c7c085c0  fp : c7c1ddc4
 r10:   r9 : c0405678  r8 : 0001
 r7 : c0400d80  r6 : 0005  r5 :   r4 : c040563c
 r3 :   r2 : 0027  r1 : c7c78340  r0 : c7c085c0
 Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
 Control: 00c5387f  Table: 80004018  DAC: 0017
 Process swapper (pid: 1, stack limit = 0xc7c1c2e0)
 Stack: (0xc7c1dda8 to 0xc7c1e000)
 dda0:   c02fae30 c0400e04 0001 0008 c7c1ddd4  
 c7c1ddc8
 ddc0: c00739d4 c0073784 c7c1de04 c7c1ddd8 c004f6f4 c00739c8 c7c1de04  
 c03dd4e0
 dde0: 0025  c03fc8f5 c7c1df14 c03ece00 0049 c7c1de1c  
 c7c1de08
 de00: c004f79c c004f6a0 c03dd4e0 c03dd4e0 c7c1de3c c7c1de20 c002c050  
 c004f760
 de20: 0010  d820  c7c1defc c7c1de40 c002c630  
 c002c00c
 de40: c03daec8 07f0  4013 c03fc8ac c03ed158   
 c03fc8f5
 de60: c7c1df14 c03ece00 0049 c7c1defc c7c1de58 c7c1de88 c004ab10  
 c004b228
 de80: 6013  c7c1dea4 c7c1dea4 c7c1dee4 4013 c02faabc  
 c0067800
 dea0: c0194a14     c7ca0470 c7c1dee4  
 c7c1dec8
 dec0: c02fadd0 c0067534  c7ca0470 c03ece58 c03ecff8 c03ed158  
 
 dee0: 0001 c7ca0438 c03ece00 c7ca05ac c7c1df0c c7c1df00 c03b2c00  
 c004af70
 df00: c7c1df54 c7c1df20 c01ad5e0 c03b2bf4 c03989af c03ed158 c7ca05ac  
 0001
 df20: c03ece00   c7ca0438 c03ece00 c03ec870   
 c7c1c000
 df40:  c0027404 c7c1df74 c7c1df58 c01aa41c c01ad524   
 c00260bc
 df60:   c7c1df84 c7c1df78 c001c870 c01aa37c c7c1dff4  
 c7c1df88
 df80: c0008620 c001c864 c7c1dfac c7c1df98 c004801c c0047ea4 307ffe12  
 
 dfa0:  c7c1dfb0 c002cb04 c0048004   c0008550  
 c004d8f8
 dfc0:  0001       
 
 dfe0:    c7c1dff8 c004d8f8 c000855c 002ffe02  
 0073ecca
 Backtrace:
 [c0073778] (__rcu_process_callbacks+0x0/0x244) from [c00739d4]  
 (rcu_process_callbacks+0x18/0x38)
   r6:0008 r5:0001 r4:c0400e04
 [c00739bc] (rcu_process_callbacks+0x0/0x38) from [c004f6f4]  
 (__do_softirq+0x60/0xc0)
 [c004f694] (__do_softirq+0x0/0xc0) from [c004f79c] (irq_exit 
 +0x48/0x88)
 [c004f754] (irq_exit+0x0/0x88) from [c002c050]  
 (__exception_text_start+0x50/0x68)
   r4:c03dd4e0
 [c002c000] (__exception_text_start+0x0/0x68) from [c002c630]  
 (__irq_svc+0x30/0x80)
 Exception stack(0xc7c1de40 to 0xc7c1de88)
 de40: c03daec8 07f0  4013 c03fc8ac c03ed158   
 c03fc8f5
 de60: c7c1df14 c03ece00 0049 c7c1defc c7c1de58 c7c1de88 c004ab10  
 c004b228
 de80: 6013 
   r6: r5:d820 r4:
 [c004af64] (vprintk+0x0/0x30c) from [c03b2c00] (printk+0x1c/0x24)
 [c03b2be4] (printk+0x0/0x24) from [c01ad5e0]  
 (twl4030_attach_adapter+0xc8/0x69c)
   r3:0001 r2:c7ca05ac r1:c03ed158 r0:c03989af
 [c01ad518] (twl4030_attach_adapter+0x0/0x69c) from [c01aa41c]  
 (i2c_register_driver+0xac/0xf8)
 [c01aa370] (i2c_register_driver+0x0/0xf8) from [c001c870]  
 (twl4030_init+0x18/0x20)
   r7: r6: r5:c00260bc r4:
 [c001c858] (twl4030_init+0x0/0x20) from [c0008620] (kernel_init 
 +0xd0/0x29c)
 [c0008550] (kernel_init+0x0/0x29c) from [c004d8f8] (do_exit 
 +0x0/0x5ec)
 Code: e5943024 e353 099da870 e3a06000 (e5935000)
 0Kernel panic - not syncing: Fatal exception in interrupt
 
 More bootlogs at 
 http://amethyst.openembedded.net/~koen/beagleboard/beagle-i2c-crash.txt
 
 I suspect it's somewhere in i2c, but I have no proof for that. Any  
 quick guesses what might be causing this?

Can you try if reverting following helps?

http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=38c50a71591628c38206aa402500074a6137a4dc

Tony
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  

Re: [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface

2008-04-24 Thread Tony Lindgren
* Tony Lindgren [EMAIL PROTECTED] [080424 13:00]:
 * Koen Kooi [EMAIL PROTECTED] [080424 12:54]:
  
  Op 24 apr 2008, om 02:21 heeft Tony Lindgren het volgende geschreven:
   Hi,
  
   * Koen Kooi [EMAIL PROTECTED] [080423 00:42]:
   From dac3cdc5952ab39fa7ae0545d43e2daa95329b07 Mon Sep 17 00:00:00  
   2001
   From: Koen Kooi [EMAIL PROTECTED]
   Date: Wed, 23 Apr 2008 09:38:31 +0200
   Subject: [PATCH] omap3beagle: register SD interface
  
   Thanks for updating it. I've pushed it now, but I had to apply some
   parts manually because of recent changes. Can you please check it
   got applied OK?
  
  I compiled an booted latest git and see this:
  
  6TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter [1]
  1Unable to handle kernel NULL pointer dereference at virtual address  
  
  1pgd = c0004000
  1[] *pgd=
  Internal error: Oops: 5 [#1]
  Modules linked in:
  CPU: 0Not tainted  (2.6.25-omap1 #11)
  PC is at __rcu_process_callbacks+0x1ac/0x244
  LR is at free_task+0x38/0x40
  pc : [c0073924]lr : [c0048b04]psr: 8113
  sp : c7c1dda8  ip : c7c085c0  fp : c7c1ddc4
  r10:   r9 : c0405678  r8 : 0001
  r7 : c0400d80  r6 : 0005  r5 :   r4 : c040563c
  r3 :   r2 : 0027  r1 : c7c78340  r0 : c7c085c0
  Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
  Control: 00c5387f  Table: 80004018  DAC: 0017
  Process swapper (pid: 1, stack limit = 0xc7c1c2e0)
  Stack: (0xc7c1dda8 to 0xc7c1e000)
  dda0:   c02fae30 c0400e04 0001 0008 c7c1ddd4  
  c7c1ddc8
  ddc0: c00739d4 c0073784 c7c1de04 c7c1ddd8 c004f6f4 c00739c8 c7c1de04  
  c03dd4e0
  dde0: 0025  c03fc8f5 c7c1df14 c03ece00 0049 c7c1de1c  
  c7c1de08
  de00: c004f79c c004f6a0 c03dd4e0 c03dd4e0 c7c1de3c c7c1de20 c002c050  
  c004f760
  de20: 0010  d820  c7c1defc c7c1de40 c002c630  
  c002c00c
  de40: c03daec8 07f0  4013 c03fc8ac c03ed158   
  c03fc8f5
  de60: c7c1df14 c03ece00 0049 c7c1defc c7c1de58 c7c1de88 c004ab10  
  c004b228
  de80: 6013  c7c1dea4 c7c1dea4 c7c1dee4 4013 c02faabc  
  c0067800
  dea0: c0194a14     c7ca0470 c7c1dee4  
  c7c1dec8
  dec0: c02fadd0 c0067534  c7ca0470 c03ece58 c03ecff8 c03ed158  
  
  dee0: 0001 c7ca0438 c03ece00 c7ca05ac c7c1df0c c7c1df00 c03b2c00  
  c004af70
  df00: c7c1df54 c7c1df20 c01ad5e0 c03b2bf4 c03989af c03ed158 c7ca05ac  
  0001
  df20: c03ece00   c7ca0438 c03ece00 c03ec870   
  c7c1c000
  df40:  c0027404 c7c1df74 c7c1df58 c01aa41c c01ad524   
  c00260bc
  df60:   c7c1df84 c7c1df78 c001c870 c01aa37c c7c1dff4  
  c7c1df88
  df80: c0008620 c001c864 c7c1dfac c7c1df98 c004801c c0047ea4 307ffe12  
  
  dfa0:  c7c1dfb0 c002cb04 c0048004   c0008550  
  c004d8f8
  dfc0:  0001       
  
  dfe0:    c7c1dff8 c004d8f8 c000855c 002ffe02  
  0073ecca
  Backtrace:
  [c0073778] (__rcu_process_callbacks+0x0/0x244) from [c00739d4]  
  (rcu_process_callbacks+0x18/0x38)
r6:0008 r5:0001 r4:c0400e04
  [c00739bc] (rcu_process_callbacks+0x0/0x38) from [c004f6f4]  
  (__do_softirq+0x60/0xc0)
  [c004f694] (__do_softirq+0x0/0xc0) from [c004f79c] (irq_exit 
  +0x48/0x88)
  [c004f754] (irq_exit+0x0/0x88) from [c002c050]  
  (__exception_text_start+0x50/0x68)
r4:c03dd4e0
  [c002c000] (__exception_text_start+0x0/0x68) from [c002c630]  
  (__irq_svc+0x30/0x80)
  Exception stack(0xc7c1de40 to 0xc7c1de88)
  de40: c03daec8 07f0  4013 c03fc8ac c03ed158   
  c03fc8f5
  de60: c7c1df14 c03ece00 0049 c7c1defc c7c1de58 c7c1de88 c004ab10  
  c004b228
  de80: 6013 
r6: r5:d820 r4:
  [c004af64] (vprintk+0x0/0x30c) from [c03b2c00] (printk+0x1c/0x24)
  [c03b2be4] (printk+0x0/0x24) from [c01ad5e0]  
  (twl4030_attach_adapter+0xc8/0x69c)
r3:0001 r2:c7ca05ac r1:c03ed158 r0:c03989af
  [c01ad518] (twl4030_attach_adapter+0x0/0x69c) from [c01aa41c]  
  (i2c_register_driver+0xac/0xf8)
  [c01aa370] (i2c_register_driver+0x0/0xf8) from [c001c870]  
  (twl4030_init+0x18/0x20)
r7: r6: r5:c00260bc r4:
  [c001c858] (twl4030_init+0x0/0x20) from [c0008620] (kernel_init 
  +0xd0/0x29c)
  [c0008550] (kernel_init+0x0/0x29c) from [c004d8f8] (do_exit 
  +0x0/0x5ec)
  Code: e5943024 e353 099da870 e3a06000 (e5935000)
  0Kernel panic - not syncing: Fatal exception in interrupt
  
  More bootlogs at 
  http://amethyst.openembedded.net/~koen/beagleboard/beagle-i2c-crash.txt
  
  I suspect it's somewhere in i2c, but I have no proof for that. Any  
  quick guesses what might be causing this?
 
 Can you try if reverting following helps?
 
 

Re: [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface

2008-04-24 Thread Koen Kooi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Op 24 apr 2008, om 22:00 heeft Tony Lindgren het volgende geschreven:

* Koen Kooi [EMAIL PROTECTED] [080424 12:54]:


Op 24 apr 2008, om 02:21 heeft Tony Lindgren het volgende geschreven:

Hi,

* Koen Kooi [EMAIL PROTECTED] [080423 00:42]:

From dac3cdc5952ab39fa7ae0545d43e2daa95329b07 Mon Sep 17 00:00:00
2001
From: Koen Kooi [EMAIL PROTECTED]
Date: Wed, 23 Apr 2008 09:38:31 +0200
Subject: [PATCH] omap3beagle: register SD interface


Thanks for updating it. I've pushed it now, but I had to apply some
parts manually because of recent changes. Can you please check it
got applied OK?


I compiled an booted latest git and see this:

6TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter  
[1]
1Unable to handle kernel NULL pointer dereference at virtual  
address


1pgd = c0004000
1[] *pgd=
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0Not tainted  (2.6.25-omap1 #11)
PC is at __rcu_process_callbacks+0x1ac/0x244
LR is at free_task+0x38/0x40
pc : [c0073924]lr : [c0048b04]psr: 8113
sp : c7c1dda8  ip : c7c085c0  fp : c7c1ddc4
r10:   r9 : c0405678  r8 : 0001
r7 : c0400d80  r6 : 0005  r5 :   r4 : c040563c
r3 :   r2 : 0027  r1 : c7c78340  r0 : c7c085c0
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 00c5387f  Table: 80004018  DAC: 0017
Process swapper (pid: 1, stack limit = 0xc7c1c2e0)

More bootlogs at 
http://amethyst.openembedded.net/~koen/beagleboard/beagle-i2c-crash.txt

I suspect it's somewhere in i2c, but I have no proof for that. Any
quick guesses what might be causing this?


Can you try if reverting following helps?

http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=38c50a71591628c38206aa402500074a6137a4dc


That doesn't seem to make a difference.

regards,

Koen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFIEPUnMkyGM64RGpERAgO8AJ4l8t+4daVTVsDUVKxQ6sU7tpG+JQCfeqpf
TUDPkP0LNE8sPOOqumMMnGI=
=fL1j
-END PGP SIGNATURE-
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface

2008-04-22 Thread Syed Mohammed, Khasim


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:linux-omap-
 [EMAIL PROTECTED] On Behalf Of Koen Kooi
 Sent: Tuesday, April 22, 2008 1:28 PM
 To: linux-omap@vger.kernel.org
 Subject: [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface
 
 In case of broken-mailer-white-space-damage:
 http://amethyst.openembedded.net/~koen/beagleboard/0001-omap3beagle-
 register-SD-interface.patch
 
  From a4127c880913185919f065800535c8d90751ac3c Mon Sep 17 00:00:00 2001
 From: Koen Kooi [EMAIL PROTECTED]
 Date: Tue, 22 Apr 2008 09:45:45 +0200
 Subject: [PATCH] omap3beagle: register SD interface
 
 Signed-off-by: Koen Kooi [EMAIL PROTECTED]
 - ---
 arch/arm/mach-omap2/Makefile|3 ++-
 arch/arm/mach-omap2/board-omap3beagle.c |   11 +++


 arch/arm/mach-omap2/board-omap3beagle.h |   12 

Why new header file ? We can use the existing 
include/asm-arm/arch-omap/board-omap3beagle.h

Regards,
Khasim
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface

2008-04-22 Thread Koen Kooi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

From 6f1bfbcee8961684c4e4eb6f3111cf2a8e829569 Mon Sep 17 00:00:00 2001
From: Koen Kooi [EMAIL PROTECTED]
Date: Tue, 22 Apr 2008 18:12:29 +0200
Subject: [PATCH] board-omap3beagle: register SD interface

Signed-off-by: Koen Kooi [EMAIL PROTECTED]
- ---
 arch/arm/mach-omap2/Makefile  |3 ++-
 arch/arm/mach-omap2/board-omap3beagle.c   |9 +
 include/asm-arm/arch-omap/board-omap3beagle.h |2 ++
 3 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 9414141..84d99d2 100644
- --- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -35,7 +35,8 @@ obj-$(CONFIG_MACH_OMAP_3430SDP)   += 
board-3430sdp.o \
   board-3430sdp-usb.o \
   board-3430sdp-flash.o
 obj-$(CONFIG_MACH_OMAP3EVM)+= board-omap3evm.o
- -obj-$(CONFIG_MACH_OMAP3_BEAGLE)  += board-omap3beagle.o
+obj-$(CONFIG_MACH_OMAP3_BEAGLE)+= board-omap3beagle.o \
+  board-sdp-hsmmc.o
 obj-$(CONFIG_MACH_OMAP_APOLLON)+= board-apollon.o \
   board-apollon-mmc.o  \
   board-apollon-keys.o
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach- 
omap2/board-omap3beagle.c

index 0727ee2..c03bb26 100644
- --- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -48,8 +48,16 @@ static void __init omap3_beagle_init_irq(void)
omap_gpio_init();
 }

+static struct omap_mmc_config omap3beagle_mmc_config __initdata = {
+   .mmc [0] = {
+   .enabled= 1,
+   .wire4  = 1,
+   },
+};
+
 static struct omap_board_config_kernel omap3_beagle_config[]  
__initdata = {

{ OMAP_TAG_UART,omap3_beagle_uart_config },
+   { OMAP_TAG_MMC, omap3beagle_mmc_config },
 };

 static void __init omap3_beagle_init(void)
@@ -57,6 +65,7 @@ static void __init omap3_beagle_init(void)
omap_board_config = omap3_beagle_config;
omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
omap_serial_init();
+   sdp_mmc_init();
 }

 arch_initcall(omap3_beagle_i2c_init);
diff --git a/include/asm-arm/arch-omap/board-omap3beagle.h b/include/ 
asm-arm/arch-omap/board-omap3beagle.h

index c42db78..1eef605 100644
- --- a/include/asm-arm/arch-omap/board-omap3beagle.h
+++ b/include/asm-arm/arch-omap/board-omap3beagle.h
@@ -29,6 +29,8 @@
 #ifndef __ASM_ARCH_OMAP3_BEAGLE_H
 #define __ASM_ARCH_OMAP3_BEAGLE_H

+extern void __init sdp_mmc_init(void);
+
 #ifdef CONFIG_TWL4030_CORE

 #define TWL4030_IRQNUM INT_34XX_SYS_NIRQ
- --
1.5.4.3


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFIDg8YMkyGM64RGpERAkcbAKCehArFneh4Op2+ougrLnHr461BSwCgmmvh
6Pc+ZjYa8xc/FBiVP83B9Ow=
=QYc4
-END PGP SIGNATURE-
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html