[Gta04-owner] Now that 3.2-final is out...
NeilBrown
neilb at suse.de
Tue Jan 17 10:29:34 CET 2012
On Tue, 17 Jan 2012 18:30:19 +1100 NeilBrown <neilb at suse.de> wrote:
> It should be possible to achieve the same thing by defining
> CONFIG_EARLY_PRINTK and CONFIG_DEBUG_LL and including 'earlyprintk' in the
> command-line options.
> I've tried that and it didn't seem to meet the need I had at the time. I
> don't recall the details.
>
> >
> > I have used this to debug NULL pointer dereferences in the backport
> > of the omap-serial.c driver to 2.6.32.
> >
>
> The fact that it worked for you gives me hope - I'll try again.
Isn't it amazing what a little hope can do!!
This patch:
diff --git a/arch/arm/plat-omap/include/plat/uncompress.h b/arch/arm/plat-omap/include/plat/uncompress.h
index 2f472e9..de9bea7 100644
--- a/arch/arm/plat-omap/include/plat/uncompress.h
+++ b/arch/arm/plat-omap/include/plat/uncompress.h
@@ -164,6 +164,7 @@ static inline void __arch_decomp_setup(unsigned long arch_id)
DEBUG_LL_OMAP3(3, omap3517evm);
DEBUG_LL_OMAP3(3, omap3_beagle);
DEBUG_LL_OMAP3(3, omap3_pandora);
+ DEBUG_LL_OMAP3(3, gta04);
DEBUG_LL_OMAP3(3, omap_ldp);
DEBUG_LL_OMAP3(3, overo);
DEBUG_LL_OMAP3(3, touchbook);
on top of my current kernel will cause 'earlyprintk' to start working.
Now I can see where it freezes.
Immediately after:
[ 6.420043] PM: Adding info for i2c:1-004b
[ 6.429138] bus: 'i2c': driver_probe_device: matched device 1-004b with driver dummy
[ 6.445465] bus: 'i2c': really_probe: probing driver dummy with device 1-004b
[ 6.460540] driver: '1-004b': driver_bound: bound to device 'dummy'
[ 6.473815] bus: 'i2c': really_probe: bound device 1-004b to driver dummy
which means immediately before:
[ 6.513458] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 6.525207] twl4030: power (irq 373) chaining IRQs 376..383
[ 6.537994] Registering platform device 'twl4030_gpio'. Parent at 1-0049
[ 6.552215] device: 'twl4030_gpio': device_add
[ 6.561767] bus: 'platform': add device twl4030_gpio
[ 6.572601] PM: Adding info for platform:twl4030_gpio
which makes it look a *lot* like interrupts from the twl4080 PMIC not being
handled correctly.
I'll do some more digging in a little while.
NeilBrown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120117/fbbdcb60/attachment.bin>
More information about the Gta04-owner
mailing list