* PM branch rebased to 2.6.29 @ 2009-03-18 5:21 Kevin Hilman 2009-03-18 7:41 ` Artem Bityutskiy ` (3 more replies) 0 siblings, 4 replies; 31+ messages in thread From: Kevin Hilman @ 2009-03-18 5:21 UTC (permalink / raw) To: linux-omap FYI... The PM branch has now been rebased to today's linux-omap HEAD which is based on v2.6.29-rc8. The previous PM branch has been renamed to pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not (yet) have the latest PM branch. If not, you can use my PM tree[1] directly. Also, pm-2.6.28 will only be available on my tree. Tested on OMAP3 Beagle and RX51 and was able to hit RET and OFF in suspend and in PM idle with minimal kernel. No testing yet done for CPUidle or DVFS. Please test on your hardware and submit results to the list. Thanks. Kevin -- Misc. conflicts/issues resolved after rebase: - no longer safe to use getnstimeofday() in suspend path since timekeeping subsystem is also suspended in the suspend path. PM debug timing has been converted to use sched_clock() which is 32k sync-timer based. - Update board-rx51.c to use common OMAP3 OPPs Known issues: - Beagle: MMC: off-mode needs work in MMC driver, so if you hit off and have a rootfs on MMC, you're dead. - Beagle: MMC regulator: unbalanced disables. This happens on boot and during suspend/resume. I don't think this is related to the PM branch, but is probably in linux-omap HEAD also, but didn't test. Linux version 2.6.29-rc8-omap1-arm-omap3beagle-default-05653-gd803372-dirty (khilman@vence) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-66) ) #4 PREEMPT Tue Mar 17 21:38:09 PDT 2009 [...] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz twl4030: PIH (irq 7) chaining IRQs 368..375 twl4030: power (irq 373) chaining IRQs 376..383 twl4030: gpio (irq 368) chaining IRQs 384..401 beagle_twl_gpio_setup:145 twl4030_mmc_init:303 twl4030_mmc_init:318 regulator: VMMC1: 1850 <--> 3150 mV normal standby regulator: VDAC: 1800 mV normal standby regulator: VUSB1V5: 1500 <--> 0 mV normal standby regulator: VUSB1V8: 1800 <--> 0 mV normal standby regulator: VUSB3V1: 3100 <--> 0 mV normal standby regulator: VSIM: 1800 <--> 3000 mV normal standby [...] mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock ------------[ cut here ]------------ WARNING: at /net/home/khilman/work/kernel/omap/pm/drivers/regulator/core.c:1216 regulator_disable+0x64/0x90() unbalanced disables for supply mmci-omap-hs.0-vmmc Modules linked in: [<c02a0830>] (dump_stack+0x0/0x14) from [<c0053af0>] (warn_slowpath+0x6c/0x88) [<c0053a84>] (warn_slowpath+0x0/0x88) from [<c01b8bdc>] (regulator_disable+0x64/0x90) r3:c79dc2a0 r2:c03390cb r7:c78e8c20 r6:c78aac38 r5:c78e8c20 r4:fffffffb [<c01b8b78>] (regulator_disable+0x0/0x90) from [<c0209400>] (mmc_regulator_set_ocr+0xb0/0xcc) r7:c78e8c20 r6:00000001 r5:00000000 r4:00000000 [<c0209350>] (mmc_regulator_set_ocr+0x0/0xcc) from [<c003abe8>] (twl_mmc1_set_power+0xc0/0xec) r7:c784f538 r6:00000000 r5:00000000 r4:c039185c [<c003ab28>] (twl_mmc1_set_power+0x0/0xec) from [<c0210aa8>] (omap_mmc_set_ios+0x54/0x2b0) r7:c784f538 r6:c784f5c0 r5:c784f400 r4:c7844380 [<c0210a54>] (omap_mmc_set_ios+0x0/0x2b0) from [<c0208dc8>] (mmc_power_off+0x54/0x58) r7:c784f400 r6:c7910400 r5:00000000 r4:c784f400 [<c0208d74>] (mmc_power_off+0x0/0x58) from [<c0209074>] (mmc_start_host+0x14/0x24) [<c0209060>] (mmc_start_host+0x0/0x24) from [<c020a2a0>] (mmc_add_host+0x58/0x64) r5:00000000 r4:c784f400 [<c020a248>] (mmc_add_host+0x0/0x64) from [<c001ec00>] (omap_mmc_probe+0x3d0/0x548) r5:c784f5c0 r4:00000000 [<c001e830>] (omap_mmc_probe+0x0/0x548) from [<c01dd554>] (platform_drv_probe+0x20/0x24) [<c01dd534>] (platform_drv_probe+0x0/0x24) from [<c01dc740>] (driver_probe_device+0xd4/0x180) [<c01dc66c>] (driver_probe_device+0x0/0x180) from [<c01dc854>] (__driver_attach+0x68/0x8c) r7:c789d140 r6:c038ada4 r5:c7910490 r4:c7910408 [<c01dc7ec>] (__driver_attach+0x0/0x8c) from [<c01dbf8c>] (bus_for_each_dev+0x4c/0x80) r7:c789d140 r6:c038ada4 r5:c01dc7ec r4:00000000 [<c01dbf40>] (bus_for_each_dev+0x0/0x80) from [<c01dc584>] (driver_attach+0x20/0x28) r6:c038ada4 r5:00000000 r4:00000000 [<c01dc564>] (driver_attach+0x0/0x28) from [<c01db868>] (bus_add_driver+0xa8/0x210) [<c01db7c0>] (bus_add_driver+0x0/0x210) from [<c01dca78>] (driver_register+0x98/0x120) r8:00000001 r7:c001e814 r6:c038ada4 r5:00000000 r4:c0024a44 [<c01dc9e0>] (driver_register+0x0/0x120) from [<c01dd9fc>] (platform_driver_register+0x6c/0x88) r9:00000000 r8:00000001 r7:c001e814 r6:00000000 r5:00000000 r4:c0024a44 [<c01dd990>] (platform_driver_register+0x0/0x88) from [<c001e828>] (omap_mmc_init+0x14/0x1c) [<c001e814>] (omap_mmc_init+0x0/0x1c) from [<c00292ec>] (do_one_initcall+0x5c/0x19c) [<c0029290>] (do_one_initcall+0x0/0x19c) from [<c0008404>] (kernel_init+0x84/0xf8) r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:c0024a44 [<c0008380>] (kernel_init+0x0/0xf8) from [<c0056ea0>] (do_exit+0x0/0x764) r4:00000000 ---[ end trace e339700732a37a4d ]--- [.../ (none):~# echo 1 > /sys/power/clocks_off_while_idle (none):~# echo mem > /sys/power/state PM: Syncing filesystems ... done. Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. Suspending console(s) (use no_console_suspend to debug) ------------[ cut here ]------------ WARNING: at /net/home/khilman/work/kernel/omap/pm/drivers/regulator/core.c:1216 regulator_disable+0x64/0x90() unbalanced disables for supply mmci-omap-hs.0-vmmc Modules linked in: [<c02a0830>] (dump_stack+0x0/0x14) from [<c0053af0>] (warn_slowpath+0x6c/0x88) [<c0053a84>] (warn_slowpath+0x0/0x88) from [<c01b8bdc>] (regulator_disable+0x64/0x90) r3:c79dc2a0 r2:c03390cb r7:c78e8c20 r6:c78aac38 r5:c78e8c20 r4:fffffffb [<c01b8b78>] (regulator_disable+0x0/0x90) from [<c0209400>] (mmc_regulator_set_ocr+0xb0/0xcc) r7:c78e8c20 r6:00000001 r5:00000000 r4:00000000 [<c0209350>] (mmc_regulator_set_ocr+0x0/0xcc) from [<c003abe8>] (twl_mmc1_set_power+0xc0/0xec) r7:c784f538 r6:00000000 r5:00000000 r4:c039185c [<c003ab28>] (twl_mmc1_set_power+0x0/0xec) from [<c0210aa8>] (omap_mmc_set_ios+0x54/0x2b0) r7:c784f538 r6:c784f5c0 r5:c784f400 r4:c7844380 [<c0210a54>] (omap_mmc_set_ios+0x0/0x2b0) from [<c0208dc8>] (mmc_power_off+0x54/0x58) r7:c7910490 r6:c7910400 r5:a0000013 r4:c784f400 [<c0208d74>] (mmc_power_off+0x0/0x58) from [<c02097e0>] (mmc_suspend_host+0x14c/0x154) [<c0209694>] (mmc_suspend_host+0x0/0x154) from [<c02107e0>] (omap_mmc_suspend+0x30/0xe0) r5:c0388a74 r4:c784f5c0 [<c02107b0>] (omap_mmc_suspend+0x0/0xe0) from [<c01dd5d4>] (platform_drv_suspend+0x20/0x24) r7:c7910490 r6:c79104b8 r5:c0388a74 r4:c0388ba4 [<c01dd5b4>] (platform_drv_suspend+0x0/0x24) from [<c01dd6c4>] (platform_pm_suspend+0x50/0x5c) [<c01dd674>] (platform_pm_suspend+0x0/0x5c) from [<c01df9ec>] (pm_op+0x38/0x7c) [<c01df9b4>] (pm_op+0x0/0x7c) from [<c01e0150>] (device_suspend+0x350/0x480) r5:c7910408 r4:c0388ba4 [<c01dfe00>] (device_suspend+0x0/0x480) from [<c007d4b8>] (suspend_devices_and_enter+0x44/0x1c4) [<c007d474>] (suspend_devices_and_enter+0x0/0x1c4) from [<c007d7a0>] (enter_state+0x134/0x1b8) r7:c02a5bf4 r6:00000003 r5:c031de6b r4:000072ab [<c007d66c>] (enter_state+0x0/0x1b8) from [<c007d8c0>] (state_store+0x9c/0xc4) r7:c02a5bf4 r6:00000003 r5:00000003 r4:c031de6b [<c007d824>] (state_store+0x0/0xc4) from [<c019329c>] (kobj_attr_store+0x20/0x24) [<c019327c>] (kobj_attr_store+0x0/0x24) from [<c00f7010>] (sysfs_write_file+0x110/0x144) [<c00f6f00>] (sysfs_write_file+0x0/0x144) from [<c00ac7b4>] (vfs_write+0xb8/0x148) [<c00ac6fc>] (vfs_write+0x0/0x148) from [<c00ac908>] (sys_write+0x44/0x70) r7:00000004 r6:c78d3ae0 r5:00000000 r4:00000000 [<c00ac8c4>] (sys_write+0x0/0x70) from [<c0029e20>] (ret_fast_syscall+0x0/0x2c) r8:c0029fc8 r7:00000004 r6:401ab5e0 r5:000c3408 r4:00000004 ---[ end trace e339700732a37a4f ]--- Successfully put all powerdomains to target state Restarting tasks ... done. [1] http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=summary ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-18 5:21 PM branch rebased to 2.6.29 Kevin Hilman @ 2009-03-18 7:41 ` Artem Bityutskiy 2009-03-18 15:51 ` Kevin Hilman 2009-03-19 22:20 ` David Brownell ` (2 subsequent siblings) 3 siblings, 1 reply; 31+ messages in thread From: Artem Bityutskiy @ 2009-03-18 7:41 UTC (permalink / raw) To: Kevin Hilman; +Cc: linux-omap Kevin Hilman wrote: > FYI... > > The PM branch has now been rebased to today's linux-omap HEAD which is > based on v2.6.29-rc8. The previous PM branch has been renamed to > pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not > (yet) have the latest PM branch. If not, you can use my PM tree[1] > directly. Also, pm-2.6.28 will only be available on my tree. Sorry for ignorance, but in your PM tree the latest stuff is in the pm branch, right? -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-18 7:41 ` Artem Bityutskiy @ 2009-03-18 15:51 ` Kevin Hilman 0 siblings, 0 replies; 31+ messages in thread From: Kevin Hilman @ 2009-03-18 15:51 UTC (permalink / raw) To: Artem Bityutskiy; +Cc: linux-omap Artem Bityutskiy <dedekind@yandex.ru> writes: > Kevin Hilman wrote: >> FYI... >> >> The PM branch has now been rebased to today's linux-omap HEAD which is >> based on v2.6.29-rc8. The previous PM branch has been renamed to >> pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not >> (yet) have the latest PM branch. If not, you can use my PM tree[1] >> directly. Also, pm-2.6.28 will only be available on my tree. > > Sorry for ignorance, but in your PM tree the latest stuff is in > the pm branch, right? > Yes. The master branch of my tree just tracks linux-omap. Kevin ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-18 5:21 PM branch rebased to 2.6.29 Kevin Hilman 2009-03-18 7:41 ` Artem Bityutskiy @ 2009-03-19 22:20 ` David Brownell 2009-03-20 18:59 ` Tony Lindgren 2009-03-24 17:10 ` Peter Barada 2009-03-26 16:54 ` Jean Pihet 3 siblings, 1 reply; 31+ messages in thread From: David Brownell @ 2009-03-19 22:20 UTC (permalink / raw) To: Kevin Hilman; +Cc: linux-omap On Tuesday 17 March 2009, Kevin Hilman wrote: > - Beagle: MMC regulator: unbalanced disables. This happens on boot > and during suspend/resume. I don't think this is related to the PM > branch, but is probably in linux-omap HEAD also, but didn't test. It is. Other boards may see that too. Two fixes: * Least hassle ... I think all these should merge to the linux-omap tree in any case (and thence linux-pm): http://marc.info/?l=linux-omap&m=123699264117846&w=2 http://marc.info/?l=linux-omap&m=123699340818395&w=2 http://marc.info/?l=linux-omap&m=123705919713239&w=2 * Or there are a number of regulator-framework patches floating around, all of which fix the bug there... The root cause of this is that u-boot leaves VMMC1 active, and the regulator framework doesn't cope with that yet. The stackdump is basically caused by self-inconsistencies in that framework. The first fix lets the twl4030-power driver (not yet on track for mainline merge) undo that, so the regulator framework will no longer be confused. That presumes a bunch of board-specific patches fix that issue. (As well as setting up other power resources, e.g. so that CLKREQ behaves, which is the real goal of that patch.) The second fix -- in some flavor -- is IMO still needed, since the first fix is just avoiding regulator framework bugs. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-19 22:20 ` David Brownell @ 2009-03-20 18:59 ` Tony Lindgren 2009-03-20 19:46 ` David Brownell 0 siblings, 1 reply; 31+ messages in thread From: Tony Lindgren @ 2009-03-20 18:59 UTC (permalink / raw) To: David Brownell; +Cc: Kevin Hilman, linux-omap * David Brownell <david-b@pacbell.net> [090319 15:27]: > On Tuesday 17 March 2009, Kevin Hilman wrote: > > - Beagle: MMC regulator: unbalanced disables. This happens on boot > > and during suspend/resume. I don't think this is related to the PM > > branch, but is probably in linux-omap HEAD also, but didn't test. > > It is. Other boards may see that too. Two fixes: > > * Least hassle ... I think all these should merge to the > linux-omap tree in any case (and thence linux-pm): > > http://marc.info/?l=linux-omap&m=123699264117846&w=2 > http://marc.info/?l=linux-omap&m=123699340818395&w=2 > http://marc.info/?l=linux-omap&m=123705919713239&w=2 Pushed these. That way we'll end up with a working 2.6.29-omap1 :) Dave, got a version of the third patch above against the mainline kernel? That could be added to the omap3-boards queue for the upcoming merge window. > * Or there are a number of regulator-framework patches > floating around, all of which fix the bug there... > > The root cause of this is that u-boot leaves VMMC1 active, > and the regulator framework doesn't cope with that yet. > The stackdump is basically caused by self-inconsistencies > in that framework. > > The first fix lets the twl4030-power driver (not yet on > track for mainline merge) undo that, so the regulator > framework will no longer be confused. That presumes a > bunch of board-specific patches fix that issue. (As > well as setting up other power resources, e.g. so that > CLKREQ behaves, which is the real goal of that patch.) > > The second fix -- in some flavor -- is IMO still needed, > since the first fix is just avoiding regulator framework > bugs. To me it sounds like the regulator framework should eventually handle the regulators left on by the bootloader. Just let me know if some other patches are needed to l-o tree meanwhile. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-20 18:59 ` Tony Lindgren @ 2009-03-20 19:46 ` David Brownell 2009-03-20 19:57 ` Tony Lindgren 2009-03-20 22:36 ` David Brownell 0 siblings, 2 replies; 31+ messages in thread From: David Brownell @ 2009-03-20 19:46 UTC (permalink / raw) To: Tony Lindgren; +Cc: Kevin Hilman, linux-omap On Friday 20 March 2009, Tony Lindgren wrote: > * David Brownell <david-b@pacbell.net> [090319 15:27]: > > > > * Least hassle ... I think all these should merge to the > > linux-omap tree in any case (and thence linux-pm): > > > > http://marc.info/?l=linux-omap&m=123699264117846&w=2 > > http://marc.info/?l=linux-omap&m=123699340818395&w=2 > > http://marc.info/?l=linux-omap&m=123705919713239&w=2 > > Pushed these. That way we'll end up with a working > 2.6.29-omap1 :) I approve that message. ;) > Dave, got a version of the third patch above against the > mainline kernel? That could be added to the omap3-boards > queue for the upcoming merge window. That patch was a bit messy ... combined the VPLL2 bits, and the twl4030-power bits. The former can go to mainline, but only after the regulator framework updates for VPLL2; I'll make such a patch. The latter needs twl4030-power to get to mainline ... > > The second fix -- in some flavor -- is IMO still needed, > > since the first fix is just avoiding regulator framework > > bugs. > > To me it sounds like the regulator framework should eventually > handle the regulators left on by the bootloader. Just let me > know if some other patches are needed to l-o tree meanwhile. I may just prepare an mmc-twl4030 patch with ugly workarounds, since I'm getting the strong feeling that it'll take forever to get the regulator framework fixed in that area. Meanwhile, I suggest merging the updated version of the Overo patch, as sent by Steve. - Dave ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-20 19:46 ` David Brownell @ 2009-03-20 19:57 ` Tony Lindgren 2009-03-20 21:27 ` Tony Lindgren 2009-03-20 22:36 ` David Brownell 1 sibling, 1 reply; 31+ messages in thread From: Tony Lindgren @ 2009-03-20 19:57 UTC (permalink / raw) To: David Brownell; +Cc: Kevin Hilman, linux-omap * David Brownell <david-b@pacbell.net> [090320 12:46]: > On Friday 20 March 2009, Tony Lindgren wrote: > > * David Brownell <david-b@pacbell.net> [090319 15:27]: > > > > > > * Least hassle ... I think all these should merge to the > > > linux-omap tree in any case (and thence linux-pm): > > > > > > http://marc.info/?l=linux-omap&m=123699264117846&w=2 > > > http://marc.info/?l=linux-omap&m=123699340818395&w=2 > > > http://marc.info/?l=linux-omap&m=123705919713239&w=2 > > > > Pushed these. That way we'll end up with a working > > 2.6.29-omap1 :) > > I approve that message. ;) > > > > Dave, got a version of the third patch above against the > > mainline kernel? That could be added to the omap3-boards > > queue for the upcoming merge window. > > That patch was a bit messy ... combined the VPLL2 bits, > and the twl4030-power bits. The former can go to mainline, > but only after the regulator framework updates for VPLL2; > I'll make such a patch. The latter needs twl4030-power to > get to mainline ... OK & thanks. > > > The second fix -- in some flavor -- is IMO still needed, > > > since the first fix is just avoiding regulator framework > > > bugs. > > > > To me it sounds like the regulator framework should eventually > > handle the regulators left on by the bootloader. Just let me > > know if some other patches are needed to l-o tree meanwhile. > > I may just prepare an mmc-twl4030 patch with ugly workarounds, > since I'm getting the strong feeling that it'll take forever > to get the regulator framework fixed in that area. > > Meanwhile, I suggest merging the updated version of the Overo > patch, as sent by Steve. That should be now applied, looks like the MMC is still not working though. Tony ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-20 19:57 ` Tony Lindgren @ 2009-03-20 21:27 ` Tony Lindgren 0 siblings, 0 replies; 31+ messages in thread From: Tony Lindgren @ 2009-03-20 21:27 UTC (permalink / raw) To: David Brownell; +Cc: Kevin Hilman, linux-omap * Tony Lindgren <tony@atomide.com> [090320 12:56]: > * David Brownell <david-b@pacbell.net> [090320 12:46]: > > On Friday 20 March 2009, Tony Lindgren wrote: > > > * David Brownell <david-b@pacbell.net> [090319 15:27]: > > > > > > > > * Least hassle ... I think all these should merge to the > > > > linux-omap tree in any case (and thence linux-pm): > > > > > > > > http://marc.info/?l=linux-omap&m=123699264117846&w=2 > > > > http://marc.info/?l=linux-omap&m=123699340818395&w=2 > > > > http://marc.info/?l=linux-omap&m=123705919713239&w=2 > > > > > > Pushed these. That way we'll end up with a working > > > 2.6.29-omap1 :) > > > > I approve that message. ;) > > > > > > > Dave, got a version of the third patch above against the > > > mainline kernel? That could be added to the omap3-boards > > > queue for the upcoming merge window. > > > > That patch was a bit messy ... combined the VPLL2 bits, > > and the twl4030-power bits. The former can go to mainline, > > but only after the regulator framework updates for VPLL2; > > I'll make such a patch. The latter needs twl4030-power to > > get to mainline ... > > OK & thanks. > > > > > The second fix -- in some flavor -- is IMO still needed, > > > > since the first fix is just avoiding regulator framework > > > > bugs. > > > > > > To me it sounds like the regulator framework should eventually > > > handle the regulators left on by the bootloader. Just let me > > > know if some other patches are needed to l-o tree meanwhile. > > > > I may just prepare an mmc-twl4030 patch with ugly workarounds, > > since I'm getting the strong feeling that it'll take forever > > to get the regulator framework fixed in that area. > > > > Meanwhile, I suggest merging the updated version of the Overo > > patch, as sent by Steve. > > That should be now applied, looks like the MMC is still not > working though. Heh, user error.. I was missing CONFIG_REGULATOR in my .config. Works now. Tony ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-20 19:46 ` David Brownell 2009-03-20 19:57 ` Tony Lindgren @ 2009-03-20 22:36 ` David Brownell 1 sibling, 0 replies; 31+ messages in thread From: David Brownell @ 2009-03-20 22:36 UTC (permalink / raw) To: Tony Lindgren; +Cc: Kevin Hilman, linux-omap On Friday 20 March 2009, David Brownell wrote: > I may just prepare an mmc-twl4030 patch with ugly workarounds, > since I'm getting the strong feeling that it'll take forever > to get the regulator framework fixed in that area. I just sent that ... ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-18 5:21 PM branch rebased to 2.6.29 Kevin Hilman 2009-03-18 7:41 ` Artem Bityutskiy 2009-03-19 22:20 ` David Brownell @ 2009-03-24 17:10 ` Peter Barada 2009-03-24 18:08 ` Kevin Hilman 2009-03-26 16:54 ` Jean Pihet 3 siblings, 1 reply; 31+ messages in thread From: Peter Barada @ 2009-03-24 17:10 UTC (permalink / raw) To: Kevin Hilman; +Cc: linux-omap On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: > FYI... > > The PM branch has now been rebased to today's linux-omap HEAD which is > based on v2.6.29-rc8. The previous PM branch has been renamed to > pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not > (yet) have the latest PM branch. If not, you can use my PM tree[1] > directly. Also, pm-2.6.28 will only be available on my tree. > > Tested on OMAP3 Beagle and RX51 and was able to hit RET and OFF in > suspend and in PM idle with minimal kernel. No testing yet done for > CPUidle or DVFS. Please test on your hardware and submit results to > the list. Thanks. Kevin, did you build/test with the /arc/arm/config/omap3_beagle_defconfig, and arc/arm/configs/rx51_defconfig or some other config(could you send it to me if it isn't in the PM tree)? I'm trying to bring up your PM branch on my OMAP3530_LV_SOM, using LDP as a starting point, and it goes into retention but doesn't come back out, and rather than thrash on the LDP defconfig, start with a config/code that is known to work. I'm also resnapping to commit c3127068... to jump to the latest from your tree and start my port over. I have to get suspend/resume working first before I start working in all the drivers, and check that suspend/resume works for each functional addition... Thanks in advance! > Kevin > > -- > > Misc. conflicts/issues resolved after rebase: > > - no longer safe to use getnstimeofday() in suspend path since timekeeping > subsystem is also suspended in the suspend path. PM debug timing has > been converted to use sched_clock() which is 32k sync-timer based. > > - Update board-rx51.c to use common OMAP3 OPPs > > Known issues: > > - Beagle: MMC: off-mode needs work in MMC driver, so if you hit off > and have a rootfs on MMC, you're dead. > > - Beagle: MMC regulator: unbalanced disables. This happens on boot > and during suspend/resume. I don't think this is related to the PM > branch, but is probably in linux-omap HEAD also, but didn't test. > > Linux version 2.6.29-rc8-omap1-arm-omap3beagle-default-05653-gd803372-dirty (khilman@vence) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-66) ) #4 PREEMPT Tue Mar 17 21:38:09 PDT 2009 > [...] > i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz > twl4030: PIH (irq 7) chaining IRQs 368..375 > twl4030: power (irq 373) chaining IRQs 376..383 > twl4030: gpio (irq 368) chaining IRQs 384..401 > beagle_twl_gpio_setup:145 > twl4030_mmc_init:303 > twl4030_mmc_init:318 > regulator: VMMC1: 1850 <--> 3150 mV normal standby > regulator: VDAC: 1800 mV normal standby > regulator: VUSB1V5: 1500 <--> 0 mV normal standby > regulator: VUSB1V8: 1800 <--> 0 mV normal standby > regulator: VUSB3V1: 3100 <--> 0 mV normal standby > regulator: VSIM: 1800 <--> 3000 mV normal standby > [...] > mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock > ------------[ cut here ]------------ > WARNING: at /net/home/khilman/work/kernel/omap/pm/drivers/regulator/core.c:1216 regulator_disable+0x64/0x90() > unbalanced disables for supply mmci-omap-hs.0-vmmc > Modules linked in: > [<c02a0830>] (dump_stack+0x0/0x14) from [<c0053af0>] (warn_slowpath+0x6c/0x88) > [<c0053a84>] (warn_slowpath+0x0/0x88) from [<c01b8bdc>] (regulator_disable+0x64/0x90) > r3:c79dc2a0 r2:c03390cb > r7:c78e8c20 r6:c78aac38 r5:c78e8c20 r4:fffffffb > [<c01b8b78>] (regulator_disable+0x0/0x90) from [<c0209400>] (mmc_regulator_set_ocr+0xb0/0xcc) > r7:c78e8c20 r6:00000001 r5:00000000 r4:00000000 > [<c0209350>] (mmc_regulator_set_ocr+0x0/0xcc) from [<c003abe8>] (twl_mmc1_set_power+0xc0/0xec) > r7:c784f538 r6:00000000 r5:00000000 r4:c039185c > [<c003ab28>] (twl_mmc1_set_power+0x0/0xec) from [<c0210aa8>] (omap_mmc_set_ios+0x54/0x2b0) > r7:c784f538 r6:c784f5c0 r5:c784f400 r4:c7844380 > [<c0210a54>] (omap_mmc_set_ios+0x0/0x2b0) from [<c0208dc8>] (mmc_power_off+0x54/0x58) > r7:c784f400 r6:c7910400 r5:00000000 r4:c784f400 > [<c0208d74>] (mmc_power_off+0x0/0x58) from [<c0209074>] (mmc_start_host+0x14/0x24) > [<c0209060>] (mmc_start_host+0x0/0x24) from [<c020a2a0>] (mmc_add_host+0x58/0x64) > r5:00000000 r4:c784f400 > [<c020a248>] (mmc_add_host+0x0/0x64) from [<c001ec00>] (omap_mmc_probe+0x3d0/0x548) > r5:c784f5c0 r4:00000000 > [<c001e830>] (omap_mmc_probe+0x0/0x548) from [<c01dd554>] (platform_drv_probe+0x20/0x24) > [<c01dd534>] (platform_drv_probe+0x0/0x24) from [<c01dc740>] (driver_probe_device+0xd4/0x180) > [<c01dc66c>] (driver_probe_device+0x0/0x180) from [<c01dc854>] (__driver_attach+0x68/0x8c) > r7:c789d140 r6:c038ada4 r5:c7910490 r4:c7910408 > [<c01dc7ec>] (__driver_attach+0x0/0x8c) from [<c01dbf8c>] (bus_for_each_dev+0x4c/0x80) > r7:c789d140 r6:c038ada4 r5:c01dc7ec r4:00000000 > [<c01dbf40>] (bus_for_each_dev+0x0/0x80) from [<c01dc584>] (driver_attach+0x20/0x28) > r6:c038ada4 r5:00000000 r4:00000000 > [<c01dc564>] (driver_attach+0x0/0x28) from [<c01db868>] (bus_add_driver+0xa8/0x210) > [<c01db7c0>] (bus_add_driver+0x0/0x210) from [<c01dca78>] (driver_register+0x98/0x120) > r8:00000001 r7:c001e814 r6:c038ada4 r5:00000000 r4:c0024a44 > [<c01dc9e0>] (driver_register+0x0/0x120) from [<c01dd9fc>] (platform_driver_register+0x6c/0x88) > r9:00000000 r8:00000001 r7:c001e814 r6:00000000 r5:00000000 > r4:c0024a44 > [<c01dd990>] (platform_driver_register+0x0/0x88) from [<c001e828>] (omap_mmc_init+0x14/0x1c) > [<c001e814>] (omap_mmc_init+0x0/0x1c) from [<c00292ec>] (do_one_initcall+0x5c/0x19c) > [<c0029290>] (do_one_initcall+0x0/0x19c) from [<c0008404>] (kernel_init+0x84/0xf8) > r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:c0024a44 > [<c0008380>] (kernel_init+0x0/0xf8) from [<c0056ea0>] (do_exit+0x0/0x764) > r4:00000000 > ---[ end trace e339700732a37a4d ]--- > [.../ > (none):~# echo 1 > /sys/power/clocks_off_while_idle > (none):~# echo mem > /sys/power/state > PM: Syncing filesystems ... done. > Freezing user space processes ... (elapsed 0.00 seconds) done. > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > Suspending console(s) (use no_console_suspend to debug) > ------------[ cut here ]------------ > WARNING: at /net/home/khilman/work/kernel/omap/pm/drivers/regulator/core.c:1216 regulator_disable+0x64/0x90() > unbalanced disables for supply mmci-omap-hs.0-vmmc > Modules linked in: > [<c02a0830>] (dump_stack+0x0/0x14) from [<c0053af0>] (warn_slowpath+0x6c/0x88) > [<c0053a84>] (warn_slowpath+0x0/0x88) from [<c01b8bdc>] (regulator_disable+0x64/0x90) > r3:c79dc2a0 r2:c03390cb > r7:c78e8c20 r6:c78aac38 r5:c78e8c20 r4:fffffffb > [<c01b8b78>] (regulator_disable+0x0/0x90) from [<c0209400>] (mmc_regulator_set_ocr+0xb0/0xcc) > r7:c78e8c20 r6:00000001 r5:00000000 r4:00000000 > [<c0209350>] (mmc_regulator_set_ocr+0x0/0xcc) from [<c003abe8>] (twl_mmc1_set_power+0xc0/0xec) > r7:c784f538 r6:00000000 r5:00000000 r4:c039185c > [<c003ab28>] (twl_mmc1_set_power+0x0/0xec) from [<c0210aa8>] (omap_mmc_set_ios+0x54/0x2b0) > r7:c784f538 r6:c784f5c0 r5:c784f400 r4:c7844380 > [<c0210a54>] (omap_mmc_set_ios+0x0/0x2b0) from [<c0208dc8>] (mmc_power_off+0x54/0x58) > r7:c7910490 r6:c7910400 r5:a0000013 r4:c784f400 > [<c0208d74>] (mmc_power_off+0x0/0x58) from [<c02097e0>] (mmc_suspend_host+0x14c/0x154) > [<c0209694>] (mmc_suspend_host+0x0/0x154) from [<c02107e0>] (omap_mmc_suspend+0x30/0xe0) > r5:c0388a74 r4:c784f5c0 > [<c02107b0>] (omap_mmc_suspend+0x0/0xe0) from [<c01dd5d4>] (platform_drv_suspend+0x20/0x24) > r7:c7910490 r6:c79104b8 r5:c0388a74 r4:c0388ba4 > [<c01dd5b4>] (platform_drv_suspend+0x0/0x24) from [<c01dd6c4>] (platform_pm_suspend+0x50/0x5c) > [<c01dd674>] (platform_pm_suspend+0x0/0x5c) from [<c01df9ec>] (pm_op+0x38/0x7c) > [<c01df9b4>] (pm_op+0x0/0x7c) from [<c01e0150>] (device_suspend+0x350/0x480) > r5:c7910408 r4:c0388ba4 > [<c01dfe00>] (device_suspend+0x0/0x480) from [<c007d4b8>] (suspend_devices_and_enter+0x44/0x1c4) > [<c007d474>] (suspend_devices_and_enter+0x0/0x1c4) from [<c007d7a0>] (enter_state+0x134/0x1b8) > r7:c02a5bf4 r6:00000003 r5:c031de6b r4:000072ab > [<c007d66c>] (enter_state+0x0/0x1b8) from [<c007d8c0>] (state_store+0x9c/0xc4) > r7:c02a5bf4 r6:00000003 r5:00000003 r4:c031de6b > [<c007d824>] (state_store+0x0/0xc4) from [<c019329c>] (kobj_attr_store+0x20/0x24) > [<c019327c>] (kobj_attr_store+0x0/0x24) from [<c00f7010>] (sysfs_write_file+0x110/0x144) > [<c00f6f00>] (sysfs_write_file+0x0/0x144) from [<c00ac7b4>] (vfs_write+0xb8/0x148) > [<c00ac6fc>] (vfs_write+0x0/0x148) from [<c00ac908>] (sys_write+0x44/0x70) > r7:00000004 r6:c78d3ae0 r5:00000000 r4:00000000 > [<c00ac8c4>] (sys_write+0x0/0x70) from [<c0029e20>] (ret_fast_syscall+0x0/0x2c) > r8:c0029fc8 r7:00000004 r6:401ab5e0 r5:000c3408 r4:00000004 > ---[ end trace e339700732a37a4f ]--- > Successfully put all powerdomains to target state > Restarting tasks ... done. > > [1] http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=summary > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Peter Barada <peterb@logicpd.com> ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-24 17:10 ` Peter Barada @ 2009-03-24 18:08 ` Kevin Hilman 2009-03-24 20:11 ` Peter Barada 0 siblings, 1 reply; 31+ messages in thread From: Kevin Hilman @ 2009-03-24 18:08 UTC (permalink / raw) To: Peter Barada; +Cc: linux-omap [-- Attachment #1: Type: text/plain, Size: 1609 bytes --] Peter Barada <peterb@logicpd.com> writes: > On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: >> FYI... >> >> The PM branch has now been rebased to today's linux-omap HEAD which is >> based on v2.6.29-rc8. The previous PM branch has been renamed to >> pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not >> (yet) have the latest PM branch. If not, you can use my PM tree[1] >> directly. Also, pm-2.6.28 will only be available on my tree. >> >> Tested on OMAP3 Beagle and RX51 and was able to hit RET and OFF in >> suspend and in PM idle with minimal kernel. No testing yet done for >> CPUidle or DVFS. Please test on your hardware and submit results to >> the list. Thanks. > > Kevin, did you build/test with > the /arc/arm/config/omap3_beagle_defconfig, and > arc/arm/configs/rx51_defconfig or some other config(could you send it to > me if it isn't in the PM tree)? I started with the ones in the tree, but I disable most of the drivers and turn on some debugging features. Attached is the one I used for beagle. Kevin > I'm trying to bring up your PM branch > on my OMAP3530_LV_SOM, using LDP as a starting point, and it goes into > retention but doesn't come back out, and rather than thrash on the LDP > defconfig, start with a config/code that is known to work. I'm also > resnapping to commit c3127068... to jump to the latest from your tree > and start my port over. I have to get suspend/resume working first > before I start working in all the drivers, and check that suspend/resume > works for each functional addition... > > Thanks in advance! > [...] [-- Attachment #2: beagle.pm.config --] [-- Type: text/plain, Size: 34385 bytes --] # # Automatically generated make config: don't edit # Linux kernel version: 2.6.28-omap1 # Tue Mar 24 09:07:57 2009 # CONFIG_ARM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_GENERIC_GPIO=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_MMU=y # CONFIG_NO_IOPORT is not set CONFIG_GENERIC_HARDIRQS=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_HARDIRQS_SW_RESEND=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_RWSEM_GENERIC_SPINLOCK=y # CONFIG_ARCH_HAS_ILOG2_U32 is not set # CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_VECTORS_BASE=0xffff0000 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y # CONFIG_POSIX_MQUEUE is not set CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=14 # CONFIG_CGROUPS is not set CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y # CONFIG_RT_GROUP_SCHED is not set CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y # CONFIG_RELAY is not set # CONFIG_NAMESPACES is not set CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_EMBEDDED=y CONFIG_UID16=y # CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_COMPAT_BRK=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_ANON_INODES=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_SLAB=y # CONFIG_SLUB is not set # CONFIG_SLOB is not set # CONFIG_PROFILING is not set # CONFIG_MARKERS is not set CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_CLK=y CONFIG_HAVE_GENERIC_DMA_COHERENT=y CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 CONFIG_MODULES=y # CONFIG_MODULE_FORCE_LOAD is not set CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_KMOD=y CONFIG_BLOCK=y # CONFIG_LBD is not set # CONFIG_BLK_DEV_IO_TRACE is not set # CONFIG_LSF is not set # CONFIG_BLK_DEV_BSG is not set # CONFIG_BLK_DEV_INTEGRITY is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_AS=y # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="anticipatory" CONFIG_CLASSIC_RCU=y CONFIG_FREEZER=y # # System Type # # CONFIG_ARCH_AAEC2000 is not set # CONFIG_ARCH_INTEGRATOR is not set # CONFIG_ARCH_REALVIEW is not set # CONFIG_ARCH_VERSATILE is not set # CONFIG_ARCH_AT91 is not set # CONFIG_ARCH_CLPS7500 is not set # CONFIG_ARCH_CLPS711X is not set # CONFIG_ARCH_EBSA110 is not set # CONFIG_ARCH_EP93XX is not set # CONFIG_ARCH_FOOTBRIDGE is not set # CONFIG_ARCH_NETX is not set # CONFIG_ARCH_H720X is not set # CONFIG_ARCH_IMX is not set # CONFIG_ARCH_IOP13XX is not set # CONFIG_ARCH_IOP32X is not set # CONFIG_ARCH_IOP33X is not set # CONFIG_ARCH_IXP23XX is not set # CONFIG_ARCH_IXP2000 is not set # CONFIG_ARCH_IXP4XX is not set # CONFIG_ARCH_L7200 is not set # CONFIG_ARCH_KIRKWOOD is not set # CONFIG_ARCH_KS8695 is not set # CONFIG_ARCH_NS9XXX is not set # CONFIG_ARCH_LOKI is not set # CONFIG_ARCH_MV78XX0 is not set # CONFIG_ARCH_MXC is not set # CONFIG_ARCH_ORION5X is not set # CONFIG_ARCH_PNX4008 is not set # CONFIG_ARCH_PXA is not set # CONFIG_ARCH_RPC is not set # CONFIG_ARCH_SA1100 is not set # CONFIG_ARCH_S3C2410 is not set # CONFIG_ARCH_SHARK is not set # CONFIG_ARCH_LH7A40X is not set # CONFIG_ARCH_DAVINCI is not set CONFIG_ARCH_OMAP=y # CONFIG_ARCH_MSM is not set # # TI OMAP Implementations # CONFIG_ARCH_OMAP_OTG=y # CONFIG_ARCH_OMAP1 is not set # CONFIG_ARCH_OMAP2 is not set CONFIG_ARCH_OMAP3=y # # OMAP Feature Selections # # CONFIG_OMAP_DEBUG_POWERDOMAIN is not set # CONFIG_OMAP_DEBUG_CLOCKDOMAIN is not set CONFIG_OMAP_SMARTREFLEX=y # CONFIG_OMAP_SMARTREFLEX_TESTING is not set CONFIG_OMAP_RESET_CLOCKS=y CONFIG_OMAP_BOOT_TAG=y CONFIG_OMAP_BOOT_REASON=y # CONFIG_OMAP_COMPONENT_VERSION is not set # CONFIG_OMAP_GPIO_SWITCH is not set # CONFIG_OMAP_MUX is not set # CONFIG_OMAP_MCBSP is not set # CONFIG_OMAP_MMU_FWK is not set # CONFIG_OMAP_MBOX_FWK is not set # CONFIG_OMAP_MPU_TIMER is not set CONFIG_OMAP_32K_TIMER=y # CONFIG_OMAP3_DEBOBS is not set CONFIG_OMAP_32K_TIMER_HZ=128 CONFIG_OMAP_TICK_GPTIMER=12 CONFIG_OMAP_DM_TIMER=y # CONFIG_OMAP_LL_DEBUG_UART1 is not set # CONFIG_OMAP_LL_DEBUG_UART2 is not set CONFIG_OMAP_LL_DEBUG_UART3=y # CONFIG_OMAP_PM_NONE is not set CONFIG_OMAP_PM_NOOP=y # CONFIG_OMAP_PM_SRF is not set CONFIG_ARCH_OMAP34XX=y CONFIG_ARCH_OMAP3430=y # # OMAP Board Type # # CONFIG_MACH_OMAP_LDP is not set # CONFIG_MACH_OMAP_3430SDP is not set # CONFIG_MACH_OMAP3EVM is not set CONFIG_MACH_OMAP3_BEAGLE=y # CONFIG_MACH_OVERO is not set # CONFIG_MACH_OMAP3_PANDORA is not set # # Boot options # # # Power management # # # Processor Type # CONFIG_CPU_32=y CONFIG_CPU_32v6K=y CONFIG_CPU_V7=y CONFIG_CPU_32v7=y CONFIG_CPU_ABRT_EV7=y CONFIG_CPU_PABRT_IFAR=y CONFIG_CPU_CACHE_V7=y CONFIG_CPU_CACHE_VIPT=y CONFIG_CPU_COPY_V6=y CONFIG_CPU_TLB_V7=y CONFIG_CPU_HAS_ASID=y CONFIG_CPU_CP15=y CONFIG_CPU_CP15_MMU=y # # Processor Features # CONFIG_ARM_THUMB=y # CONFIG_ARM_THUMBEE is not set # CONFIG_CPU_ICACHE_DISABLE is not set # CONFIG_CPU_DCACHE_DISABLE is not set # CONFIG_CPU_BPREDICT_DISABLE is not set CONFIG_HAS_TLS_REG=y # CONFIG_OUTER_CACHE is not set # # Bus support # # CONFIG_PCI_SYSCALL is not set # CONFIG_ARCH_SUPPORTS_MSI is not set # CONFIG_PCCARD is not set # # Kernel Features # CONFIG_TICK_ONESHOT=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_VMSPLIT_3G=y # CONFIG_VMSPLIT_2G is not set # CONFIG_VMSPLIT_1G is not set CONFIG_PAGE_OFFSET=0xC0000000 CONFIG_PREEMPT=y CONFIG_HZ=128 CONFIG_AEABI=y CONFIG_OABI_COMPAT=y CONFIG_ARCH_FLATMEM_HAS_HOLES=y # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_RESOURCES_64BIT is not set # CONFIG_PHYS_ADDR_T_64BIT is not set CONFIG_ZONE_DMA_FLAG=0 CONFIG_VIRT_TO_BUS=y CONFIG_UNEVICTABLE_LRU=y # CONFIG_LEDS is not set CONFIG_ALIGNMENT_TRAP=y # # Boot options # CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_CMDLINE="root=/dev/nfs nfsroot=192.168.0.1:/home/user/buildroot ip=192.168.0.2:192.168.0.1:192.168.0.1:255.255.255.0:tgt:eth0:off rw console=ttyS2,115200n8" # CONFIG_XIP_KERNEL is not set # CONFIG_KEXEC is not set # # CPU Power Management # # CONFIG_CPU_FREQ is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y # # Floating point emulation # # # At least one emulation must be selected # CONFIG_FPE_NWFPE=y # CONFIG_FPE_NWFPE_XP is not set # CONFIG_FPE_FASTFPE is not set CONFIG_VFP=y CONFIG_VFPv3=y # CONFIG_NEON is not set # # Userspace binary formats # CONFIG_BINFMT_ELF=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set CONFIG_HAVE_AOUT=y # CONFIG_BINFMT_AOUT is not set CONFIG_BINFMT_MISC=y # # Power management options # CONFIG_PM=y CONFIG_PM_DEBUG=y # CONFIG_PM_VERBOSE is not set CONFIG_CAN_PM_TRACE=y CONFIG_PM_SLEEP=y CONFIG_SUSPEND=y # CONFIG_PM_TEST_SUSPEND is not set CONFIG_SUSPEND_FREEZER=y # CONFIG_APM_EMULATION is not set CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_NET=y # # Networking options # CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set CONFIG_UNIX=y CONFIG_XFRM=y # CONFIG_XFRM_USER is not set # CONFIG_XFRM_SUB_POLICY is not set # CONFIG_XFRM_MIGRATE is not set # CONFIG_XFRM_STATISTICS is not set CONFIG_NET_KEY=y # CONFIG_NET_KEY_MIGRATE is not set CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y CONFIG_IP_PNP_BOOTP=y CONFIG_IP_PNP_RARP=y # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INET_TUNNEL is not set CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TUNNEL=y CONFIG_INET_XFRM_MODE_BEET=y # CONFIG_INET_LRO is not set CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_TCP_MD5SIG is not set # CONFIG_IPV6 is not set # CONFIG_NETWORK_SECMARK is not set # CONFIG_NETFILTER is not set # CONFIG_IP_DCCP is not set # CONFIG_IP_SCTP is not set # CONFIG_TIPC is not set # CONFIG_ATM is not set # CONFIG_BRIDGE is not set # CONFIG_NET_DSA is not set # CONFIG_VLAN_8021Q is not set # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_NET_SCHED is not set # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_HAMRADIO is not set # CONFIG_CAN is not set # CONFIG_IRDA is not set # CONFIG_BT is not set # CONFIG_AF_RXRPC is not set # CONFIG_PHONET is not set CONFIG_WIRELESS=y # CONFIG_CFG80211 is not set CONFIG_WIRELESS_OLD_REGULATORY=y # CONFIG_WIRELESS_EXT is not set # CONFIG_MAC80211 is not set # CONFIG_IEEE80211 is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set # # Device Drivers # # # Generic Driver Options # CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y # CONFIG_FW_LOADER is not set # CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DEVRES is not set # CONFIG_SYS_HYPERVISOR is not set # CONFIG_CONNECTOR is not set CONFIG_MTD=y # CONFIG_MTD_DEBUG is not set # CONFIG_MTD_CONCAT is not set CONFIG_MTD_PARTITIONS=y # CONFIG_MTD_REDBOOT_PARTS is not set # CONFIG_MTD_CMDLINE_PARTS is not set # CONFIG_MTD_AFS_PARTS is not set # CONFIG_MTD_AR7_PARTS is not set # # User Modules And Translation Layers # CONFIG_MTD_CHAR=y CONFIG_MTD_BLKDEVS=y CONFIG_MTD_BLOCK=y # CONFIG_FTL is not set # CONFIG_NFTL is not set # CONFIG_INFTL is not set # CONFIG_RFD_FTL is not set # CONFIG_SSFDC is not set # CONFIG_MTD_OOPS is not set # # RAM/ROM/Flash chip drivers # # CONFIG_MTD_CFI is not set # CONFIG_MTD_JEDECPROBE is not set CONFIG_MTD_MAP_BANK_WIDTH_1=y CONFIG_MTD_MAP_BANK_WIDTH_2=y CONFIG_MTD_MAP_BANK_WIDTH_4=y # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set CONFIG_MTD_CFI_I1=y CONFIG_MTD_CFI_I2=y # CONFIG_MTD_CFI_I4 is not set # CONFIG_MTD_CFI_I8 is not set # CONFIG_MTD_RAM is not set # CONFIG_MTD_ROM is not set # CONFIG_MTD_ABSENT is not set # # Mapping drivers for chip access # # CONFIG_MTD_COMPLEX_MAPPINGS is not set # CONFIG_MTD_PLATRAM is not set # # Self-contained MTD device drivers # # CONFIG_MTD_SLRAM is not set # CONFIG_MTD_PHRAM is not set # CONFIG_MTD_MTDRAM is not set # CONFIG_MTD_BLOCK2MTD is not set # # Disk-On-Chip Device Drivers # # CONFIG_MTD_DOC2000 is not set # CONFIG_MTD_DOC2001 is not set # CONFIG_MTD_DOC2001PLUS is not set CONFIG_MTD_NAND=y # CONFIG_MTD_NAND_VERIFY_WRITE is not set # CONFIG_MTD_NAND_ECC_SMC is not set # CONFIG_MTD_NAND_MUSEUM_IDS is not set # CONFIG_MTD_NAND_GPIO is not set CONFIG_MTD_NAND_OMAP2=y CONFIG_MTD_NAND_IDS=y # CONFIG_MTD_NAND_DISKONCHIP is not set # CONFIG_MTD_NAND_NANDSIM is not set # CONFIG_MTD_NAND_PLATFORM is not set # CONFIG_MTD_ALAUDA is not set # CONFIG_MTD_ONENAND is not set # # UBI - Unsorted block images # # CONFIG_MTD_UBI is not set # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y # CONFIG_BLK_DEV_CRYPTOLOOP is not set # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_UB is not set CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=16384 # CONFIG_BLK_DEV_XIP is not set # CONFIG_CDROM_PKTCDVD is not set # CONFIG_ATA_OVER_ETH is not set # CONFIG_MISC_DEVICES is not set CONFIG_HAVE_IDE=y # CONFIG_IDE is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set CONFIG_SCSI=y CONFIG_SCSI_DMA=y # CONFIG_SCSI_TGT is not set # CONFIG_SCSI_NETLINK is not set CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set # CONFIG_BLK_DEV_SR is not set # CONFIG_CHR_DEV_SG is not set # CONFIG_CHR_DEV_SCH is not set # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set # CONFIG_SCSI_SCAN_ASYNC is not set CONFIG_SCSI_WAIT_SCAN=m # # SCSI Transports # # CONFIG_SCSI_SPI_ATTRS is not set # CONFIG_SCSI_FC_ATTRS is not set # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set # CONFIG_SCSI_SRP_ATTRS is not set CONFIG_SCSI_LOWLEVEL=y # CONFIG_ISCSI_TCP is not set # CONFIG_SCSI_DEBUG is not set # CONFIG_SCSI_DH is not set # CONFIG_ATA is not set # CONFIG_MD is not set CONFIG_NETDEVICES=y # CONFIG_DUMMY is not set # CONFIG_BONDING is not set # CONFIG_MACVLAN is not set # CONFIG_EQUALIZER is not set # CONFIG_TUN is not set # CONFIG_VETH is not set # CONFIG_NET_ETHERNET is not set # CONFIG_NETDEV_1000 is not set # CONFIG_NETDEV_10000 is not set # # Wireless LAN # # CONFIG_WLAN_PRE80211 is not set # CONFIG_WLAN_80211 is not set # CONFIG_IWLWIFI_LEDS is not set # # USB Network Adapters # # CONFIG_USB_CATC is not set # CONFIG_USB_KAWETH is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_USBNET is not set # CONFIG_WAN is not set # CONFIG_PPP is not set # CONFIG_SLIP is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # CONFIG_ISDN is not set # # Input device support # CONFIG_INPUT=y # CONFIG_INPUT_FF_MEMLESS is not set # CONFIG_INPUT_POLLDEV is not set # # Userland interfaces # # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_JOYDEV is not set # CONFIG_INPUT_EVDEV is not set # CONFIG_INPUT_EVBUG is not set # # Input Device Drivers # # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TABLET is not set # CONFIG_INPUT_TOUCHSCREEN is not set # CONFIG_INPUT_MISC is not set # # Hardware I/O ports # # CONFIG_SERIO is not set # CONFIG_GAMEPORT is not set # # Character devices # CONFIG_VT=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set CONFIG_DEVKMEM=y # CONFIG_SERIAL_NONSTANDARD is not set # # Serial drivers # CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_NR_UARTS=32 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_DETECT_IRQ=y CONFIG_SERIAL_8250_RSA=y # # Non-8250 serial port support # CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_UNIX98_PTYS=y # CONFIG_LEGACY_PTYS is not set # CONFIG_IPMI_HANDLER is not set CONFIG_HW_RANDOM=y # CONFIG_NVRAM is not set # CONFIG_R3964 is not set # CONFIG_RAW_DRIVER is not set # CONFIG_TCG_TPM is not set CONFIG_I2C=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_HELPER_AUTO=y # # I2C Hardware Bus support # # # I2C system bus drivers (mostly embedded / system-on-chip) # # CONFIG_I2C_GPIO is not set # CONFIG_I2C_OCORES is not set CONFIG_I2C_OMAP=y # CONFIG_I2C2_OMAP_BEAGLE is not set # CONFIG_I2C_SIMTEC is not set # # External I2C/SMBus adapter drivers # # CONFIG_I2C_PARPORT_LIGHT is not set # CONFIG_I2C_TAOS_EVM is not set # CONFIG_I2C_TINY_USB is not set # # Other I2C/SMBus bus drivers # # CONFIG_I2C_PCA_PLATFORM is not set # CONFIG_I2C_STUB is not set # # Miscellaneous I2C Chip support # # CONFIG_DS1682 is not set # CONFIG_AT24 is not set # CONFIG_SENSORS_EEPROM is not set # CONFIG_SENSORS_PCF8574 is not set # CONFIG_PCF8575 is not set # CONFIG_SENSORS_PCA9539 is not set # CONFIG_SENSORS_PCF8591 is not set # CONFIG_TPS65010 is not set # CONFIG_TWL4030_MADC is not set # CONFIG_TWL4030_PWRBUTTON is not set # CONFIG_TWL4030_POWEROFF is not set # CONFIG_SENSORS_MAX6875 is not set # CONFIG_SENSORS_TSL2550 is not set # CONFIG_LP5521 is not set # CONFIG_I2C_DEBUG_CORE is not set # CONFIG_I2C_DEBUG_ALGO is not set # CONFIG_I2C_DEBUG_BUS is not set # CONFIG_I2C_DEBUG_CHIP is not set # CONFIG_SPI is not set CONFIG_ARCH_REQUIRE_GPIOLIB=y CONFIG_GPIOLIB=y # CONFIG_DEBUG_GPIO is not set # CONFIG_GPIO_SYSFS is not set # # Memory mapped GPIO expanders: # # # I2C GPIO expanders: # # CONFIG_GPIO_MAX732X is not set # CONFIG_GPIO_PCA953X is not set # CONFIG_GPIO_PCF857X is not set CONFIG_GPIO_TWL4030=y # # PCI GPIO expanders: # # # SPI GPIO expanders: # # CONFIG_W1 is not set # CONFIG_POWER_SUPPLY is not set # CONFIG_HWMON is not set # CONFIG_THERMAL is not set # CONFIG_THERMAL_HWMON is not set # CONFIG_WATCHDOG is not set CONFIG_SSB_POSSIBLE=y # # Sonics Silicon Backplane # # CONFIG_SSB is not set # # Multifunction device drivers # # CONFIG_MFD_CORE is not set # CONFIG_MFD_SM501 is not set # CONFIG_MFD_ASIC3 is not set # CONFIG_HTC_EGPIO is not set # CONFIG_HTC_PASIC3 is not set CONFIG_TWL4030_CORE=y # CONFIG_TWL4030_POWER is not set # CONFIG_MFD_TMIO is not set # CONFIG_MFD_T7L66XB is not set # CONFIG_MFD_TC6387XB is not set # CONFIG_MFD_TC6393XB is not set # CONFIG_PMIC_DA903X is not set # CONFIG_MFD_WM8400 is not set # CONFIG_MFD_WM8350_I2C is not set # # Multimedia devices # # # Multimedia core support # # CONFIG_VIDEO_DEV is not set # CONFIG_DVB_CORE is not set # CONFIG_VIDEO_MEDIA is not set # # Multimedia drivers # CONFIG_DAB=y # CONFIG_USB_DABUSB is not set # # Graphics support # # CONFIG_VGASTATE is not set # CONFIG_VIDEO_OUTPUT_CONTROL is not set CONFIG_FB=y # CONFIG_FIRMWARE_EDID is not set # CONFIG_FB_DDC is not set # CONFIG_FB_BOOT_VESA_SUPPORT is not set CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set # CONFIG_FB_SYS_FILLRECT is not set # CONFIG_FB_SYS_COPYAREA is not set # CONFIG_FB_SYS_IMAGEBLIT is not set # CONFIG_FB_FOREIGN_ENDIAN is not set # CONFIG_FB_SYS_FOPS is not set # CONFIG_FB_SVGALIB is not set # CONFIG_FB_MACMODES is not set # CONFIG_FB_BACKLIGHT is not set # CONFIG_FB_MODE_HELPERS is not set # CONFIG_FB_TILEBLITTING is not set # # Frame buffer hardware drivers # # CONFIG_FB_S1D13XXX is not set # CONFIG_FB_VIRTUAL is not set # CONFIG_FB_METRONOME is not set # CONFIG_FB_MB862XX is not set CONFIG_FB_OMAP=y # CONFIG_FB_OMAP_LCDC_EXTERNAL is not set # CONFIG_FB_OMAP_BOOTLOADER_INIT is not set CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE=4 # CONFIG_BACKLIGHT_LCD_SUPPORT is not set # # Display device support # # CONFIG_DISPLAY_SUPPORT is not set # # Console display driver support # # CONFIG_VGA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y CONFIG_FONTS=y CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y # CONFIG_FONT_6x11 is not set # CONFIG_FONT_7x14 is not set # CONFIG_FONT_PEARL_8x8 is not set # CONFIG_FONT_ACORN_8x8 is not set # CONFIG_FONT_MINI_4x6 is not set # CONFIG_FONT_SUN8x16 is not set # CONFIG_FONT_SUN12x22 is not set # CONFIG_FONT_10x18 is not set # CONFIG_LOGO is not set # CONFIG_SOUND is not set # CONFIG_HID_SUPPORT is not set CONFIG_USB_SUPPORT=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=m # CONFIG_USB_DEBUG is not set # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set # # Miscellaneous USB options # CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICE_CLASS=y # CONFIG_USB_DYNAMIC_MINORS is not set CONFIG_USB_SUSPEND=y CONFIG_USB_OTG=y # CONFIG_USB_OTG_WHITELIST is not set # CONFIG_USB_OTG_BLACKLIST_HUB is not set CONFIG_USB_MON=y # CONFIG_USB_WUSB is not set # CONFIG_USB_WUSB_CBAF is not set # # USB Host Controller Drivers # # CONFIG_USB_C67X00_HCD is not set # CONFIG_USB_EHCI_HCD is not set # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_OHCI_HCD is not set # CONFIG_USB_SL811_HCD is not set # CONFIG_USB_R8A66597_HCD is not set # CONFIG_USB_HWA_HCD is not set CONFIG_USB_MUSB_HDRC=m CONFIG_USB_MUSB_SOC=y # # OMAP 343x high speed USB support # # CONFIG_USB_MUSB_HOST is not set # CONFIG_USB_MUSB_PERIPHERAL is not set CONFIG_USB_MUSB_OTG=y CONFIG_USB_GADGET_MUSB_HDRC=y CONFIG_USB_MUSB_HDRC_HCD=y # CONFIG_MUSB_PIO_ONLY is not set CONFIG_USB_INVENTRA_DMA=y # CONFIG_USB_TI_CPPI_DMA is not set # CONFIG_USB_MUSB_DEBUG is not set # # USB Device Class drivers # # CONFIG_USB_ACM is not set # CONFIG_USB_PRINTER is not set # CONFIG_USB_WDM is not set # CONFIG_USB_TMC is not set # # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; # # # see USB_STORAGE Help for more information # # CONFIG_USB_STORAGE is not set # CONFIG_USB_LIBUSUAL is not set # # USB Imaging devices # # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set # # USB port drivers # # CONFIG_USB_SERIAL is not set # # USB Miscellaneous drivers # # CONFIG_USB_EMI62 is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_ADUTUX is not set # CONFIG_USB_SEVSEG is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set # CONFIG_USB_BERRY_CHARGE is not set # CONFIG_USB_LED is not set # CONFIG_USB_CYPRESS_CY7C63 is not set # CONFIG_USB_CYTHERM is not set # CONFIG_USB_PHIDGET is not set # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_FTDI_ELAN is not set # CONFIG_USB_APPLEDISPLAY is not set # CONFIG_USB_LD is not set # CONFIG_USB_TRANCEVIBRATOR is not set # CONFIG_USB_IOWARRIOR is not set # CONFIG_USB_TEST is not set # CONFIG_USB_ISIGHTFW is not set # CONFIG_USB_VST is not set CONFIG_USB_GADGET=y # CONFIG_USB_GADGET_DEBUG is not set # CONFIG_USB_GADGET_DEBUG_FILES is not set # CONFIG_USB_GADGET_DEBUG_FS is not set CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_SELECTED=y # CONFIG_USB_GADGET_AT91 is not set # CONFIG_USB_GADGET_ATMEL_USBA is not set # CONFIG_USB_GADGET_FSL_USB2 is not set # CONFIG_USB_GADGET_LH7A40X is not set # CONFIG_USB_GADGET_OMAP is not set # CONFIG_USB_GADGET_PXA25X is not set # CONFIG_USB_GADGET_PXA27X is not set # CONFIG_USB_GADGET_S3C2410 is not set # CONFIG_USB_GADGET_M66592 is not set # CONFIG_USB_GADGET_AMD5536UDC is not set # CONFIG_USB_GADGET_FSL_QE is not set # CONFIG_USB_GADGET_NET2280 is not set # CONFIG_USB_GADGET_GOKU is not set # CONFIG_USB_GADGET_DUMMY_HCD is not set CONFIG_USB_GADGET_DUALSPEED=y # CONFIG_USB_ZERO is not set CONFIG_USB_ETH=m CONFIG_USB_ETH_RNDIS=y # CONFIG_USB_GADGETFS is not set # CONFIG_USB_FILE_STORAGE is not set # CONFIG_USB_G_SERIAL is not set # CONFIG_USB_MIDI_GADGET is not set # CONFIG_USB_G_PRINTER is not set # CONFIG_USB_CDC_COMPOSITE is not set # # OTG and related infrastructure # CONFIG_USB_OTG_UTILS=y # CONFIG_USB_GPIO_VBUS is not set # CONFIG_ISP1301_OMAP is not set CONFIG_TWL4030_USB=y CONFIG_MMC=y # CONFIG_MMC_DEBUG is not set CONFIG_MMC_UNSAFE_RESUME=y # # MMC/SD/SDIO Card Drivers # CONFIG_MMC_BLOCK=y CONFIG_MMC_BLOCK_BOUNCE=y # CONFIG_SDIO_UART is not set # CONFIG_MMC_TEST is not set # # MMC/SD/SDIO Host Controller Drivers # # CONFIG_MMC_SDHCI is not set CONFIG_MMC_OMAP_HS=y # CONFIG_MEMSTICK is not set # CONFIG_ACCESSIBILITY is not set # CONFIG_NEW_LEDS is not set CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" # CONFIG_RTC_DEBUG is not set # # RTC interfaces # CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y CONFIG_RTC_INTF_DEV=y # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set # CONFIG_RTC_DRV_TEST is not set # # I2C RTC drivers # # CONFIG_RTC_DRV_DS1307 is not set # CONFIG_RTC_DRV_DS1374 is not set # CONFIG_RTC_DRV_DS1672 is not set # CONFIG_RTC_DRV_MAX6900 is not set # CONFIG_RTC_DRV_RS5C372 is not set # CONFIG_RTC_DRV_ISL1208 is not set # CONFIG_RTC_DRV_X1205 is not set # CONFIG_RTC_DRV_PCF8563 is not set # CONFIG_RTC_DRV_PCF8583 is not set # CONFIG_RTC_DRV_M41T80 is not set CONFIG_RTC_DRV_TWL4030=y # CONFIG_RTC_DRV_S35390A is not set # CONFIG_RTC_DRV_FM3130 is not set # CONFIG_RTC_DRV_RX8581 is not set # # SPI RTC drivers # # # Platform RTC drivers # # CONFIG_RTC_DRV_CMOS is not set # CONFIG_RTC_DRV_DS1286 is not set # CONFIG_RTC_DRV_DS1511 is not set # CONFIG_RTC_DRV_DS1553 is not set # CONFIG_RTC_DRV_DS1742 is not set # CONFIG_RTC_DRV_STK17TA8 is not set # CONFIG_RTC_DRV_M48T86 is not set # CONFIG_RTC_DRV_M48T35 is not set # CONFIG_RTC_DRV_M48T59 is not set # CONFIG_RTC_DRV_BQ4802 is not set # CONFIG_RTC_DRV_V3020 is not set # # on-CPU RTC drivers # # CONFIG_DMADEVICES is not set # CONFIG_REGULATOR is not set # CONFIG_UIO is not set # # CBUS support # # CONFIG_CBUS is not set # # File systems # CONFIG_EXT2_FS=y # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT2_FS_XIP is not set CONFIG_EXT3_FS=y # CONFIG_EXT3_FS_XATTR is not set # CONFIG_EXT4_FS is not set CONFIG_JBD=y # CONFIG_JBD_DEBUG is not set # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_FS_POSIX_ACL is not set CONFIG_FILE_LOCKING=y # CONFIG_XFS_FS is not set # CONFIG_OCFS2_FS is not set CONFIG_DNOTIFY=y CONFIG_INOTIFY=y CONFIG_INOTIFY_USER=y CONFIG_QUOTA=y # CONFIG_QUOTA_NETLINK_INTERFACE is not set CONFIG_PRINT_QUOTA_WARNING=y # CONFIG_QFMT_V1 is not set CONFIG_QFMT_V2=y CONFIG_QUOTACTL=y # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set # CONFIG_FUSE_FS is not set # # CD-ROM/DVD Filesystems # # CONFIG_ISO9660_FS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=y CONFIG_MSDOS_FS=y CONFIG_VFAT_FS=y CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_SYSCTL=y CONFIG_PROC_PAGE_MONITOR=y CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_TMPFS_POSIX_ACL is not set # CONFIG_HUGETLB_PAGE is not set # CONFIG_CONFIGFS_FS is not set # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set CONFIG_JFFS2_FS=y CONFIG_JFFS2_FS_DEBUG=0 CONFIG_JFFS2_FS_WRITEBUFFER=y # CONFIG_JFFS2_FS_WBUF_VERIFY is not set # CONFIG_JFFS2_SUMMARY is not set # CONFIG_JFFS2_FS_XATTR is not set # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set CONFIG_JFFS2_ZLIB=y # CONFIG_JFFS2_LZO is not set CONFIG_JFFS2_RTIME=y # CONFIG_JFFS2_RUBIN is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_OMFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_ROMFS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=y CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set CONFIG_NFS_V4=y CONFIG_ROOT_NFS=y # CONFIG_NFSD is not set CONFIG_LOCKD=y CONFIG_LOCKD_V4=y CONFIG_NFS_COMMON=y CONFIG_SUNRPC=y CONFIG_SUNRPC_GSS=y # CONFIG_SUNRPC_REGISTER_V4 is not set CONFIG_RPCSEC_GSS_KRB5=y # CONFIG_RPCSEC_GSS_SPKM3 is not set # CONFIG_SMB_FS is not set # CONFIG_CIFS is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set # # Partition Types # CONFIG_PARTITION_ADVANCED=y # CONFIG_ACORN_PARTITION is not set # CONFIG_OSF_PARTITION is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set # CONFIG_MAC_PARTITION is not set CONFIG_MSDOS_PARTITION=y # CONFIG_BSD_DISKLABEL is not set # CONFIG_MINIX_SUBPARTITION is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set # CONFIG_LDM_PARTITION is not set # CONFIG_SGI_PARTITION is not set # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_KARMA_PARTITION is not set # CONFIG_EFI_PARTITION is not set # CONFIG_SYSV68_PARTITION is not set CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=y # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set # CONFIG_NLS_CODEPAGE_850 is not set # CONFIG_NLS_CODEPAGE_852 is not set # CONFIG_NLS_CODEPAGE_855 is not set # CONFIG_NLS_CODEPAGE_857 is not set # CONFIG_NLS_CODEPAGE_860 is not set # CONFIG_NLS_CODEPAGE_861 is not set # CONFIG_NLS_CODEPAGE_862 is not set # CONFIG_NLS_CODEPAGE_863 is not set # CONFIG_NLS_CODEPAGE_864 is not set # CONFIG_NLS_CODEPAGE_865 is not set # CONFIG_NLS_CODEPAGE_866 is not set # CONFIG_NLS_CODEPAGE_869 is not set # CONFIG_NLS_CODEPAGE_936 is not set # CONFIG_NLS_CODEPAGE_950 is not set # CONFIG_NLS_CODEPAGE_932 is not set # CONFIG_NLS_CODEPAGE_949 is not set # CONFIG_NLS_CODEPAGE_874 is not set # CONFIG_NLS_ISO8859_8 is not set # CONFIG_NLS_CODEPAGE_1250 is not set # CONFIG_NLS_CODEPAGE_1251 is not set # CONFIG_NLS_ASCII is not set CONFIG_NLS_ISO8859_1=y # CONFIG_NLS_ISO8859_2 is not set # CONFIG_NLS_ISO8859_3 is not set # CONFIG_NLS_ISO8859_4 is not set # CONFIG_NLS_ISO8859_5 is not set # CONFIG_NLS_ISO8859_6 is not set # CONFIG_NLS_ISO8859_7 is not set # CONFIG_NLS_ISO8859_9 is not set # CONFIG_NLS_ISO8859_13 is not set # CONFIG_NLS_ISO8859_14 is not set # CONFIG_NLS_ISO8859_15 is not set # CONFIG_NLS_KOI8_R is not set # CONFIG_NLS_KOI8_U is not set # CONFIG_NLS_UTF8 is not set # CONFIG_DLM is not set # # Kernel hacking # # CONFIG_PRINTK_TIME is not set CONFIG_ENABLE_WARN_DEPRECATED=y CONFIG_ENABLE_MUST_CHECK=y CONFIG_FRAME_WARN=1024 CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set CONFIG_DEBUG_FS=y # CONFIG_HEADERS_CHECK is not set CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_SHIRQ is not set CONFIG_DETECT_SOFTLOCKUP=y # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 CONFIG_SCHED_DEBUG=y # CONFIG_SCHEDSTATS is not set CONFIG_TIMER_STATS=y # CONFIG_DEBUG_OBJECTS is not set # CONFIG_DEBUG_SLAB is not set CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_RT_MUTEXES is not set # CONFIG_RT_MUTEX_TESTER is not set # CONFIG_DEBUG_SPINLOCK is not set CONFIG_DEBUG_MUTEXES=y # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_PROVE_LOCKING is not set # CONFIG_LOCK_STAT is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set # CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_INFO=y # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_WRITECOUNT is not set # CONFIG_DEBUG_MEMORY_INIT is not set # CONFIG_DEBUG_LIST is not set # CONFIG_DEBUG_SG is not set CONFIG_FRAME_POINTER=y # CONFIG_BOOT_PRINTK_DELAY is not set # CONFIG_RCU_TORTURE_TEST is not set # CONFIG_RCU_CPU_STALL_DETECTOR is not set # CONFIG_BACKTRACE_SELF_TEST is not set # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set # CONFIG_FAULT_INJECTION is not set # CONFIG_LATENCYTOP is not set CONFIG_HAVE_FUNCTION_TRACER=y # # Tracers # # CONFIG_FUNCTION_TRACER is not set # CONFIG_IRQSOFF_TRACER is not set # CONFIG_PREEMPT_TRACER is not set # CONFIG_SCHED_TRACER is not set # CONFIG_CONTEXT_SWITCH_TRACER is not set # CONFIG_BOOT_TRACER is not set # CONFIG_STACK_TRACER is not set # CONFIG_DYNAMIC_PRINTK_DEBUG is not set # CONFIG_SAMPLES is not set CONFIG_HAVE_ARCH_KGDB=y # CONFIG_KGDB is not set # CONFIG_DEBUG_USER is not set CONFIG_DEBUG_ERRORS=y # CONFIG_DEBUG_STACK_USAGE is not set # CONFIG_DEBUG_LL is not set # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_FILE_CAPABILITIES is not set CONFIG_CRYPTO=y # # Crypto core or helper # # CONFIG_CRYPTO_FIPS is not set CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_ALGAPI2=y CONFIG_CRYPTO_AEAD2=y CONFIG_CRYPTO_BLKCIPHER=y CONFIG_CRYPTO_BLKCIPHER2=y CONFIG_CRYPTO_HASH2=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_MANAGER2=y # CONFIG_CRYPTO_GF128MUL is not set # CONFIG_CRYPTO_NULL is not set # CONFIG_CRYPTO_CRYPTD is not set # CONFIG_CRYPTO_AUTHENC is not set # CONFIG_CRYPTO_TEST is not set # # Authenticated Encryption with Associated Data # # CONFIG_CRYPTO_CCM is not set # CONFIG_CRYPTO_GCM is not set # CONFIG_CRYPTO_SEQIV is not set # # Block modes # CONFIG_CRYPTO_CBC=y # CONFIG_CRYPTO_CTR is not set # CONFIG_CRYPTO_CTS is not set CONFIG_CRYPTO_ECB=m # CONFIG_CRYPTO_LRW is not set CONFIG_CRYPTO_PCBC=m # CONFIG_CRYPTO_XTS is not set # # Hash modes # # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_XCBC is not set # # Digest # # CONFIG_CRYPTO_CRC32C is not set # CONFIG_CRYPTO_MD4 is not set CONFIG_CRYPTO_MD5=y # CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_RMD128 is not set # CONFIG_CRYPTO_RMD160 is not set # CONFIG_CRYPTO_RMD256 is not set # CONFIG_CRYPTO_RMD320 is not set # CONFIG_CRYPTO_SHA1 is not set # CONFIG_CRYPTO_SHA256 is not set # CONFIG_CRYPTO_SHA512 is not set # CONFIG_CRYPTO_TGR192 is not set # CONFIG_CRYPTO_WP512 is not set # # Ciphers # # CONFIG_CRYPTO_AES is not set # CONFIG_CRYPTO_ANUBIS is not set # CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set # CONFIG_CRYPTO_CAST6 is not set CONFIG_CRYPTO_DES=y # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_SALSA20 is not set # CONFIG_CRYPTO_SEED is not set # CONFIG_CRYPTO_SERPENT is not set # CONFIG_CRYPTO_TEA is not set # CONFIG_CRYPTO_TWOFISH is not set # # Compression # # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_LZO is not set # # Random Number Generation # # CONFIG_CRYPTO_ANSI_CPRNG is not set CONFIG_CRYPTO_HW=y # # Library routines # CONFIG_BITREVERSE=y CONFIG_CRC_CCITT=y # CONFIG_CRC16 is not set # CONFIG_CRC_T10DIF is not set # CONFIG_CRC_ITU_T is not set CONFIG_CRC32=y # CONFIG_CRC7 is not set CONFIG_LIBCRC32C=y CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y CONFIG_PLIST=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-24 18:08 ` Kevin Hilman @ 2009-03-24 20:11 ` Peter Barada 2009-03-24 20:21 ` Kevin Hilman 0 siblings, 1 reply; 31+ messages in thread From: Peter Barada @ 2009-03-24 20:11 UTC (permalink / raw) To: Kevin Hilman; +Cc: linux-omap [-- Attachment #1: Type: text/plain, Size: 2245 bytes --] On Tue, 2009-03-24 at 11:08 -0700, Kevin Hilman wrote: > Peter Barada <peterb@logicpd.com> writes: > > > On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: > >> FYI... > >> > >> The PM branch has now been rebased to today's linux-omap HEAD which is > >> based on v2.6.29-rc8. The previous PM branch has been renamed to > >> pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not > >> (yet) have the latest PM branch. If not, you can use my PM tree[1] > >> directly. Also, pm-2.6.28 will only be available on my tree. > >> > >> Tested on OMAP3 Beagle and RX51 and was able to hit RET and OFF in > >> suspend and in PM idle with minimal kernel. No testing yet done for > >> CPUidle or DVFS. Please test on your hardware and submit results to > >> the list. Thanks. > > > > Kevin, did you build/test with > > the /arc/arm/config/omap3_beagle_defconfig, and > > arc/arm/configs/rx51_defconfig or some other config(could you send it to > > me if it isn't in the PM tree)? > > I started with the ones in the tree, but I disable most of the drivers > and turn on some debugging features. Attached is the one I used for > beagle. > [...] Hmm, I modified your config to add smc911x support so I can have an nfsroot, added selector/code for my board(based on omap3beagle.c) and brought it up on my hardware, but I'm not sure if its working correctly. It does look to pause in the suspend sate, and comes out when I hit a key on the console, but the messages don't look quite right as core_pwrdm and per_pwrdm state they didn't go into state 1 (full log attached): omap3530# echo mem > /sys/power/state PM: Syncing filesystems ... done. PM: Preparing system for mem sleep Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. PM: Entering mem sleep Powerdomain (core_pwrdm) didn't enter target state 1 Powerdomain (per_pwrdm) didn't enter target state 1 Could not enter target state in pm_suspend eth0: smc911x_reset timeout waiting for PM restore eth0: link down PM: Finishing wakeup. Restarting tasks ... done. omap3530# omap3530# eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 Is this expected? -- Peter Barada <peterb@logicpd.com> [-- Attachment #2: log189 --] [-- Type: text/plain, Size: 11785 bytes --] NoLo Version : 2.4.6-OMAP3503 0001 NoLo Build : LPD386 Tue Nov 25 15:00:19 CST 2008 NoLo Compiler: gcc version 4.2.1 Image type : Elf Boot Device : NAND ***************************************************************** LogicLoader (c) Copyright 2002-2008, Logic Product Development, Inc. All Rights Reserved. Version 2.4.6-OMAP3503 0001 ***************************************************************** losh> ifconfig sm0 /dev/config losh> load elf /tftp/192.168.3.5:u-boot loading from /tftp/192.168.3.5:u-boot: ................................................................. ELF section 0: download address: 0x80208000 load address: 0x80e80000 loaded 140108 @ 0x80e80000 Ram ...done file loaded losh> exec U-Boot 1.1.4 (Mar 13 2009 - 16:32:42) OMAP3430-GP rev 2, CPU-OPP2 L3-133MHz OMAP3430LV_SOM 0.1 Version + mDDR (Boot NAND) DRAM: 128 MB FLASH: initialize in sync mode NAND: 256 MiB Read production data: done Part Number : 1010194 Model Name : SOMOMAP3530-10-1672IFCR-A Serial Number: 3408M03305 In: serial Out: serial Err: serial Hit any key to stop autoboot: 6 \b\b\b 0 => boot DRIVER_VERSION : 101, DATECODE : 092706 LAN9x18 (0x92110000) detected. start Auto negotiation... (take ~2sec) Auto negotiation complete, 100BaseTX, full duplex TFTP from server 192.168.3.5; our IP address is 192.168.3.11 Filename 'uImage'. Load address: 0x81000000 Loading: *\b################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################ done Bytes transferred = 1806408 (1b9048 hex) ## Booting image at 81000000 ... Image Name: Linux-2.6.29-rc8-omap1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1806344 Bytes = 1.7 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux.................................................................................................................... done, booting the kernel. Linux version 2.6.29-rc8-omap1 (peter@blackhole) (gcc version 4.1.2) #5 PREEMPT Tue Mar 24 15:49:34 EDT 2009 CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=10c5387f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: OMAP OMAP3530LV_SOM board Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 32768 free_area_init_node: node 0, pgdat c038f5dc, node_mem_map c03b9000 Normal zone: 256 pages used for memmap Normal zone: 0 pages reserved Normal zone: 32512 pages, LIFO batch:7 OMAP3430 ES2.1 SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: display=3 console=ttyS0,115200 root=/dev/nfs rw nfsroot=192.168.3.5:/opt/nfs-exports/ltib-omap,wsize=1500,rsize=1500 ip=dhcp ignore_loglevel no_console_suspend debug: ignoring loglevel setting. Clocking rate (Crystal/DPLL/ARM core): 26.0/166/500 MHz GPMC revision 5.0 IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts Total of 96 interrupts on 1 active controller OMAP34xx GPIO hardware version 2.5 PID hash table entries: 512 (order: 9, 2048 bytes) OMAP clockevent source: GPTIMER12 at 32768 Hz Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 125980KB available (3308K code, 326K data, 136K init) Calibrating delay loop... 483.16 BogoMIPS (lpj=1888256) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 544 bytes NET: Registered protocol family 16 OMAP DMA hardware revision 4.0 bio: create slab <bio-0> at 0 i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz twl4030: PIH (irq 7) chaining IRQs 368..375 twl4030: power (irq 373) chaining IRQs 376..383 twl4030: gpio (irq 368) chaining IRQs 384..401 i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz SCSI subsystem initialized twl4030_usb twl4030_usb: Initialized TWL4030 USB module Switched to high resolution mode on CPU 0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 NetWinder Floating Point Emulator V0.97 (double precision) VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 246 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 console [ttyS0] enabled serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 brd: module loaded loop: module loaded eth0 (smc911x): not using net_device_ops yet eth0: LAN9211 (rev 0) at 0x8000000 IRQ 312 eth0: Ethernet addr: 00:08:ee:02:82:22 eth0: LAN911x Internal PHY i2c /dev entries driver Driver 'sd' needs updating - please use bus_type methods omap2-nand driver initializing twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0 cpuidle: using governor ladder cpuidle: using governor menu TCP cubic registered NET: Registered protocol family 17 NET: Registered protocol family 15 RPC: Registered udp transport module. RPC: Registered tcp transport module. Power Management for TI OMAP3. SmartReflex driver initialized Disabling unused clock "sr2_fck" Disabling unused clock "sr1_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "mcbsp_ick" Disabling unused clock "mcbsp_ick" Disabling unused clock "mcbsp_ick" Disabling unused clock "gpt2_ick" Disabling unused clock "gpt3_ick" Disabling unused clock "gpt4_ick" Disabling unused clock "gpt5_ick" Disabling unused clock "gpt6_ick" Disabling unused clock "gpt7_ick" Disabling unused clock "gpt8_ick" Disabling unused clock "gpt9_ick" Disabling unused clock "wdt3_ick" Disabling unused clock "wdt3_fck" Disabling unused clock "gpio2_dbck" Disabling unused clock "gpio3_dbck" Disabling unused clock "gpio4_dbck" Disabling unused clock "gpio5_dbck" Disabling unused clock "gpio6_dbck" Disabling unused clock "gpt9_fck" Disabling unused clock "gpt8_fck" Disabling unused clock "gpt7_fck" Disabling unused clock "gpt6_fck" Disabling unused clock "gpt5_fck" Disabling unused clock "gpt4_fck" Disabling unused clock "gpt3_fck" Disabling unused clock "gpt2_fck" Disabling unused clock "gpt1_ick" Disabling unused clock "wdt1_ick" Disabling unused clock "wdt2_ick" Disabling unused clock "usim_ick" Disabling unused clock "wdt2_fck" Disabling unused clock "gpio1_dbck" Disabling unused clock "gpt1_fck" Disabling unused clock "usim_fck" Disabling unused clock "dss_ick" Disabling unused clock "dss2_alwon_fck" Disabling unused clock "dss_96m_fck" Disabling unused clock "dss1_alwon_fck" Disabling unused clock "des1_ick" Disabling unused clock "sha11_ick" Disabling unused clock "rng_ick" Disabling unused clock "aes1_ick" Disabling unused clock "ssi_ick" Disabling unused clock "mailboxes_ick" Disabling unused clock "mcbsp_ick" Disabling unused clock "mcbsp_ick" Disabling unused clock "gpt10_ick" Disabling unused clock "gpt11_ick" Disabling unused clock "i2c_ick" Disabling unused clock "mcspi_ick" Disabling unused clock "mcspi_ick" Disabling unused clock "mcspi_ick" Disabling unused clock "mcspi_ick" Disabling unused clock "hdq_ick" Disabling unused clock "mspro_ick" Disabling unused clock "des2_ick" Disabling unused clock "sha12_ick" Disabling unused clock "aes2_ick" Disabling unused clock "icr_ick" Disabling unused clock "pka_ick" Disabling unused clock "hsotgusb_ick" Disabling unused clock "ssi_ssr_fck" Disabling unused clock "hdq_fck" Disabling unused clock "mcspi_fck" Disabling unused clock "mcspi_fck" Disabling unused clock "mcspi_fck" Disabling unused clock "mcspi_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "i2c_fck" Disabling unused clock "mspro_fck" Disabling unused clock "gpt11_fck" Disabling unused clock "gpt10_fck" Disabling unused clock "clkout2_src_ck" Disabling unused clock "dpll5_ck" clock: dpll5_ck failed transition to 'locked' Disabling unused clock "dpll4_m6x2_ck" Disabling unused clock "dpll4_m5x2_ck" Disabling unused clock "dpll3_m3x2_ck" Disabling unused clock "sys_clkout1" VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 twl4030_rtc twl4030_rtc: setting system clock to 2000-01-02 05:08:01 UTC (946789681) eth0: link down Sending DHCP requests .<6>eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 ., OK IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.3.105 IP-Config: Complete: device=eth0, addr=192.168.3.105, mask=255.255.255.0, gw=192.168.3.1, host=192.168.3.105, domain=, nis-domain=(none), bootserver=0.0.0.0, rootserver=192.168.3.5, rootpath= Looking up port of RPC 100003/2 on 192.168.3.5 Looking up port of RPC 100005/1 on 192.168.3.5 VFS: Mounted root (nfs filesystem) on device 0:12. Freeing init memory: 136K init started: BusyBox v1.11.2 () starting pid 285, tty '': '/etc/rc.d/rcS' Setting the hostname to OMAP-35x Mounting /proc and /sys Starting the hotplug events dispatcher udevd Synthesizing initial hotplug events Mounting filesystems mount: mounting usbfs on /proc/bus/usb failed: No such file or directory Starting syslogd and klogd Running depmod WARNING: Couldn't open directory /lib/modules/2.6.29-rc8-omap1: No such file or directory FATAL: Could not open /lib/modules/2.6.29-rc8-omap1/modules.dep.temp for writing: No such file or directory load unifi_sdio.ko for 802.11 access unifi_sdio: disagrees about version of symbol struct_module insmod: error inserting '/lib/firmware/unifi-sdio-1/unifi_sdio.ko': -1 Invalid module format Starting inetd: Starting the dropbear ssh server: LCD panel file is not found starting pid 521, tty '': '/sbin/getty -L ttyS0 115200 vt100' Welcome to Logic's OMAP35x Embedded Linux Environment !!!!! WARNING !!!!!!! The default password for the root account is: root please change this password using the 'passwd' command and then edit this message (/etc/issue) to remove this message OMAP-35x login: root Password: omap3530# omap3530# omap3530# echo mem > /sys/power/state PM: Syncing filesystems ... done. PM: Preparing system for mem sleep Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. PM: Entering mem sleep Powerdomain (core_pwrdm) didn't enter target state 1 Powerdomain (per_pwrdm) didn't enter target state 1 Could not enter target state in pm_suspend eth0: smc911x_reset timeout waiting for PM restore eth0: link down PM: Finishing wakeup. Restarting tasks ... done. omap3530# omap3530# eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 omap3530# ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-24 20:11 ` Peter Barada @ 2009-03-24 20:21 ` Kevin Hilman 2009-03-24 20:37 ` Peter Barada 2009-03-27 20:50 ` Russ Dill 0 siblings, 2 replies; 31+ messages in thread From: Kevin Hilman @ 2009-03-24 20:21 UTC (permalink / raw) To: Peter Barada; +Cc: linux-omap Peter Barada wrote: > On Tue, 2009-03-24 at 11:08 -0700, Kevin Hilman wrote: >> Peter Barada <peterb@logicpd.com> writes: >> >>> On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: >>>> FYI... >>>> >>>> The PM branch has now been rebased to today's linux-omap HEAD which is >>>> based on v2.6.29-rc8. The previous PM branch has been renamed to >>>> pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not >>>> (yet) have the latest PM branch. If not, you can use my PM tree[1] >>>> directly. Also, pm-2.6.28 will only be available on my tree. >>>> >>>> Tested on OMAP3 Beagle and RX51 and was able to hit RET and OFF in >>>> suspend and in PM idle with minimal kernel. No testing yet done for >>>> CPUidle or DVFS. Please test on your hardware and submit results to >>>> the list. Thanks. >>> Kevin, did you build/test with >>> the /arc/arm/config/omap3_beagle_defconfig, and >>> arc/arm/configs/rx51_defconfig or some other config(could you send it to >>> me if it isn't in the PM tree)? >> I started with the ones in the tree, but I disable most of the drivers >> and turn on some debugging features. Attached is the one I used for >> beagle. >> [...] > > Hmm, I modified your config to add smc911x support so I can have an > nfsroot, added selector/code for my board(based on omap3beagle.c) and > brought it up on my hardware, but I'm not sure if its working correctly. > It does look to pause in the suspend sate, and comes out when I hit a > key on the console, but the messages don't look quite right as > core_pwrdm and per_pwrdm state they didn't go into state 1 (full log > attached): > > omap3530# echo mem > /sys/power/state > PM: Syncing filesystems ... done. > PM: Preparing system for mem sleep > Freezing user space processes ... (elapsed 0.00 seconds) done. > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > PM: Entering mem sleep > Powerdomain (core_pwrdm) didn't enter target state 1 > Powerdomain (per_pwrdm) didn't enter target state 1 > Could not enter target state in pm_suspend > eth0: smc911x_reset timeout waiting for PM restore > > eth0: link down > PM: Finishing wakeup. > Restarting tasks ... done. > omap3530# > omap3530# eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 > > > Is this expected? > Yes, you haven't allowed the UART clocks to go off during idle/suspend and there are UARTs in both CORE and PER. Try this before going into suspend: echo 1 > /sys/power/clocks_off_while_idle This will allow UART clocks to be disabled on suspend, and also allow them to be disabled after 5 seconds of UART inactivity allowing retention in idle as well. Kevin ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-24 20:21 ` Kevin Hilman @ 2009-03-24 20:37 ` Peter Barada 2009-03-27 20:50 ` Russ Dill 1 sibling, 0 replies; 31+ messages in thread From: Peter Barada @ 2009-03-24 20:37 UTC (permalink / raw) To: Kevin Hilman; +Cc: linux-omap On Tue, 2009-03-24 at 13:21 -0700, Kevin Hilman wrote: > Peter Barada wrote: > > On Tue, 2009-03-24 at 11:08 -0700, Kevin Hilman wrote: > >> Peter Barada <peterb@logicpd.com> writes: > >> > >>> On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: > >>>> FYI... > >>>> > >>>> The PM branch has now been rebased to today's linux-omap HEAD which is > >>>> based on v2.6.29-rc8. The previous PM branch has been renamed to > >>>> pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not > >>>> (yet) have the latest PM branch. If not, you can use my PM tree[1] > >>>> directly. Also, pm-2.6.28 will only be available on my tree. > >>>> > >>>> Tested on OMAP3 Beagle and RX51 and was able to hit RET and OFF in > >>>> suspend and in PM idle with minimal kernel. No testing yet done for > >>>> CPUidle or DVFS. Please test on your hardware and submit results to > >>>> the list. Thanks. > >>> Kevin, did you build/test with > >>> the /arc/arm/config/omap3_beagle_defconfig, and > >>> arc/arm/configs/rx51_defconfig or some other config(could you send it to > >>> me if it isn't in the PM tree)? > >> I started with the ones in the tree, but I disable most of the drivers > >> and turn on some debugging features. Attached is the one I used for > >> beagle. > >> [...] > > > > Hmm, I modified your config to add smc911x support so I can have an > > nfsroot, added selector/code for my board(based on omap3beagle.c) and > > brought it up on my hardware, but I'm not sure if its working correctly. > > It does look to pause in the suspend sate, and comes out when I hit a > > key on the console, but the messages don't look quite right as > > core_pwrdm and per_pwrdm state they didn't go into state 1 (full log > > attached): > > > > omap3530# echo mem > /sys/power/state > > PM: Syncing filesystems ... done. > > PM: Preparing system for mem sleep > > Freezing user space processes ... (elapsed 0.00 seconds) done. > > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > > PM: Entering mem sleep > > Powerdomain (core_pwrdm) didn't enter target state 1 > > Powerdomain (per_pwrdm) didn't enter target state 1 > > Could not enter target state in pm_suspend > > eth0: smc911x_reset timeout waiting for PM restore > > > > eth0: link down > > PM: Finishing wakeup. > > Restarting tasks ... done. > > omap3530# > > omap3530# eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 > > > > > > Is this expected? > > > > Yes, you haven't allowed the UART clocks to go off during idle/suspend > and there are UARTs in both CORE and PER. > > Try this before going into suspend: > > echo 1 > /sys/power/clocks_off_while_idle > > This will allow UART clocks to be disabled on suspend, and also allow > them to be disabled after 5 seconds of UART inactivity allowing > retention in idle as well. that Fixed PER, but CORE still says it couldn't go into state 1: omap3530# echo 1 > /sys/power/clocks_off_while_idle omap3530# echo mem > /sys/power/state PM: Syncing filesystems ... done. PM: Preparing system for mem sleep Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. PM: Entering mem sleep Powerdomain (core_pwrdm) didn't enter target state 1 Could not enter target state in pm_suspend eth0: smc911x_reset timeout waiting for PM restore eth0: link down PM: Finishing wakeup. Restarting tasks ... done. omap3530# eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 > > Kevin -- Peter Barada <peterb@logicpd.com> ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-24 20:21 ` Kevin Hilman 2009-03-24 20:37 ` Peter Barada @ 2009-03-27 20:50 ` Russ Dill 2009-03-30 10:08 ` Premi, Sanjeev 1 sibling, 1 reply; 31+ messages in thread From: Russ Dill @ 2009-03-27 20:50 UTC (permalink / raw) To: Kevin Hilman; +Cc: Peter Barada, linux-omap On Tue, Mar 24, 2009 at 1:21 PM, Kevin Hilman <khilman@deeprootsystems.com> wrote: > Peter Barada wrote: >> >> On Tue, 2009-03-24 at 11:08 -0700, Kevin Hilman wrote: >>> >>> Peter Barada <peterb@logicpd.com> writes: >>> >>>> On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: >>>>> >>>>> FYI... >>>>> The PM branch has now been rebased to today's linux-omap HEAD which is >>>>> based on v2.6.29-rc8. The previous PM branch has been renamed to >>>>> pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not >>>>> (yet) have the latest PM branch. If not, you can use my PM tree[1] >>>>> directly. Also, pm-2.6.28 will only be available on my tree. >>>>> >>>>> Tested on OMAP3 Beagle and RX51 and was able to hit RET and OFF in >>>>> suspend and in PM idle with minimal kernel. No testing yet done for >>>>> CPUidle or DVFS. Please test on your hardware and submit results to >>>>> the list. Thanks. >>>> >>>> Kevin, did you build/test with >>>> the /arc/arm/config/omap3_beagle_defconfig, and >>>> arc/arm/configs/rx51_defconfig or some other config(could you send it to >>>> me if it isn't in the PM tree)? >>> >>> I started with the ones in the tree, but I disable most of the drivers >>> and turn on some debugging features. Attached is the one I used for >>> beagle. >>> [...] >> >> Hmm, I modified your config to add smc911x support so I can have an >> nfsroot, added selector/code for my board(based on omap3beagle.c) and >> brought it up on my hardware, but I'm not sure if its working correctly. >> It does look to pause in the suspend sate, and comes out when I hit a >> key on the console, but the messages don't look quite right as >> core_pwrdm and per_pwrdm state they didn't go into state 1 (full log >> attached): >> >> omap3530# echo mem > /sys/power/state >> PM: Syncing filesystems ... done. >> PM: Preparing system for mem sleep >> Freezing user space processes ... (elapsed 0.00 seconds) done. >> Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. >> PM: Entering mem sleep >> Powerdomain (core_pwrdm) didn't enter target state 1 >> Powerdomain (per_pwrdm) didn't enter target state 1 >> Could not enter target state in pm_suspend >> eth0: smc911x_reset timeout waiting for PM restore >> >> eth0: link down >> PM: Finishing wakeup. >> Restarting tasks ... done. >> omap3530# omap3530# eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 >> >> >> Is this expected? >> > > Yes, you haven't allowed the UART clocks to go off during idle/suspend and > there are UARTs in both CORE and PER. > > Try this before going into suspend: > > echo 1 > /sys/power/clocks_off_while_idle > > This will allow UART clocks to be disabled on suspend, and also allow them > to be disabled after 5 seconds of UART inactivity allowing retention in idle > as well. > I'm having the same problem, and setting clocks_off_while_idle doesn't help. I was initially suspicious that the bits in PM_WKEN1_CORE and PM_WKEN3_CORE needed to be cleared (for core), but using devmem2 to clear them didn't help. For the purposes that I'm using my board for, I need to get everything into the lowest power consumption possible while sleeping. eg, everything in off mode but the WKUP domain. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* RE: PM branch rebased to 2.6.29 2009-03-27 20:50 ` Russ Dill @ 2009-03-30 10:08 ` Premi, Sanjeev 2009-03-30 10:42 ` Koen Kooi 2009-03-30 17:44 ` Russ Dill 0 siblings, 2 replies; 31+ messages in thread From: Premi, Sanjeev @ 2009-03-30 10:08 UTC (permalink / raw) To: Russ Dill, Kevin Hilman; +Cc: Peter Barada, linux-omap > -----Original Message----- > From: linux-omap-owner@vger.kernel.org > [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Russ Dill > Sent: Saturday, March 28, 2009 2:21 AM > To: Kevin Hilman > Cc: Peter Barada; linux-omap@vger.kernel.org > Subject: Re: PM branch rebased to 2.6.29 > > On Tue, Mar 24, 2009 at 1:21 PM, Kevin Hilman > <khilman@deeprootsystems.com> wrote: > > Peter Barada wrote: > >> > >> On Tue, 2009-03-24 at 11:08 -0700, Kevin Hilman wrote: > >>> > >>> Peter Barada <peterb@logicpd.com> writes: > >>> > >>>> On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: > >>>>> > >>>>> FYI... > >>>>> The PM branch has now been rebased to today's > linux-omap HEAD which is > >>>>> based on v2.6.29-rc8. The previous PM branch has been > renamed to > >>>>> pm-2.6.28. Depending on when you look, Tony's > linux-omap tree may not > >>>>> (yet) have the latest PM branch. If not, you can use > my PM tree[1] > >>>>> directly. Also, pm-2.6.28 will only be available on my tree. > >>>>> > >>>>> Tested on OMAP3 Beagle and RX51 and was able to hit RET > and OFF in > >>>>> suspend and in PM idle with minimal kernel. No testing > yet done for > >>>>> CPUidle or DVFS. Please test on your hardware and > submit results to > >>>>> the list. Thanks. > >>>> > >>>> Kevin, did you build/test with > >>>> the /arc/arm/config/omap3_beagle_defconfig, and > >>>> arc/arm/configs/rx51_defconfig or some other > config(could you send it to > >>>> me if it isn't in the PM tree)? > >>> > >>> I started with the ones in the tree, but I disable most > of the drivers > >>> and turn on some debugging features. Attached is the one > I used for > >>> beagle. > >>> [...] > >> > >> Hmm, I modified your config to add smc911x support so I can have an > >> nfsroot, added selector/code for my board(based on > omap3beagle.c) and > >> brought it up on my hardware, but I'm not sure if its > working correctly. > >> It does look to pause in the suspend sate, and comes out > when I hit a > >> key on the console, but the messages don't look quite right as > >> core_pwrdm and per_pwrdm state they didn't go into state 1 > (full log > >> attached): > >> > >> omap3530# echo mem > /sys/power/state > >> PM: Syncing filesystems ... done. > >> PM: Preparing system for mem sleep > >> Freezing user space processes ... (elapsed 0.00 seconds) done. > >> Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > >> PM: Entering mem sleep > >> Powerdomain (core_pwrdm) didn't enter target state 1 > >> Powerdomain (per_pwrdm) didn't enter target state 1 > >> Could not enter target state in pm_suspend > >> eth0: smc911x_reset timeout waiting for PM restore > >> > >> eth0: link down > >> PM: Finishing wakeup. > >> Restarting tasks ... done. > >> omap3530# omap3530# eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 > >> > >> > >> Is this expected? > >> > > > > Yes, you haven't allowed the UART clocks to go off during > idle/suspend and > > there are UARTs in both CORE and PER. > > > > Try this before going into suspend: > > > > echo 1 > /sys/power/clocks_off_while_idle > > > > This will allow UART clocks to be disabled on suspend, and > also allow them > > to be disabled after 5 seconds of UART inactivity allowing > retention in idle > > as well. > > I had found that two drivers that could prevent clocks_off are USB and DSS because of the way they use clk_enable(). Can you try building without theses drivers just for verification? Best regards, Sanjeev > > I'm having the same problem, and setting clocks_off_while_idle doesn't > help. I was initially suspicious that the bits in PM_WKEN1_CORE and > PM_WKEN3_CORE needed to be cleared (for core), but using devmem2 to > clear them didn't help. > > For the purposes that I'm using my board for, I need to get everything > into the lowest power consumption possible while sleeping. eg, > everything in off mode but the WKUP domain. > -- > To unsubscribe from this list: send the line "unsubscribe > linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-30 10:08 ` Premi, Sanjeev @ 2009-03-30 10:42 ` Koen Kooi 2009-03-30 13:22 ` Premi, Sanjeev 2009-03-30 17:44 ` Russ Dill 1 sibling, 1 reply; 31+ messages in thread From: Koen Kooi @ 2009-03-30 10:42 UTC (permalink / raw) To: linux-omap@vger.kernel.org Mailing List [-- Attachment #1: Type: text/plain, Size: 310 bytes --] Op 30 mrt 2009, om 12:08 heeft Premi, Sanjeev het volgende geschreven: > I had found that two drivers that could prevent clocks_off are > USB and DSS because of the way they use clk_enable(). How does DSS2 behave in that regard, and is there any effort in fixing the MUSB and EHCI drivers? regards, Koen [-- Attachment #2: Dit deel van het bericht is digitaal ondertekend --] [-- Type: application/pgp-signature, Size: 186 bytes --] ^ permalink raw reply [flat|nested] 31+ messages in thread
* RE: PM branch rebased to 2.6.29 2009-03-30 10:42 ` Koen Kooi @ 2009-03-30 13:22 ` Premi, Sanjeev 0 siblings, 0 replies; 31+ messages in thread From: Premi, Sanjeev @ 2009-03-30 13:22 UTC (permalink / raw) To: Koen Kooi, linux-omap@vger.kernel.org Mailing List > -----Original Message----- > From: linux-omap-owner@vger.kernel.org > [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Koen Kooi > Sent: Monday, March 30, 2009 4:12 PM > To: linux-omap@vger.kernel.org Mailing List > Subject: Re: PM branch rebased to 2.6.29 > > Op 30 mrt 2009, om 12:08 heeft Premi, Sanjeev het volgende geschreven: > > > I had found that two drivers that could prevent clocks_off are > > USB and DSS because of the way they use clk_enable(). > > How does DSS2 behave in that regard, and is there any effort > in fixing > the MUSB and EHCI drivers? The problem has already been fixed in DSS2. Vaibhav had discussed it a few weeks back on the list. I am aware of the effory for USB, EHCI effort... but not the timelines. ~sanjeev > > regards, > > Koen > ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-30 10:08 ` Premi, Sanjeev 2009-03-30 10:42 ` Koen Kooi @ 2009-03-30 17:44 ` Russ Dill 2009-03-30 17:57 ` Kevin Hilman 2009-03-30 18:43 ` Kevin Hilman 1 sibling, 2 replies; 31+ messages in thread From: Russ Dill @ 2009-03-30 17:44 UTC (permalink / raw) To: Premi, Sanjeev; +Cc: Kevin Hilman, Peter Barada, linux-omap On Mon, Mar 30, 2009 at 3:08 AM, Premi, Sanjeev <premi@ti.com> wrote: >> -----Original Message----- >> From: linux-omap-owner@vger.kernel.org >> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Russ Dill >> Sent: Saturday, March 28, 2009 2:21 AM >> To: Kevin Hilman >> Cc: Peter Barada; linux-omap@vger.kernel.org >> Subject: Re: PM branch rebased to 2.6.29 >> >> On Tue, Mar 24, 2009 at 1:21 PM, Kevin Hilman >> <khilman@deeprootsystems.com> wrote: >> > Peter Barada wrote: >> >> >> >> On Tue, 2009-03-24 at 11:08 -0700, Kevin Hilman wrote: >> >>> >> >>> Peter Barada <peterb@logicpd.com> writes: >> >>> >> >>>> On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: >> >>>>> >> >>>>> FYI... >> >>>>> The PM branch has now been rebased to today's >> linux-omap HEAD which is >> >>>>> based on v2.6.29-rc8. The previous PM branch has been >> renamed to >> >>>>> pm-2.6.28. Depending on when you look, Tony's >> linux-omap tree may not >> >>>>> (yet) have the latest PM branch. If not, you can use >> my PM tree[1] >> >>>>> directly. Also, pm-2.6.28 will only be available on my tree. >> >>>>> >> >>>>> Tested on OMAP3 Beagle and RX51 and was able to hit RET >> and OFF in >> >>>>> suspend and in PM idle with minimal kernel. No testing >> yet done for >> >>>>> CPUidle or DVFS. Please test on your hardware and >> submit results to >> >>>>> the list. Thanks. >> >>>> >> >>>> Kevin, did you build/test with >> >>>> the /arc/arm/config/omap3_beagle_defconfig, and >> >>>> arc/arm/configs/rx51_defconfig or some other >> config(could you send it to >> >>>> me if it isn't in the PM tree)? >> >>> >> >>> I started with the ones in the tree, but I disable most >> of the drivers >> >>> and turn on some debugging features. Attached is the one >> I used for >> >>> beagle. >> >>> [...] >> >> >> >> Hmm, I modified your config to add smc911x support so I can have an >> >> nfsroot, added selector/code for my board(based on >> omap3beagle.c) and >> >> brought it up on my hardware, but I'm not sure if its >> working correctly. >> >> It does look to pause in the suspend sate, and comes out >> when I hit a >> >> key on the console, but the messages don't look quite right as >> >> core_pwrdm and per_pwrdm state they didn't go into state 1 >> (full log >> >> attached): >> >> >> >> omap3530# echo mem > /sys/power/state >> >> PM: Syncing filesystems ... done. >> >> PM: Preparing system for mem sleep >> >> Freezing user space processes ... (elapsed 0.00 seconds) done. >> >> Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. >> >> PM: Entering mem sleep >> >> Powerdomain (core_pwrdm) didn't enter target state 1 >> >> Powerdomain (per_pwrdm) didn't enter target state 1 >> >> Could not enter target state in pm_suspend >> >> eth0: smc911x_reset timeout waiting for PM restore >> >> >> >> eth0: link down >> >> PM: Finishing wakeup. >> >> Restarting tasks ... done. >> >> omap3530# omap3530# eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 >> >> >> >> >> >> Is this expected? >> >> >> > >> > Yes, you haven't allowed the UART clocks to go off during >> idle/suspend and >> > there are UARTs in both CORE and PER. >> > >> > Try this before going into suspend: >> > >> > echo 1 > /sys/power/clocks_off_while_idle >> > >> > This will allow UART clocks to be disabled on suspend, and >> also allow them >> > to be disabled after 5 seconds of UART inactivity allowing >> retention in idle >> > as well. >> > > > I had found that two drivers that could prevent clocks_off are > USB and DSS because of the way they use clk_enable(). > > Can you try building without theses drivers just for verification? > Building without dss makes things worse: Powerdomain (dss_pwrdm) didn't enter target state 0 Maybe by looking at what the dss driver is doing I can get core and per to turn off. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-30 17:44 ` Russ Dill @ 2009-03-30 17:57 ` Kevin Hilman 2009-03-30 18:18 ` Peter Barada 2009-03-30 18:43 ` Kevin Hilman 1 sibling, 1 reply; 31+ messages in thread From: Kevin Hilman @ 2009-03-30 17:57 UTC (permalink / raw) To: Russ Dill; +Cc: Premi, Sanjeev, Peter Barada, linux-omap Russ Dill <russ.dill@gmail.com> writes: > On Mon, Mar 30, 2009 at 3:08 AM, Premi, Sanjeev <premi@ti.com> wrote: [...] >> I had found that two drivers that could prevent clocks_off are >> USB and DSS because of the way they use clk_enable(). >> >> Can you try building without theses drivers just for verification? >> > > Building without dss makes things worse: > > Powerdomain (dss_pwrdm) didn't enter target state 0 > > Maybe by looking at what the dss driver is doing I can get core and > per to turn off. Peter, Have you tried with the debug patch I sent? If you can test with that patch, and send the output, I can tell you what is preventing you from hitting RET. FWIW, the latest HEAD of the PM branch has that debug patch included. After doing the suspend/resume, just # cat /debug/pm_debug/registers/1 and attach the output. Kevin ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-30 17:57 ` Kevin Hilman @ 2009-03-30 18:18 ` Peter Barada 0 siblings, 0 replies; 31+ messages in thread From: Peter Barada @ 2009-03-30 18:18 UTC (permalink / raw) To: Kevin Hilman; +Cc: Russ Dill, Premi, Sanjeev, linux-omap On Mon, 2009-03-30 at 10:57 -0700, Kevin Hilman wrote: > Russ Dill <russ.dill@gmail.com> writes: > > > On Mon, Mar 30, 2009 at 3:08 AM, Premi, Sanjeev <premi@ti.com> wrote: > [...] > > >> I had found that two drivers that could prevent clocks_off are > >> USB and DSS because of the way they use clk_enable(). > >> > >> Can you try building without theses drivers just for verification? > >> > > > > Building without dss makes things worse: > > > > Powerdomain (dss_pwrdm) didn't enter target state 0 > > > > Maybe by looking at what the dss driver is doing I can get core and > > per to turn off. > > Peter, > > Have you tried with the debug patch I sent? If you can test with that > patch, and send the output, I can tell you what is preventing you from > hitting RET. No, not yet. After comments by Kevin and others regarding my DPLL setting being wrong from u-boot, I'm currently trying to bring up u-boot from the Beagle on the LV SOM. Then I can get the timings for the SDRC correct, and then work on getting the lates PM rebase (2.6.29) to boot. When I tried it with my current u-boot (based on 1.1.4 labrador), it would sporadically hang in rtc_hctosys and other functions that tried to talk to the twl4030 via i2c... I'm running into problems with u-boot (cloned the Beagle config) where I2C to setup power domains fails after the first write (bus gets stuck busy). > FWIW, the latest HEAD of the PM branch has that debug patch included. > > After doing the suspend/resume, just > > # cat /debug/pm_debug/registers/1 > > and attach the output. > > Kevin > -- Peter Barada <peterb@logicpd.com> ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-30 17:44 ` Russ Dill 2009-03-30 17:57 ` Kevin Hilman @ 2009-03-30 18:43 ` Kevin Hilman 2009-03-30 23:01 ` Russ Dill 1 sibling, 1 reply; 31+ messages in thread From: Kevin Hilman @ 2009-03-30 18:43 UTC (permalink / raw) To: Russ Dill; +Cc: Premi, Sanjeev, Peter Barada, linux-omap Russ Dill <russ.dill@gmail.com> writes: > On Mon, Mar 30, 2009 at 3:08 AM, Premi, Sanjeev <premi@ti.com> wrote: [...] >> >> I had found that two drivers that could prevent clocks_off are >> USB and DSS because of the way they use clk_enable(). >> >> Can you try building without theses drivers just for verification? >> > > Building without dss makes things worse: > > Powerdomain (dss_pwrdm) didn't enter target state 0 > > Maybe by looking at what the dss driver is doing I can get core and > per to turn off. Russ, Can you try with the latest HEAD of PM branch. After suspend/resume, do # cat /debug/pm_debug/registers/1 and post results to list. We can then see the exact state of PM registers before going into WFI. Also, post dump of # cat /debug/pm_debug/count Thanks, Kevin ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-30 18:43 ` Kevin Hilman @ 2009-03-30 23:01 ` Russ Dill 2009-03-31 7:01 ` Russ Dill 2009-03-31 18:25 ` Kevin Hilman 0 siblings, 2 replies; 31+ messages in thread From: Russ Dill @ 2009-03-30 23:01 UTC (permalink / raw) To: Kevin Hilman; +Cc: Premi, Sanjeev, Peter Barada, linux-omap On Mon, Mar 30, 2009 at 11:43 AM, Kevin Hilman <khilman@deeprootsystems.com> wrote: > Russ Dill <russ.dill@gmail.com> writes: > >> On Mon, Mar 30, 2009 at 3:08 AM, Premi, Sanjeev <premi@ti.com> wrote: > [...] >>> >>> I had found that two drivers that could prevent clocks_off are >>> USB and DSS because of the way they use clk_enable(). >>> >>> Can you try building without theses drivers just for verification? >>> >> >> Building without dss makes things worse: >> >> Powerdomain (dss_pwrdm) didn't enter target state 0 >> >> Maybe by looking at what the dss driver is doing I can get core and >> per to turn off. > > Russ, > > Can you try with the latest HEAD of PM branch. After suspend/resume, > do > > # cat /debug/pm_debug/registers/1 > > and post results to list. We can then see the exact state of PM > registers before going into WFI. root@beagleboard:/sys# cat /debug/pm_debug/registers/1 MOD: CM_IVA2 (48014000) 04 => 00000037 20 => 00000001 34 => 00000001 40 => 0009680c 44 => 00000001 48 => 00000003 MOD: CM_OCP (48004800) 00 => 00000010 10 => 00000001 MOD: CM_MPU (48004900) 04 => 00000037 24 => 00000001 34 => 00000001 40 => 0011f40c 44 => 00000001 48 => 00000003 4c => 00000001 MOD: CM_CORE (48004a00) 10 => 00000042 20 => ffffffbd 24 => 0000001f 28 => 0000000d 30 => fffffed9 34 => 0000001f 38 => 0000000c 40 => 0000030a 48 => 0000003f 4c => 00000003 MOD: CM_SGX (48004b00) 20 => 00000001 48 => 00000003 MOD: CM_WKUP (48004c00) 10 => 0000000e 20 => 000002f1 30 => 0000003f 40 => 00000015 MOD: CM_CCR (48004d00) 00 => f8311037 04 => 00000017 20 => 00000201 30 => 00000009 34 => 00000001 40 => 094c0c00 44 => 0001b00c 48 => 00000009 50 => 00000001 70 => 00000003 MOD: CM_DSS (48004e00) 20 => 00000003 30 => 00000001 40 => 00001006 48 => 00000003 MOD: CM_CAM (48004f00) 20 => 00000001 30 => 00000001 40 => 00000004 48 => 00000003 MOD: CM_PER (48005000) 10 => 0003e000 20 => 00001fff 30 => 0003ffff 40 => 000000ff 44 => 00000006 48 => 00000003 4c => 00000001 MOD: CM_EMU (48005100) 40 => 03020a50 48 => 00000002 4c => 00000001 MOD: CM_NEON (48005300) 48 => 00000003 MOD: CM_USB (48005400) 20 => 00000003 30 => 00000001 48 => 00000003 MOD: PRM_IVA2 (48316000) 50 => 00000007 e0 => 00ff0f04 f8 => 00000007 MOD: PRM_OCP (48306800) 04 => 00000010 14 => 00000001 1c => 00000201 MOD: PRM_MPU (48306900) 58 => 00000005 d4 => 00000012 e0 => 00030104 e4 => 000000c7 e8 => 000000c7 MOD: PRM_CORE (48306a00) 58 => 00000301 a0 => c33ffe18 a4 => c33ffe18 a8 => c33ffe18 e0 => 000f0304 e4 => 000000f7 e8 => 000000f7 f0 => 00000004 f4 => 00000004 f8 => 00000004 MOD: PRM_SGX (48306b00) e0 => 00030104 MOD: PRM_WKUP (48306c00) a0 => 0000010b a4 => 0000010b MOD: PRM_CCR (48306d00) 40 => 00000003 MOD: PRM_DSS (48306e00) 58 => 00000005 a0 => 00000001 e0 => 00030104 MOD: PRM_CAM (48306f00) 58 => 00000001 e0 => 00030104 MOD: PRM_PER (48307000) 58 => 00000001 a0 => 0003efff a4 => 0003efff a8 => 0003efff c8 => 00000007 e0 => 00030104 e4 => 00000007 e8 => 00000007 MOD: PRM_EMU (48307100) 58 => 00000005 e4 => 00000103 MOD: PRM_GLBL (48307200) 20 => 00120012 24 => 00010000 2c => 301e1e30 30 => 2c1e1e2c 34 => 00120000 38 => 00000018 54 => 00001006 58 => 00000001 60 => 0000000e 64 => 00000050 70 => 00000088 90 => 0fff0fff 94 => 000000ff 98 => 000000ff 9c => 00000002 a0 => 000000ff c4 => 00000001 e4 => 00000001 MOD: PRM_NEON (48307300) 58 => 00000005 c8 => 00000002 e0 => 00000004 e4 => 00000003 e8 => 00000003 MOD: PRM_USB (48307400) 58 => 00000001 a0 => 00000001 a4 => 00000001 a8 => 00000001 e0 => 00030104 > Also, post dump of > root@beagleboard:/sys# cat /debug/pm_debug/count usbhost_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1 per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 dss_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3 cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 neon_pwrdm (ON),OFF:2,RET:0,INA:14100,ON:14103 mpu_pwrdm (ON),OFF:2,RET:0,INA:14100,ON:14103 iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 per_clkdm->per_pwrdm (9) usbhost_clkdm->usbhost_pwrdm (0) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (2) core_l4_clkdm->core_pwrdm (8) core_l3_clkdm->core_pwrdm (4) d2d_clkdm->core_pwrdm (0) sgx_clkdm->sgx_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) neon_clkdm->neon_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) virt_opp_clkdm->wkup_pwrdm (0) prm_clkdm->wkup_pwrdm (10) cm_clkdm->core_pwrdm (3) > Thanks, > > Kevin > > > > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-30 23:01 ` Russ Dill @ 2009-03-31 7:01 ` Russ Dill 2009-03-31 18:25 ` Kevin Hilman 1 sibling, 0 replies; 31+ messages in thread From: Russ Dill @ 2009-03-31 7:01 UTC (permalink / raw) To: Kevin Hilman; +Cc: Premi, Sanjeev, Peter Barada, linux-omap BTW, the 9 clocks active on per are: gpio{2-6}_ick per_l4_ick uart3_ick uart3_fck per_48m_fck During sleep, I get (for the per_clkdm only): clockdomain: clkdm per_clkdm: removing clk uart3_ick clockdomain: clkdm per_clkdm: removing clk per_48m_fck clockdomain: clkdm per_clkdm: removing clk uart3_fck clockdomain: clkdm per_clkdm: adding clk uart3_ick clockdomain: clkdm per_clkdm: adding clk uart3_fck clockdomain: clkdm per_clkdm: adding clk per_48m_fck So it looks like to me that the per_clkdm isn't shutting down because of per_l4_ick and the gpio interface clocks. On Mon, Mar 30, 2009 at 4:01 PM, Russ Dill <russ.dill@gmail.com> wrote: > On Mon, Mar 30, 2009 at 11:43 AM, Kevin Hilman > <khilman@deeprootsystems.com> wrote: >> Russ Dill <russ.dill@gmail.com> writes: >> >>> On Mon, Mar 30, 2009 at 3:08 AM, Premi, Sanjeev <premi@ti.com> wrote: >> [...] >>>> >>>> I had found that two drivers that could prevent clocks_off are >>>> USB and DSS because of the way they use clk_enable(). >>>> >>>> Can you try building without theses drivers just for verification? >>>> >>> >>> Building without dss makes things worse: >>> >>> Powerdomain (dss_pwrdm) didn't enter target state 0 >>> >>> Maybe by looking at what the dss driver is doing I can get core and >>> per to turn off. >> >> Russ, >> >> Can you try with the latest HEAD of PM branch. After suspend/resume, >> do >> >> # cat /debug/pm_debug/registers/1 >> >> and post results to list. We can then see the exact state of PM >> registers before going into WFI. > > root@beagleboard:/sys# cat /debug/pm_debug/registers/1 > MOD: CM_IVA2 (48014000) > 04 => 00000037 20 => 00000001 34 => 00000001 40 => 0009680c > 44 => 00000001 48 => 00000003 > MOD: CM_OCP (48004800) > 00 => 00000010 10 => 00000001 > MOD: CM_MPU (48004900) > 04 => 00000037 24 => 00000001 34 => 00000001 40 => 0011f40c > 44 => 00000001 48 => 00000003 4c => 00000001 > MOD: CM_CORE (48004a00) > 10 => 00000042 20 => ffffffbd 24 => 0000001f 28 => 0000000d > 30 => fffffed9 34 => 0000001f 38 => 0000000c 40 => 0000030a > 48 => 0000003f 4c => 00000003 > MOD: CM_SGX (48004b00) > 20 => 00000001 48 => 00000003 > MOD: CM_WKUP (48004c00) > 10 => 0000000e 20 => 000002f1 30 => 0000003f 40 => 00000015 > MOD: CM_CCR (48004d00) > 00 => f8311037 04 => 00000017 20 => 00000201 30 => 00000009 > 34 => 00000001 40 => 094c0c00 44 => 0001b00c 48 => 00000009 > 50 => 00000001 70 => 00000003 > MOD: CM_DSS (48004e00) > 20 => 00000003 30 => 00000001 40 => 00001006 48 => 00000003 > MOD: CM_CAM (48004f00) > 20 => 00000001 30 => 00000001 40 => 00000004 48 => 00000003 > MOD: CM_PER (48005000) > 10 => 0003e000 20 => 00001fff 30 => 0003ffff 40 => 000000ff > 44 => 00000006 48 => 00000003 4c => 00000001 > MOD: CM_EMU (48005100) > 40 => 03020a50 48 => 00000002 4c => 00000001 > MOD: CM_NEON (48005300) > 48 => 00000003 > MOD: CM_USB (48005400) > 20 => 00000003 30 => 00000001 48 => 00000003 > MOD: PRM_IVA2 (48316000) > 50 => 00000007 e0 => 00ff0f04 f8 => 00000007 > MOD: PRM_OCP (48306800) > 04 => 00000010 14 => 00000001 1c => 00000201 > MOD: PRM_MPU (48306900) > 58 => 00000005 d4 => 00000012 e0 => 00030104 e4 => 000000c7 > e8 => 000000c7 > MOD: PRM_CORE (48306a00) > 58 => 00000301 a0 => c33ffe18 a4 => c33ffe18 a8 => c33ffe18 > e0 => 000f0304 e4 => 000000f7 e8 => 000000f7 f0 => 00000004 > f4 => 00000004 f8 => 00000004 > MOD: PRM_SGX (48306b00) > e0 => 00030104 > MOD: PRM_WKUP (48306c00) > a0 => 0000010b a4 => 0000010b > MOD: PRM_CCR (48306d00) > 40 => 00000003 > MOD: PRM_DSS (48306e00) > 58 => 00000005 a0 => 00000001 e0 => 00030104 > MOD: PRM_CAM (48306f00) > 58 => 00000001 e0 => 00030104 > MOD: PRM_PER (48307000) > 58 => 00000001 a0 => 0003efff a4 => 0003efff a8 => 0003efff > c8 => 00000007 e0 => 00030104 e4 => 00000007 e8 => 00000007 > MOD: PRM_EMU (48307100) > 58 => 00000005 e4 => 00000103 > MOD: PRM_GLBL (48307200) > 20 => 00120012 24 => 00010000 2c => 301e1e30 30 => 2c1e1e2c > 34 => 00120000 38 => 00000018 54 => 00001006 58 => 00000001 > 60 => 0000000e 64 => 00000050 70 => 00000088 90 => 0fff0fff > 94 => 000000ff 98 => 000000ff 9c => 00000002 a0 => 000000ff > c4 => 00000001 e4 => 00000001 > MOD: PRM_NEON (48307300) > 58 => 00000005 c8 => 00000002 e0 => 00000004 e4 => 00000003 > e8 => 00000003 > MOD: PRM_USB (48307400) > 58 => 00000001 a0 => 00000001 a4 => 00000001 a8 => 00000001 > e0 => 00030104 > > >> Also, post dump of >> > > root@beagleboard:/sys# cat /debug/pm_debug/count > usbhost_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 > sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1 > per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 > dss_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3 > cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 > core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 > neon_pwrdm (ON),OFF:2,RET:0,INA:14100,ON:14103 > mpu_pwrdm (ON),OFF:2,RET:0,INA:14100,ON:14103 > iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 > per_clkdm->per_pwrdm (9) > usbhost_clkdm->usbhost_pwrdm (0) > cam_clkdm->cam_pwrdm (0) > dss_clkdm->dss_pwrdm (2) > core_l4_clkdm->core_pwrdm (8) > core_l3_clkdm->core_pwrdm (4) > d2d_clkdm->core_pwrdm (0) > sgx_clkdm->sgx_pwrdm (0) > iva2_clkdm->iva2_pwrdm (0) > neon_clkdm->neon_pwrdm (0) > mpu_clkdm->mpu_pwrdm (0) > virt_opp_clkdm->wkup_pwrdm (0) > prm_clkdm->wkup_pwrdm (10) > cm_clkdm->core_pwrdm (3) > > > >> Thanks, >> >> Kevin >> >> >> >> > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-30 23:01 ` Russ Dill 2009-03-31 7:01 ` Russ Dill @ 2009-03-31 18:25 ` Kevin Hilman 2009-03-31 21:31 ` Russ Dill 1 sibling, 1 reply; 31+ messages in thread From: Kevin Hilman @ 2009-03-31 18:25 UTC (permalink / raw) To: Russ Dill; +Cc: Premi, Sanjeev, Peter Barada, linux-omap Russ Dill <russ.dill@gmail.com> writes: > On Mon, Mar 30, 2009 at 11:43 AM, Kevin Hilman > <khilman@deeprootsystems.com> wrote: >> Russ Dill <russ.dill@gmail.com> writes: >> >>> On Mon, Mar 30, 2009 at 3:08 AM, Premi, Sanjeev <premi@ti.com> wrote: >> [...] >>>> >>>> I had found that two drivers that could prevent clocks_off are >>>> USB and DSS because of the way they use clk_enable(). >>>> >>>> Can you try building without theses drivers just for verification? >>>> >>> >>> Building without dss makes things worse: >>> >>> Powerdomain (dss_pwrdm) didn't enter target state 0 >>> >>> Maybe by looking at what the dss driver is doing I can get core and >>> per to turn off. >> >> Russ, >> >> Can you try with the latest HEAD of PM branch. After suspend/resume, >> do >> >> # cat /debug/pm_debug/registers/1 >> >> and post results to list. We can then see the exact state of PM >> registers before going into WFI. Russ, With the dump below, what was the output after you resumed? Which powerdomains did not hit their target state? It looks like PER and CORE did not hit target state. Also, you didn't mention what hardware you're using or your .config or your bootloader etc. All of these play an important role. > root@beagleboard:/sys# cat /debug/pm_debug/registers/1 > MOD: CM_IVA2 (48014000) > 04 => 00000037 20 => 00000001 34 => 00000001 40 => 0009680c > 44 => 00000001 48 => 00000003 > MOD: CM_OCP (48004800) > 00 => 00000010 10 => 00000001 > MOD: CM_MPU (48004900) > 04 => 00000037 24 => 00000001 34 => 00000001 40 => 0011f40c > 44 => 00000001 48 => 00000003 4c => 00000001 > MOD: CM_CORE (48004a00) > 10 => 00000042 20 => ffffffbd 24 => 0000001f 28 => 0000000d > 30 => fffffed9 34 => 0000001f 38 => 0000000c 40 => 0000030a > 48 => 0000003f 4c => 00000003 > MOD: CM_SGX (48004b00) > 20 => 00000001 48 => 00000003 > MOD: CM_WKUP (48004c00) > 10 => 0000000e 20 => 000002f1 30 => 0000003f 40 => 00000015 Here is at least one problem. Offset 0x40 is CM_CLKSEL_WKUP, and bit 0 shows which clock is the source clock for GPTIMER1. Here, bit 0 is 1 which means SYS_CLK is used as the timer source. Based on this, you must have: System Type --> TI OMAP Implementations --> System Timer set to 'MPU timer'. Please change to 32k timer. Using MPU timer will keep timers not in WKUP powerdomain (which is all of them except GPT1) running across suspend, preventing PER from hitting RET. Using the 32k timer only uses GPT1 and sources it from the 32k clock, both of which are in the WKUP powerdomain. > MOD: CM_CCR (48004d00) > 00 => f8311037 04 => 00000017 20 => 00000201 30 => 00000009 > 34 => 00000001 40 => 094c0c00 44 => 0001b00c 48 => 00000009 > 50 => 00000001 70 => 00000003 > MOD: CM_DSS (48004e00) > 20 => 00000003 30 => 00000001 40 => 00001006 48 => 00000003 > MOD: CM_CAM (48004f00) > 20 => 00000001 30 => 00000001 40 => 00000004 48 => 00000003 > MOD: CM_PER (48005000) > 10 => 0003e000 20 => 00001fff 30 => 0003ffff 40 => 000000ff > 44 => 00000006 48 => 00000003 4c => 00000001 > MOD: CM_EMU (48005100) > 40 => 03020a50 48 => 00000002 4c => 00000001 > MOD: CM_NEON (48005300) > 48 => 00000003 > MOD: CM_USB (48005400) > 20 => 00000003 30 => 00000001 48 => 00000003 > MOD: PRM_IVA2 (48316000) > 50 => 00000007 e0 => 00ff0f04 f8 => 00000007 > MOD: PRM_OCP (48306800) > 04 => 00000010 14 => 00000001 1c => 00000201 > MOD: PRM_MPU (48306900) > 58 => 00000005 d4 => 00000012 e0 => 00030104 e4 => 000000c7 > e8 => 000000c7 > MOD: PRM_CORE (48306a00) > 58 => 00000301 a0 => c33ffe18 a4 => c33ffe18 a8 => c33ffe18 > e0 => 000f0304 e4 => 000000f7 e8 => 000000f7 f0 => 00000004 > f4 => 00000004 f8 => 00000004 > MOD: PRM_SGX (48306b00) > e0 => 00030104 > MOD: PRM_WKUP (48306c00) > a0 => 0000010b a4 => 0000010b > MOD: PRM_CCR (48306d00) > 40 => 00000003 > MOD: PRM_DSS (48306e00) > 58 => 00000005 a0 => 00000001 e0 => 00030104 > MOD: PRM_CAM (48306f00) > 58 => 00000001 e0 => 00030104 > MOD: PRM_PER (48307000) > 58 => 00000001 a0 => 0003efff a4 => 0003efff a8 => 0003efff > c8 => 00000007 e0 => 00030104 e4 => 00000007 e8 => 00000007 > MOD: PRM_EMU (48307100) > 58 => 00000005 e4 => 00000103 > MOD: PRM_GLBL (48307200) > 20 => 00120012 24 => 00010000 2c => 301e1e30 30 => 2c1e1e2c > 34 => 00120000 38 => 00000018 54 => 00001006 58 => 00000001 > 60 => 0000000e 64 => 00000050 70 => 00000088 90 => 0fff0fff > 94 => 000000ff 98 => 000000ff 9c => 00000002 a0 => 000000ff > c4 => 00000001 e4 => 00000001 > MOD: PRM_NEON (48307300) > 58 => 00000005 c8 => 00000002 e0 => 00000004 e4 => 00000003 > e8 => 00000003 > MOD: PRM_USB (48307400) > 58 => 00000001 a0 => 00000001 a4 => 00000001 a8 => 00000001 > e0 => 00030104 > > >> Also, post dump of >> > > root@beagleboard:/sys# cat /debug/pm_debug/count > usbhost_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 > sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1 > per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 > dss_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3 > cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 > core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 > neon_pwrdm (ON),OFF:2,RET:0,INA:14100,ON:14103 > mpu_pwrdm (ON),OFF:2,RET:0,INA:14100,ON:14103 > iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 > per_clkdm->per_pwrdm (9) > usbhost_clkdm->usbhost_pwrdm (0) > cam_clkdm->cam_pwrdm (0) > dss_clkdm->dss_pwrdm (2) > core_l4_clkdm->core_pwrdm (8) > core_l3_clkdm->core_pwrdm (4) > d2d_clkdm->core_pwrdm (0) > sgx_clkdm->sgx_pwrdm (0) > iva2_clkdm->iva2_pwrdm (0) > neon_clkdm->neon_pwrdm (0) > mpu_clkdm->mpu_pwrdm (0) > virt_opp_clkdm->wkup_pwrdm (0) > prm_clkdm->wkup_pwrdm (10) > cm_clkdm->core_pwrdm (3) Based on this, I see that you're DSS is not the problem anymore as it is hitting off, but neither PER nor CORE have made any transistions. PER is most likely because of the timer issue above. Not sure yet about CORE. In addtion to more details on your hardware and .config, Can you send me the console log of a full boot followed by trying just retention in suspend by doing the following right after boot: # cat /debug/pm_debug/count # echo 1 > /sys/power/clocks_off_while_idle # echo mem > /sys/power/state <after wakeup> # cat /debug/pm_debug/count # cat /debug/pm_debug/registers/1 Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-31 18:25 ` Kevin Hilman @ 2009-03-31 21:31 ` Russ Dill 2009-03-31 23:33 ` Kevin Hilman 0 siblings, 1 reply; 31+ messages in thread From: Russ Dill @ 2009-03-31 21:31 UTC (permalink / raw) To: Kevin Hilman; +Cc: Premi, Sanjeev, Peter Barada, linux-omap [-- Attachment #1: Type: text/plain, Size: 24109 bytes --] On Tue, Mar 31, 2009 at 11:25 AM, Kevin Hilman <khilman@deeprootsystems.com> wrote: > Russ Dill <russ.dill@gmail.com> writes: > >> On Mon, Mar 30, 2009 at 11:43 AM, Kevin Hilman >> <khilman@deeprootsystems.com> wrote: >>> Russ Dill <russ.dill@gmail.com> writes: >>> >>>> On Mon, Mar 30, 2009 at 3:08 AM, Premi, Sanjeev <premi@ti.com> wrote: >>> [...] >>>>> >>>>> I had found that two drivers that could prevent clocks_off are >>>>> USB and DSS because of the way they use clk_enable(). >>>>> >>>>> Can you try building without theses drivers just for verification? >>>>> >>>> >>>> Building without dss makes things worse: >>>> >>>> Powerdomain (dss_pwrdm) didn't enter target state 0 >>>> >>>> Maybe by looking at what the dss driver is doing I can get core and >>>> per to turn off. >>> >>> Russ, >>> >>> Can you try with the latest HEAD of PM branch. After suspend/resume, >>> do >>> >>> # cat /debug/pm_debug/registers/1 >>> >>> and post results to list. We can then see the exact state of PM >>> registers before going into WFI. > > Russ, > > With the dump below, what was the output after you resumed? Which > powerdomains did not hit their target state? It looks like PER and > CORE did not hit target state. yes, yes, and yes. > Also, you didn't mention what hardware you're using or your .config or > your bootloader etc. All of these play an important role. Beagleboard B7, X-Loader 1.41, U-Boot 1.3.3 >> root@beagleboard:/sys# cat /debug/pm_debug/registers/1 >> MOD: CM_IVA2 (48014000) >> 04 => 00000037 20 => 00000001 34 => 00000001 40 => 0009680c >> 44 => 00000001 48 => 00000003 >> MOD: CM_OCP (48004800) >> 00 => 00000010 10 => 00000001 >> MOD: CM_MPU (48004900) >> 04 => 00000037 24 => 00000001 34 => 00000001 40 => 0011f40c >> 44 => 00000001 48 => 00000003 4c => 00000001 >> MOD: CM_CORE (48004a00) >> 10 => 00000042 20 => ffffffbd 24 => 0000001f 28 => 0000000d >> 30 => fffffed9 34 => 0000001f 38 => 0000000c 40 => 0000030a >> 48 => 0000003f 4c => 00000003 >> MOD: CM_SGX (48004b00) >> 20 => 00000001 48 => 00000003 >> MOD: CM_WKUP (48004c00) >> 10 => 0000000e 20 => 000002f1 30 => 0000003f 40 => 00000015 > > Here is at least one problem. > > Offset 0x40 is CM_CLKSEL_WKUP, and bit 0 shows which clock is the > source clock for GPTIMER1. Here, bit 0 is 1 which means SYS_CLK > is used as the timer source. > > Based on this, you must have: > > System Type --> TI OMAP Implementations --> System Timer > > set to 'MPU timer'. Please change to 32k timer. Using MPU timer will > keep timers not in WKUP powerdomain (which is all of them except GPT1) > running across suspend, preventing PER from hitting RET. > > Using the 32k timer only uses GPT1 and sources it from the 32k clock, both > of which are in the WKUP powerdomain. Nope, I have the following kernel message: OMAP clockevent source: GPTIMER12 at 32768 Hz and the following Kconfig options (also see the attached .config) # CONFIG_OMAP_MPU_TIMER is not set CONFIG_OMAP_32K_TIMER=y >> MOD: CM_CCR (48004d00) >> 00 => f8311037 04 => 00000017 20 => 00000201 30 => 00000009 >> 34 => 00000001 40 => 094c0c00 44 => 0001b00c 48 => 00000009 >> 50 => 00000001 70 => 00000003 >> MOD: CM_DSS (48004e00) >> 20 => 00000003 30 => 00000001 40 => 00001006 48 => 00000003 >> MOD: CM_CAM (48004f00) >> 20 => 00000001 30 => 00000001 40 => 00000004 48 => 00000003 >> MOD: CM_PER (48005000) >> 10 => 0003e000 20 => 00001fff 30 => 0003ffff 40 => 000000ff >> 44 => 00000006 48 => 00000003 4c => 00000001 >> MOD: CM_EMU (48005100) >> 40 => 03020a50 48 => 00000002 4c => 00000001 >> MOD: CM_NEON (48005300) >> 48 => 00000003 >> MOD: CM_USB (48005400) >> 20 => 00000003 30 => 00000001 48 => 00000003 >> MOD: PRM_IVA2 (48316000) >> 50 => 00000007 e0 => 00ff0f04 f8 => 00000007 >> MOD: PRM_OCP (48306800) >> 04 => 00000010 14 => 00000001 1c => 00000201 >> MOD: PRM_MPU (48306900) >> 58 => 00000005 d4 => 00000012 e0 => 00030104 e4 => 000000c7 >> e8 => 000000c7 >> MOD: PRM_CORE (48306a00) >> 58 => 00000301 a0 => c33ffe18 a4 => c33ffe18 a8 => c33ffe18 >> e0 => 000f0304 e4 => 000000f7 e8 => 000000f7 f0 => 00000004 >> f4 => 00000004 f8 => 00000004 >> MOD: PRM_SGX (48306b00) >> e0 => 00030104 >> MOD: PRM_WKUP (48306c00) >> a0 => 0000010b a4 => 0000010b >> MOD: PRM_CCR (48306d00) >> 40 => 00000003 >> MOD: PRM_DSS (48306e00) >> 58 => 00000005 a0 => 00000001 e0 => 00030104 >> MOD: PRM_CAM (48306f00) >> 58 => 00000001 e0 => 00030104 >> MOD: PRM_PER (48307000) >> 58 => 00000001 a0 => 0003efff a4 => 0003efff a8 => 0003efff >> c8 => 00000007 e0 => 00030104 e4 => 00000007 e8 => 00000007 >> MOD: PRM_EMU (48307100) >> 58 => 00000005 e4 => 00000103 >> MOD: PRM_GLBL (48307200) >> 20 => 00120012 24 => 00010000 2c => 301e1e30 30 => 2c1e1e2c >> 34 => 00120000 38 => 00000018 54 => 00001006 58 => 00000001 >> 60 => 0000000e 64 => 00000050 70 => 00000088 90 => 0fff0fff >> 94 => 000000ff 98 => 000000ff 9c => 00000002 a0 => 000000ff >> c4 => 00000001 e4 => 00000001 >> MOD: PRM_NEON (48307300) >> 58 => 00000005 c8 => 00000002 e0 => 00000004 e4 => 00000003 >> e8 => 00000003 >> MOD: PRM_USB (48307400) >> 58 => 00000001 a0 => 00000001 a4 => 00000001 a8 => 00000001 >> e0 => 00030104 >> >> >>> Also, post dump of >>> >> >> root@beagleboard:/sys# cat /debug/pm_debug/count >> usbhost_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 >> sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1 >> per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 >> dss_pwrdm (ON),OFF:2,RET:0,INA:0,ON:3 >> cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 >> core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 >> neon_pwrdm (ON),OFF:2,RET:0,INA:14100,ON:14103 >> mpu_pwrdm (ON),OFF:2,RET:0,INA:14100,ON:14103 >> iva2_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1 >> per_clkdm->per_pwrdm (9) >> usbhost_clkdm->usbhost_pwrdm (0) >> cam_clkdm->cam_pwrdm (0) >> dss_clkdm->dss_pwrdm (2) >> core_l4_clkdm->core_pwrdm (8) >> core_l3_clkdm->core_pwrdm (4) >> d2d_clkdm->core_pwrdm (0) >> sgx_clkdm->sgx_pwrdm (0) >> iva2_clkdm->iva2_pwrdm (0) >> neon_clkdm->neon_pwrdm (0) >> mpu_clkdm->mpu_pwrdm (0) >> virt_opp_clkdm->wkup_pwrdm (0) >> prm_clkdm->wkup_pwrdm (10) >> cm_clkdm->core_pwrdm (3) > > Based on this, I see that you're DSS is not the problem anymore as it > is hitting off, but neither PER nor CORE have made any transistions. > PER is most likely because of the timer issue above. Not sure yet > about CORE. > > In addtion to more details on your hardware and .config, Can you send > me the console log of a full boot followed by trying just retention in > suspend by doing the following right after boot: > > # cat /debug/pm_debug/count > # echo 1 > /sys/power/clocks_off_while_idle > # echo mem > /sys/power/state > > <after wakeup> > > # cat /debug/pm_debug/count > # cat /debug/pm_debug/registers/1 boot log (clockdomain debug output modified to only display messages regarding the per_clkdm. Debug outpout also modified to display all clk add and remove events, not just those that change the use count from 0 to 1 and vice versa) Texas Instruments X-Loader 1.41 Starting OS Bootloader... U-Boot 1.3.3 (Jul 10 2008 - 16:33:09) OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz OMAP3 Beagle Board + LPDDR/NAND DRAM: 128 MB NAND: 256 MiB In: serial Out: serial Err: serial Audio Tone on Speakers ... complete Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x280000, size 0x400000 4194304 bytes read: OK ## Booting kernel from Legacy Image at 80000000 ... Image Name: Linux-2.6.29-omap1-pm Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1476992 Bytes = 1.4 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux................................................................................................ done, booting the kern. Linux version 2.6.29-omap1-pm (russ@russ-laptop) (gcc version 4.3.1 (GCC) ) #47 PREEMPT Tue Mar 31 14:13:51 MST 2009 CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: OMAP3 Beagle Board Memory policy: ECC disabled, Data cache writeback OMAP3430 ES3.0 SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS2,115200n8 root=/dev/mtdblock4 rootfstype=jffs2 rw g_ether.host_addr=B6:A3:A1:7D:8F:F0 omapfb.mode=dvi:126 Unknown boot option `g_ether.host_addr=B6:A3:A1:7D:8F:F0': ignoring Unknown boot option `omapfb.mode=dvi:1280x720M-16': ignoring Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz Reprogramming SDRC GPMC revision 5.0 IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts Total of 96 interrupts on 1 active controller OMAP34xx GPIO hardware version 2.5 PID hash table entries: 512 (order: 9, 2048 bytes) OMAP clockevent source: GPTIMER12 at 32768 Hz Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 126648KB available (2692K code, 299K data, 96K init) Calibrating delay loop... 491.57 BogoMIPS (lpj=1921024) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 544 bytes regulator: core version 0.5 NET: Registered protocol family 16 Found NAND on CS0 Registering NAND on CS0 OMAP DMA hardware revision 4.0 bio: create slab <bio-0> at 0 i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz twl4030: PIH (irq 7) chaining IRQs 368..375 twl4030: power (irq 373) chaining IRQs 376..383 twl4030: gpio (irq 368) chaining IRQs 384..401 beagle_twl_gpio_setup:145 twl4030_mmc_init:324 twl4030_mmc_init:339 regulator: VMMC1: 1850 <--> 3150 mV normal standby regulator: VDAC: 1800 mV normal standby regulator: VUSB1V5: 1500 <--> 0 mV normal standby regulator: VUSB1V8: 1800 <--> 0 mV normal standby regulator: VUSB3V1: 3100 <--> 0 mV normal standby regulator: VPLL2: 1800 mV normal standby regulator: VSIM: 1800 <--> 3000 mV normal standby i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz SCSI subsystem initialized twl4030_usb twl4030_usb: Initialized TWL4030 USB module NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 247 alg: No test for stdrng (krng) io scheduler noop registered (default) omapfb: configured for panel omap3beagle omapfb: skipping hardware initialization omapfb: DISPC version 3.0 initialized Console: switching to colour frame buffer device 128x48 omapfb: Framebuffer initialized. Total vram 1572864 planes 1 omapfb: Pixclock 64000 kHz hfreq 59.0 kHz vfreq 76.9 Hz Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 console [ttyS2] enabled i2c /dev entries driver Driver 'sd' needs updating - please use bus_type methods omap2-nand driver initializing NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit) cmdlinepart partition parsing not available Creating 5 MTD partitions on "omap2-nand": 0x000000000000-0x000000080000 : "X-Loader" 0x000000080000-0x000000260000 : "U-Boot" 0x000000260000-0x000000280000 : "U-Boot Env" 0x000000280000-0x000000680000 : "Kernel" 0x000000680000-0x000010000000 : "File System" twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0 cpuidle: using governor ladder cpuidle: using governor menu mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock TCP cubic registered NET: Registered protocol family 17 NET: Registered protocol family 15 Power Management for TI OMAP3. pm_dbg_init() Disabling unused clock "sr2_fck" Disabling unused clock "sr1_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "mcbsp_ick" Disabling unused clock "mcbsp_ick" Disabling unused clock "mcbsp_ick" Disabling unused clock "gpt2_ick" Disabling unused clock "gpt3_ick" Disabling unused clock "gpt4_ick" Disabling unused clock "gpt5_ick" Disabling unused clock "gpt6_ick" Disabling unused clock "gpt7_ick" Disabling unused clock "gpt8_ick" Disabling unused clock "gpt9_ick" Disabling unused clock "wdt3_ick" Disabling unused clock "wdt3_fck" Disabling unused clock "gpio2_dbck" Disabling unused clock "gpio3_dbck" Disabling unused clock "gpio4_dbck" Disabling unused clock "gpio5_dbck" Disabling unused clock "gpio6_dbck" Disabling unused clock "gpt9_fck" Disabling unused clock "gpt8_fck" Disabling unused clock "gpt7_fck" Disabling unused clock "gpt6_fck" Disabling unused clock "gpt5_fck" Disabling unused clock "gpt4_fck" Disabling unused clock "gpt3_fck" Disabling unused clock "gpt2_fck" Disabling unused clock "gpt1_ick" Disabling unused clock "wdt1_ick" Disabling unused clock "wdt2_ick" Disabling unused clock "wdt2_fck" Disabling unused clock "gpio1_dbck" Disabling unused clock "gpt1_fck" Disabling unused clock "cam_ick" Disabling unused clock "cam_mclk" Disabling unused clock "dss_96m_fck" Disabling unused clock "des1_ick" Disabling unused clock "sha11_ick" Disabling unused clock "rng_ick" Disabling unused clock "aes1_ick" Disabling unused clock "ssi_ick" Disabling unused clock "mailboxes_ick" Disabling unused clock "mcbsp_ick" Disabling unused clock "mcbsp_ick" Disabling unused clock "gpt10_ick" Disabling unused clock "gpt11_ick" Disabling unused clock "i2c_ick" Disabling unused clock "mcspi_ick" Disabling unused clock "mcspi_ick" Disabling unused clock "mcspi_ick" Disabling unused clock "mcspi_ick" Disabling unused clock "hdq_ick" Disabling unused clock "mspro_ick" Disabling unused clock "des2_ick" Disabling unused clock "sha12_ick" Disabling unused clock "aes2_ick" Disabling unused clock "icr_ick" Disabling unused clock "pka_ick" Disabling unused clock "hsotgusb_ick" Disabling unused clock "ssi_ssr_fck" Disabling unused clock "hdq_fck" Disabling unused clock "mcspi_fck" Disabling unused clock "mcspi_fck" Disabling unused clock "mcspi_fck" Disabling unused clock "mcspi_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "mcbsp_fck" Disabling unused clock "i2c_fck" Disabling unused clock "mspro_fck" Disabling unused clock "gpt11_fck" Disabling unused clock "gpt10_fck" Disabling unused clock "sad2d_ick" Disabling unused clock "dpll5_ck" clock: dpll5_ck failed transition to 'locked' Disabling unused clock "dpll4_m6x2_ck" Disabling unused clock "dpll4_m3x2_ck" Disabling unused clock "dpll3_m3x2_ck" Disabling unused clock "sys_clkout1" VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 twl4030_rtc twl4030_rtc: setting system clock to 2009-02-28 14:45:54 UTC (1235832354) Empty flash at 0x014d884c ends at 0x014d9000 Empty flash at 0x0365d678 ends at 0x0365d800 Empty flash at 0x03d4b128 ends at 0x03d4b800 Empty flash at 0x065f2240 ends at 0x065f2800 Empty flash at 0x081d3c08 ends at 0x081d4000 jffs2_scan_dirent_node(): Node CRC failed on node at 0x082bdfe4: Read 0xffffffff, calculated 0x8bd04d99 Empty flash at 0x082be01c ends at 0x082be800 Empty flash at 0x0ee1e7cc ends at 0x0ee1e800 JFFS2 error: (1) jffs2_build_inode_pass1: child dir "players" (ino #35930) of dir ino #35929 appears to be a hard link VFS: Mounted root (jffs2 filesystem) on device 31:4. Freeing init memory: 96K INIT: version 2.86 booting Please wait: booting... Starting udevudevd version 124 started Remounting root file system... uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0 Buffer I/O error on device mtdblock0, logical block 0 uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 8 Buffer I/O error on device mtdblock0, logical block 1 uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 16 Buffer I/O error on device mtdblock0, logical block 2 uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 24 Buffer I/O error on device mtdblock0, logical block 3 uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0 Buffer I/O error on device mtdblock0, logical block 0 logger: mount: mount point /proc/bus/usb does not exist ALSA: Restoring mixer settings... Configuring network interfaces... done. Starting portmap daemon: portmap. net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.all.rp_filter = 1 /usr/sbin/alsactl: load_state:1616: No soundcards found... INIT: Entering runlevel: 5 No LEDs detected Starting Dropbear SSH server: dropbear. Starting advanced power management daemon: No APM support in kernel (failed.) Starting system message bus: dbus. Starting Hardware abstraction layer hald Starting syslogd/klogd: done * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ ok ] Starting Bluetooth subsystem: hcid hid2hci. Starting hidd... Can't open HIDP control socket: Address family not supported by protocol Starting pand... Failed to open control socket: Address family not supported by protocol Running ntpdate to synchronize clockError : Temporary failure in name resolution . ERROR: Module omaplfb does not exist in /proc/modules ERROR: Module pvrsrvkm does not exist in /proc/modules Usage: insmod filename [args] FATAL: Module omaplfb not found. mknod: missing operand after `0' Try `mknod --help' for more information. chmod: cannot access `/dev/pvrsrvkm': No such file or directory /dev/mem opened. Memory mapped at address 0x4001f000. Value at address 0x48004B40 (0x4001fb40): 0x2 Written 0x0; readback 0x0 Starting GPE display manager: gpe-dm .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution beagleboard ttyS2 Angstrom 2009.X-test-20090309 beagleboard ttyS2 beagleboard login: root root@beagleboard:~# mount /debug/ root@beagleboard:~# cd /sys/power/ root@beagleboard:/sys/power# echo 1 > clocks_off_while_idle root@beagleboard:/sys/power# dmesg -n 8 root@beagleboard:/sys/power# echo mem > state PM: Syncing filesystems ... done. PM: Preparing system for mem sleep Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. PM: Entering mem sleep Suspending console(s) (use no_console_suspend to debug) omapfb omapfb: timeout waiting for FRAME DONE clockdomain: clkdm per_clkdm: removing clk uart3_ick clockdomain: clkdm per_clkdm: removing clk per_48m_fck clockdomain: clkdm per_clkdm: removing clk uart3_fck clockdomain: clkdm per_clkdm: adding clk uart3_ick clockdomain: clkdm per_clkdm: adding clk uart3_fck clockdomain: clkdm per_clkdm: adding clk per_48m_fck Powerdomain (core_pwrdm) didn't enter target state 1 Powerdomain (per_pwrdm) didn't enter target state 1 Could not enter target state in pm_suspend PM: Finishing wakeup. Restarting tasks ... done. root@beagleboard:/sys/power# cat /debug/pm_debug/count usbhost_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1 sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1 per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 dss_pwrdm (ON),OFF:0,RET:1,INA:0,ON:2 cam_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1 core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 neon_pwrdm (ON),OFF:0,RET:1,INA:958,ON:960 mpu_pwrdm (ON),OFF:0,RET:1,INA:958,ON:960 iva2_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1 per_clkdm->per_pwrdm (9) usbhost_clkdm->usbhost_pwrdm (0) cam_clkdm->cam_pwrdm (0) dss_clkdm->dss_pwrdm (2) core_l4_clkdm->core_pwrdm (11) core_l3_clkdm->core_pwrdm (4) d2d_clkdm->core_pwrdm (0) sgx_clkdm->sgx_pwrdm (0) iva2_clkdm->iva2_pwrdm (0) neon_clkdm->neon_pwrdm (0) mpu_clkdm->mpu_pwrdm (0) virt_opp_clkdm->wkup_pwrdm (0) prm_clkdm->wkup_pwrdm (10) cm_clkdm->core_pwrdm (4) root@beagleboard:/sys/power# cat /debug/pm_debug/registers/1 MOD: CM_IVA2 (48014000) 04 => 00000037 20 => 00000001 34 => 00000001 40 => 0009680c 44 => 00000001 48 => 00000003 MOD: CM_OCP (48004800) 00 => 00000010 10 => 00000001 MOD: CM_MPU (48004900) 04 => 00000037 24 => 00000001 34 => 00000001 40 => 0011f40c 44 => 00000001 48 => 00000003 4c => 00000001 MOD: CM_CORE (48004a00) 10 => 00000042 20 => ffffffbd 24 => 0000001f 28 => 0000000d 30 => fffffed9 34 => 0000001f 38 => 0000000c 40 => 0000030a 48 => 0000003f 4c => 00000003 MOD: CM_SGX (48004b00) 20 => 00000001 48 => 00000003 MOD: CM_WKUP (48004c00) 10 => 0000000e 20 => 000002f1 30 => 0000003f 40 => 00000015 MOD: CM_CCR (48004d00) 00 => f8311037 04 => 00000017 20 => 00000201 30 => 00000009 34 => 00000001 40 => 094c0c00 44 => 0001b00c 48 => 00000009 50 => 00000001 70 => 00000003 MOD: CM_DSS (48004e00) 20 => 00000003 30 => 00000001 40 => 00001006 48 => 00000003 MOD: CM_CAM (48004f00) 20 => 00000001 30 => 00000001 40 => 00000004 48 => 00000003 MOD: CM_PER (48005000) 10 => 0003e000 20 => 00001fff 30 => 0003ffff 40 => 000000ff 44 => 00000006 48 => 00000003 4c => 00000001 MOD: CM_EMU (48005100) 40 => 03020a50 48 => 00000001 MOD: CM_NEON (48005300) 48 => 00000003 MOD: CM_USB (48005400) 20 => 00000003 30 => 00000001 48 => 00000003 MOD: PRM_IVA2 (48316000) 50 => 00000007 e0 => 00ff0f05 e4 => 00000555 e8 => 00000555 f8 => 00000005 MOD: PRM_OCP (48306800) 04 => 00000010 14 => 00000001 1c => 00000201 MOD: PRM_MPU (48306900) 58 => 00000001 d4 => 00000012 e0 => 00030105 e4 => 000000c7 e8 => 000000c7 MOD: PRM_CORE (48306a00) 58 => 00000301 a0 => c33ffe18 a4 => c33ffe18 a8 => c33ffe18 e0 => 000f0305 e4 => 000000f7 e8 => 000000f7 f0 => 00000004 f4 => 00000004 f8 => 00000004 MOD: PRM_SGX (48306b00) e0 => 00030104 MOD: PRM_WKUP (48306c00) a0 => 0000010b a4 => 0000010b MOD: PRM_CCR (48306d00) 40 => 00000003 MOD: PRM_DSS (48306e00) 58 => 00000001 a0 => 00000001 e0 => 00030105 e4 => 00000001 e8 => 00000001 MOD: PRM_CAM (48306f00) 58 => 00000001 e0 => 00030105 e4 => 00000001 e8 => 00000001 MOD: PRM_PER (48307000) 58 => 00000001 a0 => 0003efff a4 => 0003efff a8 => 0003efff c8 => 00000007 e0 => 00030105 e4 => 00000007 e8 => 00000007 MOD: PRM_EMU (48307100) 58 => 00000001 e4 => 00000100 MOD: PRM_GLBL (48307200) 20 => 00120012 24 => 00010000 2c => 301e1e30 30 => 2c1e1e2c 34 => 00120000 38 => 00000018 54 => 00001006 58 => 00000001 60 => 00000002 64 => 00000050 70 => 00000088 90 => 0fff0fff 94 => 000000ff 98 => 000000ff 9c => 00000002 a0 => 000000ff c4 => 00000001 e4 => 00000001 MOD: PRM_NEON (48307300) 58 => 00000001 c8 => 00000002 e0 => 00000005 e4 => 00000003 e8 => 00000003 MOD: PRM_USB (48307400) 58 => 00000001 a0 => 00000001 a4 => 00000001 a8 => 00000001 e0 => 00030105 e4 => 00000001 e8 => 00000001 root@beagleboard:/sys/power# [-- Attachment #2: .config --] [-- Type: application/octet-stream, Size: 33218 bytes --] # # Automatically generated make config: don't edit # Linux kernel version: 2.6.29-omap1 # Mon Mar 30 21:14:57 2009 # CONFIG_ARM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_GENERIC_GPIO=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_MMU=y # CONFIG_NO_IOPORT is not set CONFIG_GENERIC_HARDIRQS=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_HARDIRQS_SW_RESEND=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_RWSEM_GENERIC_SPINLOCK=y # CONFIG_ARCH_HAS_ILOG2_U32 is not set # CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_VECTORS_BASE=0xffff0000 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="-pm" # CONFIG_LOCALVERSION_AUTO is not set # CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y # CONFIG_POSIX_MQUEUE is not set CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=14 # CONFIG_GROUP_SCHED is not set # CONFIG_CGROUPS is not set # CONFIG_SYSFS_DEPRECATED_V2 is not set # CONFIG_RELAY is not set # CONFIG_NAMESPACES is not set # CONFIG_BLK_DEV_INITRD is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_UID16=y # CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_COMPAT_BRK=y CONFIG_SLAB=y # CONFIG_SLUB is not set # CONFIG_SLOB is not set # CONFIG_PROFILING is not set CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_CLK=y CONFIG_HAVE_GENERIC_DMA_COHERENT=y CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y # CONFIG_MODULE_FORCE_LOAD is not set CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_BLOCK=y # CONFIG_LBD is not set # CONFIG_BLK_DEV_IO_TRACE is not set # CONFIG_BLK_DEV_BSG is not set # CONFIG_BLK_DEV_INTEGRITY is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_AS is not set # CONFIG_IOSCHED_DEADLINE is not set # CONFIG_IOSCHED_CFQ is not set # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop" CONFIG_FREEZER=y # # System Type # # CONFIG_ARCH_AAEC2000 is not set # CONFIG_ARCH_INTEGRATOR is not set # CONFIG_ARCH_REALVIEW is not set # CONFIG_ARCH_VERSATILE is not set # CONFIG_ARCH_AT91 is not set # CONFIG_ARCH_CLPS711X is not set # CONFIG_ARCH_EBSA110 is not set # CONFIG_ARCH_EP93XX is not set # CONFIG_ARCH_FOOTBRIDGE is not set # CONFIG_ARCH_NETX is not set # CONFIG_ARCH_H720X is not set # CONFIG_ARCH_IMX is not set # CONFIG_ARCH_IOP13XX is not set # CONFIG_ARCH_IOP32X is not set # CONFIG_ARCH_IOP33X is not set # CONFIG_ARCH_IXP23XX is not set # CONFIG_ARCH_IXP2000 is not set # CONFIG_ARCH_IXP4XX is not set # CONFIG_ARCH_L7200 is not set # CONFIG_ARCH_KIRKWOOD is not set # CONFIG_ARCH_KS8695 is not set # CONFIG_ARCH_NS9XXX is not set # CONFIG_ARCH_LOKI is not set # CONFIG_ARCH_MV78XX0 is not set # CONFIG_ARCH_MXC is not set # CONFIG_ARCH_ORION5X is not set # CONFIG_ARCH_PNX4008 is not set # CONFIG_ARCH_PXA is not set # CONFIG_ARCH_RPC is not set # CONFIG_ARCH_SA1100 is not set # CONFIG_ARCH_S3C2410 is not set # CONFIG_ARCH_S3C64XX is not set # CONFIG_ARCH_SHARK is not set # CONFIG_ARCH_LH7A40X is not set # CONFIG_ARCH_DAVINCI is not set CONFIG_ARCH_OMAP=y # CONFIG_ARCH_MSM is not set # CONFIG_ARCH_W90X900 is not set # # TI OMAP Implementations # CONFIG_ARCH_OMAP_OTG=y # CONFIG_ARCH_OMAP1 is not set # CONFIG_ARCH_OMAP2 is not set CONFIG_ARCH_OMAP3=y # # OMAP Feature Selections # # CONFIG_OMAP_DEBUG_POWERDOMAIN is not set CONFIG_OMAP_DEBUG_CLOCKDOMAIN=y # CONFIG_OMAP_SMARTREFLEX is not set CONFIG_OMAP_RESET_CLOCKS=y CONFIG_OMAP_BOOT_TAG=y CONFIG_OMAP_BOOT_REASON=y # CONFIG_OMAP_COMPONENT_VERSION is not set # CONFIG_OMAP_GPIO_SWITCH is not set # CONFIG_OMAP_MUX is not set # CONFIG_OMAP_MCBSP is not set # CONFIG_OMAP_MBOX_FWK is not set # CONFIG_OMAP_MPU_TIMER is not set CONFIG_OMAP_32K_TIMER=y # CONFIG_OMAP3_DEBOBS is not set CONFIG_OMAP_32K_TIMER_HZ=128 CONFIG_OMAP_TICK_GPTIMER=12 CONFIG_OMAP_DM_TIMER=y # CONFIG_OMAP_LL_DEBUG_UART1 is not set # CONFIG_OMAP_LL_DEBUG_UART2 is not set CONFIG_OMAP_LL_DEBUG_UART3=y # CONFIG_OMAP_PM_NONE is not set CONFIG_OMAP_PM_NOOP=y # CONFIG_OMAP_PM_SRF is not set CONFIG_ARCH_OMAP34XX=y CONFIG_ARCH_OMAP3430=y # # OMAP Board Type # # CONFIG_MACH_NOKIA_RX51 is not set # CONFIG_MACH_OMAP_LDP is not set # CONFIG_MACH_OMAP_3430SDP is not set # CONFIG_MACH_OMAP3EVM is not set CONFIG_MACH_OMAP3_BEAGLE=y # CONFIG_MACH_OVERO is not set # CONFIG_MACH_OMAP3_PANDORA is not set # # Processor Type # CONFIG_CPU_32=y CONFIG_CPU_32v6K=y CONFIG_CPU_V7=y CONFIG_CPU_32v7=y CONFIG_CPU_ABRT_EV7=y CONFIG_CPU_PABRT_IFAR=y CONFIG_CPU_CACHE_V7=y CONFIG_CPU_CACHE_VIPT=y CONFIG_CPU_COPY_V6=y CONFIG_CPU_TLB_V7=y CONFIG_CPU_HAS_ASID=y CONFIG_CPU_CP15=y CONFIG_CPU_CP15_MMU=y # # Processor Features # # CONFIG_ARM_THUMB is not set # CONFIG_ARM_THUMBEE is not set # CONFIG_CPU_ICACHE_DISABLE is not set # CONFIG_CPU_DCACHE_DISABLE is not set # CONFIG_CPU_BPREDICT_DISABLE is not set CONFIG_HAS_TLS_REG=y # CONFIG_OUTER_CACHE is not set # # Bus support # # CONFIG_PCI_SYSCALL is not set # CONFIG_ARCH_SUPPORTS_MSI is not set # CONFIG_PCCARD is not set # # Kernel Features # CONFIG_TICK_ONESHOT=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_VMSPLIT_3G=y # CONFIG_VMSPLIT_2G is not set # CONFIG_VMSPLIT_1G is not set CONFIG_PAGE_OFFSET=0xC0000000 CONFIG_PREEMPT=y CONFIG_HZ=128 CONFIG_AEABI=y # CONFIG_OABI_COMPAT is not set CONFIG_ARCH_FLATMEM_HAS_HOLES=y # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_PHYS_ADDR_T_64BIT is not set CONFIG_ZONE_DMA_FLAG=0 CONFIG_VIRT_TO_BUS=y CONFIG_UNEVICTABLE_LRU=y # CONFIG_LEDS is not set CONFIG_ALIGNMENT_TRAP=y # # Boot options # CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_CMDLINE="root=/dev/nfs nfsroot=192.168.0.1:/home/user/buildroot ip=192.168.0.2:192.168.0.1:192.168.0.1:255.255.255.0:tgt:eth0:off rw console=ttyS2,115200n8" # CONFIG_XIP_KERNEL is not set # CONFIG_KEXEC is not set # # CPU Power Management # # CONFIG_CPU_FREQ is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y # # Floating point emulation # # # At least one emulation must be selected # CONFIG_VFP=y CONFIG_VFPv3=y # CONFIG_NEON is not set # # Userspace binary formats # CONFIG_BINFMT_ELF=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set CONFIG_HAVE_AOUT=y # CONFIG_BINFMT_AOUT is not set # CONFIG_BINFMT_MISC is not set # # Power management options # CONFIG_PM=y CONFIG_PM_DEBUG=y # CONFIG_PM_VERBOSE is not set CONFIG_CAN_PM_TRACE=y CONFIG_PM_SLEEP=y CONFIG_SUSPEND=y # CONFIG_PM_TEST_SUSPEND is not set CONFIG_SUSPEND_FREEZER=y # CONFIG_APM_EMULATION is not set CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_NET=y # # Networking options # CONFIG_COMPAT_NET_DEV_OPS=y CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set CONFIG_UNIX=y CONFIG_XFRM=y # CONFIG_XFRM_USER is not set # CONFIG_XFRM_SUB_POLICY is not set # CONFIG_XFRM_MIGRATE is not set # CONFIG_XFRM_STATISTICS is not set CONFIG_NET_KEY=y # CONFIG_NET_KEY_MIGRATE is not set CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INET_TUNNEL is not set # CONFIG_INET_XFRM_MODE_TRANSPORT is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set # CONFIG_INET_XFRM_MODE_BEET is not set # CONFIG_INET_LRO is not set # CONFIG_INET_DIAG is not set # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_TCP_MD5SIG is not set # CONFIG_IPV6 is not set # CONFIG_NETWORK_SECMARK is not set # CONFIG_NETFILTER is not set # CONFIG_IP_DCCP is not set # CONFIG_IP_SCTP is not set # CONFIG_TIPC is not set # CONFIG_ATM is not set # CONFIG_BRIDGE is not set # CONFIG_NET_DSA is not set # CONFIG_VLAN_8021Q is not set # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_NET_SCHED is not set # CONFIG_DCB is not set # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_HAMRADIO is not set # CONFIG_CAN is not set # CONFIG_IRDA is not set # CONFIG_BT is not set # CONFIG_AF_RXRPC is not set # CONFIG_PHONET is not set # CONFIG_WIRELESS is not set # CONFIG_WIMAX is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set # # Device Drivers # # # Generic Driver Options # CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y # CONFIG_FW_LOADER is not set # CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DEVRES is not set # CONFIG_SYS_HYPERVISOR is not set # CONFIG_CONNECTOR is not set CONFIG_MTD=y # CONFIG_MTD_DEBUG is not set # CONFIG_MTD_CONCAT is not set CONFIG_MTD_PARTITIONS=y # CONFIG_MTD_TESTS is not set # CONFIG_MTD_REDBOOT_PARTS is not set # CONFIG_MTD_CMDLINE_PARTS is not set # CONFIG_MTD_AFS_PARTS is not set # CONFIG_MTD_AR7_PARTS is not set # # User Modules And Translation Layers # CONFIG_MTD_CHAR=y CONFIG_MTD_BLKDEVS=y CONFIG_MTD_BLOCK=y # CONFIG_FTL is not set # CONFIG_NFTL is not set # CONFIG_INFTL is not set # CONFIG_RFD_FTL is not set # CONFIG_SSFDC is not set # CONFIG_MTD_OOPS is not set # # RAM/ROM/Flash chip drivers # # CONFIG_MTD_CFI is not set # CONFIG_MTD_JEDECPROBE is not set CONFIG_MTD_MAP_BANK_WIDTH_1=y CONFIG_MTD_MAP_BANK_WIDTH_2=y CONFIG_MTD_MAP_BANK_WIDTH_4=y # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set CONFIG_MTD_CFI_I1=y CONFIG_MTD_CFI_I2=y # CONFIG_MTD_CFI_I4 is not set # CONFIG_MTD_CFI_I8 is not set # CONFIG_MTD_RAM is not set # CONFIG_MTD_ROM is not set # CONFIG_MTD_ABSENT is not set # # Mapping drivers for chip access # # CONFIG_MTD_COMPLEX_MAPPINGS is not set # CONFIG_MTD_PLATRAM is not set # # Self-contained MTD device drivers # # CONFIG_MTD_SLRAM is not set # CONFIG_MTD_PHRAM is not set # CONFIG_MTD_MTDRAM is not set # CONFIG_MTD_BLOCK2MTD is not set # # Disk-On-Chip Device Drivers # # CONFIG_MTD_DOC2000 is not set # CONFIG_MTD_DOC2001 is not set # CONFIG_MTD_DOC2001PLUS is not set CONFIG_MTD_NAND=y # CONFIG_MTD_NAND_VERIFY_WRITE is not set # CONFIG_MTD_NAND_ECC_SMC is not set # CONFIG_MTD_NAND_MUSEUM_IDS is not set # CONFIG_MTD_NAND_GPIO is not set CONFIG_MTD_NAND_OMAP2=y CONFIG_MTD_NAND_IDS=y # CONFIG_MTD_NAND_DISKONCHIP is not set # CONFIG_MTD_NAND_NANDSIM is not set # CONFIG_MTD_NAND_PLATFORM is not set # CONFIG_MTD_ALAUDA is not set # CONFIG_MTD_ONENAND is not set # # LPDDR flash memory drivers # # CONFIG_MTD_LPDDR is not set # # UBI - Unsorted block images # # CONFIG_MTD_UBI is not set # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_COW_COMMON is not set # CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_UB is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_CDROM_PKTCDVD is not set # CONFIG_ATA_OVER_ETH is not set # CONFIG_MISC_DEVICES is not set CONFIG_HAVE_IDE=y # CONFIG_IDE is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set CONFIG_SCSI=y CONFIG_SCSI_DMA=y # CONFIG_SCSI_TGT is not set # CONFIG_SCSI_NETLINK is not set CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set # CONFIG_BLK_DEV_SR is not set # CONFIG_CHR_DEV_SG is not set # CONFIG_CHR_DEV_SCH is not set # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set # CONFIG_SCSI_SCAN_ASYNC is not set CONFIG_SCSI_WAIT_SCAN=m # # SCSI Transports # # CONFIG_SCSI_SPI_ATTRS is not set # CONFIG_SCSI_FC_ATTRS is not set # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set # CONFIG_SCSI_SRP_ATTRS is not set # CONFIG_SCSI_LOWLEVEL is not set # CONFIG_SCSI_DH is not set # CONFIG_ATA is not set # CONFIG_MD is not set # CONFIG_NETDEVICES is not set # CONFIG_ISDN is not set # # Input device support # CONFIG_INPUT=y # CONFIG_INPUT_FF_MEMLESS is not set # CONFIG_INPUT_POLLDEV is not set # # Userland interfaces # # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_JOYDEV is not set # CONFIG_INPUT_EVDEV is not set # CONFIG_INPUT_EVBUG is not set # # Input Device Drivers # # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TABLET is not set # CONFIG_INPUT_TOUCHSCREEN is not set # CONFIG_INPUT_MISC is not set # # Hardware I/O ports # # CONFIG_SERIO is not set # CONFIG_GAMEPORT is not set # # Character devices # CONFIG_VT=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set CONFIG_DEVKMEM=y # CONFIG_SERIAL_NONSTANDARD is not set # # Serial drivers # CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_NR_UARTS=32 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_DETECT_IRQ=y CONFIG_SERIAL_8250_RSA=y # # Non-8250 serial port support # CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_UNIX98_PTYS=y # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set # CONFIG_LEGACY_PTYS is not set # CONFIG_IPMI_HANDLER is not set CONFIG_HW_RANDOM=y # CONFIG_R3964 is not set # CONFIG_RAW_DRIVER is not set # CONFIG_TCG_TPM is not set CONFIG_I2C=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_HELPER_AUTO=y # # I2C Hardware Bus support # # # I2C system bus drivers (mostly embedded / system-on-chip) # # CONFIG_I2C_GPIO is not set # CONFIG_I2C_OCORES is not set CONFIG_I2C_OMAP=y # CONFIG_I2C_SIMTEC is not set # # External I2C/SMBus adapter drivers # # CONFIG_I2C_PARPORT_LIGHT is not set # CONFIG_I2C_TAOS_EVM is not set # CONFIG_I2C_TINY_USB is not set # # Other I2C/SMBus bus drivers # # CONFIG_I2C_PCA_PLATFORM is not set # CONFIG_I2C_STUB is not set # # Miscellaneous I2C Chip support # # CONFIG_DS1682 is not set # CONFIG_SENSORS_PCF8574 is not set # CONFIG_PCF8575 is not set # CONFIG_SENSORS_PCA9539 is not set # CONFIG_SENSORS_PCF8591 is not set # CONFIG_TWL4030_MADC is not set # CONFIG_TWL4030_POWEROFF is not set # CONFIG_SENSORS_MAX6875 is not set # CONFIG_SENSORS_TSL2550 is not set # CONFIG_I2C_DEBUG_CORE is not set # CONFIG_I2C_DEBUG_ALGO is not set # CONFIG_I2C_DEBUG_BUS is not set # CONFIG_I2C_DEBUG_CHIP is not set # CONFIG_SPI is not set CONFIG_ARCH_REQUIRE_GPIOLIB=y CONFIG_GPIOLIB=y # CONFIG_DEBUG_GPIO is not set # CONFIG_GPIO_SYSFS is not set # # Memory mapped GPIO expanders: # # # I2C GPIO expanders: # # CONFIG_GPIO_MAX732X is not set # CONFIG_GPIO_PCA953X is not set # CONFIG_GPIO_PCF857X is not set CONFIG_GPIO_TWL4030=y # # PCI GPIO expanders: # # # SPI GPIO expanders: # # CONFIG_W1 is not set # CONFIG_POWER_SUPPLY is not set # CONFIG_HWMON is not set # CONFIG_THERMAL is not set # CONFIG_THERMAL_HWMON is not set # CONFIG_WATCHDOG is not set CONFIG_SSB_POSSIBLE=y # # Sonics Silicon Backplane # # CONFIG_SSB is not set # # Multifunction device drivers # # CONFIG_MFD_CORE is not set # CONFIG_MFD_SM501 is not set # CONFIG_MFD_ASIC3 is not set # CONFIG_HTC_EGPIO is not set # CONFIG_HTC_PASIC3 is not set # CONFIG_TPS65010 is not set CONFIG_TWL4030_CORE=y # CONFIG_TWL4030_POWER is not set # CONFIG_MFD_TMIO is not set # CONFIG_MFD_T7L66XB is not set # CONFIG_MFD_TC6387XB is not set # CONFIG_MFD_TC6393XB is not set # CONFIG_PMIC_DA903X is not set # CONFIG_MFD_WM8400 is not set # CONFIG_MFD_WM8350_I2C is not set # CONFIG_MFD_PCF50633 is not set # # Multimedia devices # # # Multimedia core support # # CONFIG_VIDEO_DEV is not set # CONFIG_DVB_CORE is not set # CONFIG_VIDEO_MEDIA is not set # # Multimedia drivers # CONFIG_DAB=y # CONFIG_USB_DABUSB is not set # # Graphics support # # CONFIG_VGASTATE is not set # CONFIG_VIDEO_OUTPUT_CONTROL is not set CONFIG_FB=y # CONFIG_FIRMWARE_EDID is not set # CONFIG_FB_DDC is not set # CONFIG_FB_BOOT_VESA_SUPPORT is not set CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set # CONFIG_FB_SYS_FILLRECT is not set # CONFIG_FB_SYS_COPYAREA is not set # CONFIG_FB_SYS_IMAGEBLIT is not set # CONFIG_FB_FOREIGN_ENDIAN is not set # CONFIG_FB_SYS_FOPS is not set # CONFIG_FB_SVGALIB is not set # CONFIG_FB_MACMODES is not set # CONFIG_FB_BACKLIGHT is not set # CONFIG_FB_MODE_HELPERS is not set # CONFIG_FB_TILEBLITTING is not set # # Frame buffer hardware drivers # # CONFIG_FB_S1D13XXX is not set # CONFIG_FB_VIRTUAL is not set # CONFIG_FB_METRONOME is not set # CONFIG_FB_MB862XX is not set CONFIG_FB_OMAP=y # CONFIG_FB_OMAP_LCDC_EXTERNAL is not set CONFIG_FB_OMAP_BOOTLOADER_INIT=y CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE=2 # CONFIG_BACKLIGHT_LCD_SUPPORT is not set # # Display device support # # CONFIG_DISPLAY_SUPPORT is not set # # Console display driver support # # CONFIG_VGA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set # CONFIG_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y # CONFIG_LOGO is not set # CONFIG_SOUND is not set # CONFIG_HID_SUPPORT is not set CONFIG_USB_SUPPORT=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=m # CONFIG_USB_DEBUG is not set # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set # # Miscellaneous USB options # CONFIG_USB_DEVICEFS=y # CONFIG_USB_DEVICE_CLASS is not set # CONFIG_USB_DYNAMIC_MINORS is not set CONFIG_USB_SUSPEND=y CONFIG_USB_OTG=y # CONFIG_USB_OTG_WHITELIST is not set # CONFIG_USB_OTG_BLACKLIST_HUB is not set # CONFIG_USB_MON is not set # CONFIG_USB_WUSB is not set # CONFIG_USB_WUSB_CBAF is not set # # USB Host Controller Drivers # # CONFIG_USB_C67X00_HCD is not set # CONFIG_USB_EHCI_HCD is not set # CONFIG_USB_OXU210HP_HCD is not set # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_OHCI_HCD is not set # CONFIG_USB_SL811_HCD is not set # CONFIG_USB_R8A66597_HCD is not set # CONFIG_USB_HWA_HCD is not set CONFIG_USB_MUSB_HDRC=m CONFIG_USB_MUSB_SOC=y # # OMAP 343x high speed USB support # # CONFIG_USB_MUSB_HOST is not set # CONFIG_USB_MUSB_PERIPHERAL is not set CONFIG_USB_MUSB_OTG=y CONFIG_USB_GADGET_MUSB_HDRC=y CONFIG_USB_MUSB_HDRC_HCD=y # CONFIG_MUSB_PIO_ONLY is not set CONFIG_USB_INVENTRA_DMA=y # CONFIG_USB_TI_CPPI_DMA is not set # CONFIG_USB_MUSB_DEBUG is not set # # USB Device Class drivers # # CONFIG_USB_ACM is not set # CONFIG_USB_PRINTER is not set # CONFIG_USB_WDM is not set # CONFIG_USB_TMC is not set # # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; # # # see USB_STORAGE Help for more information # # CONFIG_USB_STORAGE is not set # CONFIG_USB_LIBUSUAL is not set # # USB Imaging devices # # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set # # USB port drivers # # CONFIG_USB_SERIAL is not set # # USB Miscellaneous drivers # # CONFIG_USB_EMI62 is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_ADUTUX is not set # CONFIG_USB_SEVSEG is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set # CONFIG_USB_BERRY_CHARGE is not set # CONFIG_USB_LED is not set # CONFIG_USB_CYPRESS_CY7C63 is not set # CONFIG_USB_CYTHERM is not set # CONFIG_USB_PHIDGET is not set # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_FTDI_ELAN is not set # CONFIG_USB_APPLEDISPLAY is not set # CONFIG_USB_LD is not set # CONFIG_USB_TRANCEVIBRATOR is not set # CONFIG_USB_IOWARRIOR is not set # CONFIG_USB_TEST is not set # CONFIG_USB_ISIGHTFW is not set # CONFIG_USB_VST is not set CONFIG_USB_GADGET=y # CONFIG_USB_GADGET_DEBUG is not set # CONFIG_USB_GADGET_DEBUG_FILES is not set # CONFIG_USB_GADGET_DEBUG_FS is not set CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_SELECTED=y # CONFIG_USB_GADGET_AT91 is not set # CONFIG_USB_GADGET_ATMEL_USBA is not set # CONFIG_USB_GADGET_FSL_USB2 is not set # CONFIG_USB_GADGET_LH7A40X is not set # CONFIG_USB_GADGET_OMAP is not set # CONFIG_USB_GADGET_PXA25X is not set # CONFIG_USB_GADGET_PXA27X is not set # CONFIG_USB_GADGET_S3C2410 is not set # CONFIG_USB_GADGET_IMX is not set # CONFIG_USB_GADGET_M66592 is not set # CONFIG_USB_GADGET_AMD5536UDC is not set # CONFIG_USB_GADGET_FSL_QE is not set # CONFIG_USB_GADGET_CI13XXX is not set # CONFIG_USB_GADGET_NET2280 is not set # CONFIG_USB_GADGET_GOKU is not set # CONFIG_USB_GADGET_DUMMY_HCD is not set CONFIG_USB_GADGET_DUALSPEED=y # CONFIG_USB_ZERO is not set CONFIG_USB_ETH=m CONFIG_USB_ETH_RNDIS=y # CONFIG_USB_GADGETFS is not set # CONFIG_USB_FILE_STORAGE is not set # CONFIG_USB_G_SERIAL is not set # CONFIG_USB_MIDI_GADGET is not set # CONFIG_USB_G_PRINTER is not set # CONFIG_USB_CDC_COMPOSITE is not set # # OTG and related infrastructure # CONFIG_USB_OTG_UTILS=y # CONFIG_USB_GPIO_VBUS is not set # CONFIG_ISP1301_OMAP is not set CONFIG_TWL4030_USB=y CONFIG_MMC=y # CONFIG_MMC_DEBUG is not set # CONFIG_MMC_UNSAFE_RESUME is not set # # MMC/SD/SDIO Card Drivers # CONFIG_MMC_BLOCK=y # CONFIG_MMC_BLOCK_BOUNCE is not set # CONFIG_SDIO_UART is not set # CONFIG_MMC_TEST is not set # # MMC/SD/SDIO Host Controller Drivers # # CONFIG_MMC_SDHCI is not set CONFIG_MMC_OMAP_HS=y # CONFIG_MEMSTICK is not set # CONFIG_ACCESSIBILITY is not set # CONFIG_NEW_LEDS is not set CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" # CONFIG_RTC_DEBUG is not set # # RTC interfaces # CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y CONFIG_RTC_INTF_DEV=y # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set # CONFIG_RTC_DRV_TEST is not set # # I2C RTC drivers # # CONFIG_RTC_DRV_DS1307 is not set # CONFIG_RTC_DRV_DS1374 is not set # CONFIG_RTC_DRV_DS1672 is not set # CONFIG_RTC_DRV_MAX6900 is not set # CONFIG_RTC_DRV_RS5C372 is not set # CONFIG_RTC_DRV_ISL1208 is not set # CONFIG_RTC_DRV_X1205 is not set # CONFIG_RTC_DRV_PCF8563 is not set # CONFIG_RTC_DRV_PCF8583 is not set # CONFIG_RTC_DRV_M41T80 is not set CONFIG_RTC_DRV_TWL4030=y # CONFIG_RTC_DRV_S35390A is not set # CONFIG_RTC_DRV_FM3130 is not set # CONFIG_RTC_DRV_RX8581 is not set # # SPI RTC drivers # # # Platform RTC drivers # # CONFIG_RTC_DRV_CMOS is not set # CONFIG_RTC_DRV_DS1286 is not set # CONFIG_RTC_DRV_DS1511 is not set # CONFIG_RTC_DRV_DS1553 is not set # CONFIG_RTC_DRV_DS1742 is not set # CONFIG_RTC_DRV_STK17TA8 is not set # CONFIG_RTC_DRV_M48T86 is not set # CONFIG_RTC_DRV_M48T35 is not set # CONFIG_RTC_DRV_M48T59 is not set # CONFIG_RTC_DRV_BQ4802 is not set # CONFIG_RTC_DRV_V3020 is not set # # on-CPU RTC drivers # # CONFIG_DMADEVICES is not set CONFIG_REGULATOR=y # CONFIG_REGULATOR_DEBUG is not set # CONFIG_REGULATOR_FIXED_VOLTAGE is not set CONFIG_REGULATOR_VIRTUAL_CONSUMER=y # CONFIG_REGULATOR_BQ24022 is not set CONFIG_REGULATOR_TWL4030=y # CONFIG_UIO is not set # CONFIG_STAGING is not set # # CBUS support # # CONFIG_CBUS is not set # # File systems # CONFIG_EXT2_FS=y # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT2_FS_XIP is not set CONFIG_EXT3_FS=y # CONFIG_EXT3_FS_XATTR is not set # CONFIG_EXT4_FS is not set CONFIG_JBD=y # CONFIG_JBD_DEBUG is not set # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_FS_POSIX_ACL is not set CONFIG_FILE_LOCKING=y # CONFIG_XFS_FS is not set # CONFIG_OCFS2_FS is not set # CONFIG_BTRFS_FS is not set CONFIG_DNOTIFY=y CONFIG_INOTIFY=y CONFIG_INOTIFY_USER=y CONFIG_QUOTA=y # CONFIG_QUOTA_NETLINK_INTERFACE is not set CONFIG_PRINT_QUOTA_WARNING=y CONFIG_QUOTA_TREE=y # CONFIG_QFMT_V1 is not set CONFIG_QFMT_V2=y CONFIG_QUOTACTL=y # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set # CONFIG_FUSE_FS is not set # # CD-ROM/DVD Filesystems # # CONFIG_ISO9660_FS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # # CONFIG_MSDOS_FS is not set # CONFIG_VFAT_FS is not set # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_SYSCTL=y CONFIG_PROC_PAGE_MONITOR=y CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_TMPFS_POSIX_ACL is not set # CONFIG_HUGETLB_PAGE is not set # CONFIG_CONFIGFS_FS is not set CONFIG_MISC_FILESYSTEMS=y # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set CONFIG_JFFS2_FS=y CONFIG_JFFS2_FS_DEBUG=0 CONFIG_JFFS2_FS_WRITEBUFFER=y # CONFIG_JFFS2_FS_WBUF_VERIFY is not set # CONFIG_JFFS2_SUMMARY is not set # CONFIG_JFFS2_FS_XATTR is not set CONFIG_JFFS2_COMPRESSION_OPTIONS=y CONFIG_JFFS2_ZLIB=y CONFIG_JFFS2_LZO=y CONFIG_JFFS2_RTIME=y CONFIG_JFFS2_RUBIN=y # CONFIG_JFFS2_CMODE_NONE is not set # CONFIG_JFFS2_CMODE_PRIORITY is not set # CONFIG_JFFS2_CMODE_SIZE is not set CONFIG_JFFS2_CMODE_FAVOURLZO=y # CONFIG_CRAMFS is not set # CONFIG_SQUASHFS is not set # CONFIG_VXFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_OMFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_ROMFS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # CONFIG_NETWORK_FILESYSTEMS is not set # # Partition Types # CONFIG_PARTITION_ADVANCED=y # CONFIG_ACORN_PARTITION is not set # CONFIG_OSF_PARTITION is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set # CONFIG_MAC_PARTITION is not set CONFIG_MSDOS_PARTITION=y # CONFIG_BSD_DISKLABEL is not set # CONFIG_MINIX_SUBPARTITION is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set # CONFIG_LDM_PARTITION is not set # CONFIG_SGI_PARTITION is not set # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_KARMA_PARTITION is not set # CONFIG_EFI_PARTITION is not set # CONFIG_SYSV68_PARTITION is not set CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=y # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set # CONFIG_NLS_CODEPAGE_850 is not set # CONFIG_NLS_CODEPAGE_852 is not set # CONFIG_NLS_CODEPAGE_855 is not set # CONFIG_NLS_CODEPAGE_857 is not set # CONFIG_NLS_CODEPAGE_860 is not set # CONFIG_NLS_CODEPAGE_861 is not set # CONFIG_NLS_CODEPAGE_862 is not set # CONFIG_NLS_CODEPAGE_863 is not set # CONFIG_NLS_CODEPAGE_864 is not set # CONFIG_NLS_CODEPAGE_865 is not set # CONFIG_NLS_CODEPAGE_866 is not set # CONFIG_NLS_CODEPAGE_869 is not set # CONFIG_NLS_CODEPAGE_936 is not set # CONFIG_NLS_CODEPAGE_950 is not set # CONFIG_NLS_CODEPAGE_932 is not set # CONFIG_NLS_CODEPAGE_949 is not set # CONFIG_NLS_CODEPAGE_874 is not set # CONFIG_NLS_ISO8859_8 is not set # CONFIG_NLS_CODEPAGE_1250 is not set # CONFIG_NLS_CODEPAGE_1251 is not set # CONFIG_NLS_ASCII is not set CONFIG_NLS_ISO8859_1=y # CONFIG_NLS_ISO8859_2 is not set # CONFIG_NLS_ISO8859_3 is not set # CONFIG_NLS_ISO8859_4 is not set # CONFIG_NLS_ISO8859_5 is not set # CONFIG_NLS_ISO8859_6 is not set # CONFIG_NLS_ISO8859_7 is not set # CONFIG_NLS_ISO8859_9 is not set # CONFIG_NLS_ISO8859_13 is not set # CONFIG_NLS_ISO8859_14 is not set # CONFIG_NLS_ISO8859_15 is not set # CONFIG_NLS_KOI8_R is not set # CONFIG_NLS_KOI8_U is not set # CONFIG_NLS_UTF8 is not set # CONFIG_DLM is not set # # Kernel hacking # # CONFIG_PRINTK_TIME is not set CONFIG_ENABLE_WARN_DEPRECATED=y CONFIG_ENABLE_MUST_CHECK=y CONFIG_FRAME_WARN=1024 CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set CONFIG_DEBUG_FS=y # CONFIG_HEADERS_CHECK is not set CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_SHIRQ is not set CONFIG_DETECT_SOFTLOCKUP=y # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 CONFIG_SCHED_DEBUG=y # CONFIG_SCHEDSTATS is not set CONFIG_TIMER_STATS=y # CONFIG_DEBUG_OBJECTS is not set # CONFIG_DEBUG_SLAB is not set CONFIG_DEBUG_PREEMPT=y # CONFIG_DEBUG_RT_MUTEXES is not set # CONFIG_RT_MUTEX_TESTER is not set # CONFIG_DEBUG_SPINLOCK is not set CONFIG_DEBUG_MUTEXES=y # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_PROVE_LOCKING is not set # CONFIG_LOCK_STAT is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set # CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_INFO=y # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_WRITECOUNT is not set # CONFIG_DEBUG_MEMORY_INIT is not set # CONFIG_DEBUG_LIST is not set # CONFIG_DEBUG_SG is not set # CONFIG_DEBUG_NOTIFIERS is not set CONFIG_FRAME_POINTER=y # CONFIG_BOOT_PRINTK_DELAY is not set # CONFIG_RCU_TORTURE_TEST is not set # CONFIG_RCU_CPU_STALL_DETECTOR is not set # CONFIG_BACKTRACE_SELF_TEST is not set # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set # CONFIG_FAULT_INJECTION is not set # CONFIG_LATENCYTOP is not set CONFIG_HAVE_FUNCTION_TRACER=y # # Tracers # # CONFIG_FUNCTION_TRACER is not set # CONFIG_IRQSOFF_TRACER is not set # CONFIG_PREEMPT_TRACER is not set # CONFIG_SCHED_TRACER is not set # CONFIG_CONTEXT_SWITCH_TRACER is not set # CONFIG_BOOT_TRACER is not set # CONFIG_TRACE_BRANCH_PROFILING is not set # CONFIG_STACK_TRACER is not set # CONFIG_DYNAMIC_PRINTK_DEBUG is not set # CONFIG_SAMPLES is not set CONFIG_HAVE_ARCH_KGDB=y # CONFIG_KGDB is not set # CONFIG_DEBUG_USER is not set CONFIG_DEBUG_ERRORS=y # CONFIG_DEBUG_STACK_USAGE is not set # CONFIG_DEBUG_LL is not set # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_FILE_CAPABILITIES is not set CONFIG_CRYPTO=y # # Crypto core or helper # # CONFIG_CRYPTO_FIPS is not set CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_ALGAPI2=y CONFIG_CRYPTO_AEAD2=y CONFIG_CRYPTO_BLKCIPHER2=y CONFIG_CRYPTO_HASH=y CONFIG_CRYPTO_HASH2=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_MANAGER2=y # CONFIG_CRYPTO_GF128MUL is not set # CONFIG_CRYPTO_NULL is not set # CONFIG_CRYPTO_CRYPTD is not set # CONFIG_CRYPTO_AUTHENC is not set # CONFIG_CRYPTO_TEST is not set # # Authenticated Encryption with Associated Data # # CONFIG_CRYPTO_CCM is not set # CONFIG_CRYPTO_GCM is not set # CONFIG_CRYPTO_SEQIV is not set # # Block modes # # CONFIG_CRYPTO_CBC is not set # CONFIG_CRYPTO_CTR is not set # CONFIG_CRYPTO_CTS is not set # CONFIG_CRYPTO_ECB is not set # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_PCBC is not set # CONFIG_CRYPTO_XTS is not set # # Hash modes # # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_XCBC is not set # # Digest # CONFIG_CRYPTO_CRC32C=y # CONFIG_CRYPTO_MD4 is not set # CONFIG_CRYPTO_MD5 is not set # CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_RMD128 is not set # CONFIG_CRYPTO_RMD160 is not set # CONFIG_CRYPTO_RMD256 is not set # CONFIG_CRYPTO_RMD320 is not set # CONFIG_CRYPTO_SHA1 is not set # CONFIG_CRYPTO_SHA256 is not set # CONFIG_CRYPTO_SHA512 is not set # CONFIG_CRYPTO_TGR192 is not set # CONFIG_CRYPTO_WP512 is not set # # Ciphers # # CONFIG_CRYPTO_AES is not set # CONFIG_CRYPTO_ANUBIS is not set # CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set # CONFIG_CRYPTO_CAST6 is not set # CONFIG_CRYPTO_DES is not set # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_SALSA20 is not set # CONFIG_CRYPTO_SEED is not set # CONFIG_CRYPTO_SERPENT is not set # CONFIG_CRYPTO_TEA is not set # CONFIG_CRYPTO_TWOFISH is not set # # Compression # # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_LZO is not set # # Random Number Generation # # CONFIG_CRYPTO_ANSI_CPRNG is not set # CONFIG_CRYPTO_HW is not set # # Library routines # CONFIG_BITREVERSE=y CONFIG_GENERIC_FIND_LAST_BIT=y CONFIG_CRC_CCITT=y # CONFIG_CRC16 is not set # CONFIG_CRC_T10DIF is not set # CONFIG_CRC_ITU_T is not set CONFIG_CRC32=y # CONFIG_CRC7 is not set CONFIG_LIBCRC32C=y CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y CONFIG_LZO_COMPRESS=y CONFIG_LZO_DECOMPRESS=y CONFIG_PLIST=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-31 21:31 ` Russ Dill @ 2009-03-31 23:33 ` Kevin Hilman 2009-04-01 1:30 ` Russ Dill 0 siblings, 1 reply; 31+ messages in thread From: Kevin Hilman @ 2009-03-31 23:33 UTC (permalink / raw) To: Russ Dill; +Cc: Premi, Sanjeev, Peter Barada, linux-omap Russ Dill <russ.dill@gmail.com> writes: >> Russ, >> >> With the dump below, what was the output after you resumed? Which >> powerdomains did not hit their target state? It looks like PER and >> CORE did not hit target state. > > yes, yes, and yes. > >> Also, you didn't mention what hardware you're using or your .config or >> your bootloader etc. All of these play an important role. > > Beagleboard B7, X-Loader 1.41, U-Boot 1.3.3 Not familiar with the all u-boot versions for this board, but is this u-boot out of Steve Sakoman's tree? I had lots of problems with the TI bootloader leaving Beagle in a strange state and switched to using the one from Steve's tree. I have X-Loader 1.41 and: U-Boot 2009.01-rc1-00067-g8c6db17 (Jan 15 2009 - 16:31:00) >> >> Here is at least one problem. >> >> Offset 0x40 is CM_CLKSEL_WKUP, and bit 0 shows which clock is the >> source clock for GPTIMER1. Here, bit 0 is 1 which means SYS_CLK >> is used as the timer source. >> >> Based on this, you must have: >> >> System Type --> TI OMAP Implementations --> System Timer >> >> set to 'MPU timer'. Please change to 32k timer. Using MPU timer will >> keep timers not in WKUP powerdomain (which is all of them except GPT1) >> running across suspend, preventing PER from hitting RET. >> >> Using the 32k timer only uses GPT1 and sources it from the 32k clock, both >> of which are in the WKUP powerdomain. > > Nope, I have the following kernel message: > > OMAP clockevent source: GPTIMER12 at 32768 Hz > > and the following Kconfig options (also see the attached .config) Right, I forgot Beagle is using GPT12, not GPT1. nevermind. > Texas Instruments X-Loader 1.41 > Starting OS Bootloader... > > > U-Boot 1.3.3 (Jul 10 2008 - 16:33:09) First recommendation is to upgrade your bootloder: http://elinux.org/BeagleBoard#U-Boot The earlier bootloaders seem to be blindly enabling reserved bits in some of the PM registers which can leave the chip in an undefined state. > OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz > OMAP3 Beagle Board + LPDDR/NAND > DRAM: 128 MB > NAND: 256 MiB > In: serial > Out: serial > Err: serial > Audio Tone on Speakers ... complete > Hit any key to stop autoboot: 0 > > NAND read: device 0 offset 0x280000, size 0x400000 > 4194304 bytes read: OK > ## Booting kernel from Legacy Image at 80000000 ... > Image Name: Linux-2.6.29-omap1-pm > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 1476992 Bytes = 1.4 MB > Load Address: 80008000 > Entry Point: 80008000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > OK > > Starting kernel ... > > Uncompressing Linux................................................................................................ > done, booting the kern. > Linux version 2.6.29-omap1-pm (russ@russ-laptop) (gcc version 4.3.1 > (GCC) ) #47 PREEMPT Tue Mar 31 14:13:51 MST 2009 > CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f > CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache > Machine: OMAP3 Beagle Board > Memory policy: ECC disabled, Data cache writeback > OMAP3430 ES3.0 > SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000 > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 > Kernel command line: console=ttyS2,115200n8 root=/dev/mtdblock4 > rootfstype=jffs2 rw g_ether.host_addr=B6:A3:A1:7D:8F:F0 > omapfb.mode=dvi:126 > Unknown boot option `g_ether.host_addr=B6:A3:A1:7D:8F:F0': ignoring > Unknown boot option `omapfb.mode=dvi:1280x720M-16': ignoring > Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz > Reprogramming SDRC > GPMC revision 5.0 > IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts > Total of 96 interrupts on 1 active controller > OMAP34xx GPIO hardware version 2.5 > PID hash table entries: 512 (order: 9, 2048 bytes) > OMAP clockevent source: GPTIMER12 at 32768 Hz > Console: colour dummy device 80x30 > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > Memory: 128MB = 128MB total > Memory: 126648KB available (2692K code, 299K data, 96K init) > Calibrating delay loop... 491.57 BogoMIPS (lpj=1921024) > Mount-cache hash table entries: 512 > CPU: Testing write buffer coherency: ok > net_namespace: 544 bytes > regulator: core version 0.5 > NET: Registered protocol family 16 > Found NAND on CS0 > Registering NAND on CS0 > OMAP DMA hardware revision 4.0 > bio: create slab <bio-0> at 0 > i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz > twl4030: PIH (irq 7) chaining IRQs 368..375 > twl4030: power (irq 373) chaining IRQs 376..383 > twl4030: gpio (irq 368) chaining IRQs 384..401 > beagle_twl_gpio_setup:145 > twl4030_mmc_init:324 > twl4030_mmc_init:339 > regulator: VMMC1: 1850 <--> 3150 mV normal standby > regulator: VDAC: 1800 mV normal standby > regulator: VUSB1V5: 1500 <--> 0 mV normal standby > regulator: VUSB1V8: 1800 <--> 0 mV normal standby > regulator: VUSB3V1: 3100 <--> 0 mV normal standby > regulator: VPLL2: 1800 mV normal standby > regulator: VSIM: 1800 <--> 3000 mV normal standby > i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz > SCSI subsystem initialized > twl4030_usb twl4030_usb: Initialized TWL4030 USB module > NET: Registered protocol family 2 > IP route cache hash table entries: 1024 (order: 0, 4096 bytes) > TCP established hash table entries: 4096 (order: 3, 32768 bytes) > TCP bind hash table entries: 4096 (order: 2, 16384 bytes) > TCP: Hash tables configured (established 4096 bind 4096) > TCP reno registered > NET: Registered protocol family 1 > VFS: Disk quotas dquot_6.5.2 > Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. > msgmni has been set to 247 > alg: No test for stdrng (krng) > io scheduler noop registered (default) > omapfb: configured for panel omap3beagle > omapfb: skipping hardware initialization > omapfb: DISPC version 3.0 initialized > Console: switching to colour frame buffer device 128x48 > omapfb: Framebuffer initialized. Total vram 1572864 planes 1 > omapfb: Pixclock 64000 kHz hfreq 59.0 kHz vfreq 76.9 Hz > Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 > serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 > serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 > console [ttyS2] enabled > i2c /dev entries driver > Driver 'sd' needs updating - please use bus_type methods > omap2-nand driver initializing > NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB > 1,8V 16-bit) > cmdlinepart partition parsing not available > Creating 5 MTD partitions on "omap2-nand": > 0x000000000000-0x000000080000 : "X-Loader" > 0x000000080000-0x000000260000 : "U-Boot" > 0x000000260000-0x000000280000 : "U-Boot Env" > 0x000000280000-0x000000680000 : "Kernel" > 0x000000680000-0x000010000000 : "File System" > twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0 > cpuidle: using governor ladder > cpuidle: using governor menu > mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock > TCP cubic registered > NET: Registered protocol family 17 > NET: Registered protocol family 15 > Power Management for TI OMAP3. > pm_dbg_init() > Disabling unused clock "sr2_fck" > Disabling unused clock "sr1_fck" > Disabling unused clock "mcbsp_fck" > Disabling unused clock "mcbsp_fck" > Disabling unused clock "mcbsp_fck" > Disabling unused clock "mcbsp_ick" > Disabling unused clock "mcbsp_ick" > Disabling unused clock "mcbsp_ick" > Disabling unused clock "gpt2_ick" > Disabling unused clock "gpt3_ick" > Disabling unused clock "gpt4_ick" > Disabling unused clock "gpt5_ick" > Disabling unused clock "gpt6_ick" > Disabling unused clock "gpt7_ick" > Disabling unused clock "gpt8_ick" > Disabling unused clock "gpt9_ick" > Disabling unused clock "wdt3_ick" > Disabling unused clock "wdt3_fck" > Disabling unused clock "gpio2_dbck" > Disabling unused clock "gpio3_dbck" > Disabling unused clock "gpio4_dbck" > Disabling unused clock "gpio5_dbck" > Disabling unused clock "gpio6_dbck" > Disabling unused clock "gpt9_fck" > Disabling unused clock "gpt8_fck" > Disabling unused clock "gpt7_fck" > Disabling unused clock "gpt6_fck" > Disabling unused clock "gpt5_fck" > Disabling unused clock "gpt4_fck" > Disabling unused clock "gpt3_fck" > Disabling unused clock "gpt2_fck" > Disabling unused clock "gpt1_ick" > Disabling unused clock "wdt1_ick" > Disabling unused clock "wdt2_ick" > Disabling unused clock "wdt2_fck" > Disabling unused clock "gpio1_dbck" > Disabling unused clock "gpt1_fck" > Disabling unused clock "cam_ick" > Disabling unused clock "cam_mclk" > Disabling unused clock "dss_96m_fck" > Disabling unused clock "des1_ick" > Disabling unused clock "sha11_ick" > Disabling unused clock "rng_ick" > Disabling unused clock "aes1_ick" > Disabling unused clock "ssi_ick" > Disabling unused clock "mailboxes_ick" > Disabling unused clock "mcbsp_ick" > Disabling unused clock "mcbsp_ick" > Disabling unused clock "gpt10_ick" > Disabling unused clock "gpt11_ick" > Disabling unused clock "i2c_ick" > Disabling unused clock "mcspi_ick" > Disabling unused clock "mcspi_ick" > Disabling unused clock "mcspi_ick" > Disabling unused clock "mcspi_ick" > Disabling unused clock "hdq_ick" > Disabling unused clock "mspro_ick" > Disabling unused clock "des2_ick" > Disabling unused clock "sha12_ick" > Disabling unused clock "aes2_ick" > Disabling unused clock "icr_ick" > Disabling unused clock "pka_ick" > Disabling unused clock "hsotgusb_ick" > Disabling unused clock "ssi_ssr_fck" > Disabling unused clock "hdq_fck" > Disabling unused clock "mcspi_fck" > Disabling unused clock "mcspi_fck" > Disabling unused clock "mcspi_fck" > Disabling unused clock "mcspi_fck" > Disabling unused clock "mcbsp_fck" > Disabling unused clock "mcbsp_fck" > Disabling unused clock "i2c_fck" > Disabling unused clock "mspro_fck" > Disabling unused clock "gpt11_fck" > Disabling unused clock "gpt10_fck" > Disabling unused clock "sad2d_ick" > Disabling unused clock "dpll5_ck" > clock: dpll5_ck failed transition to 'locked' > Disabling unused clock "dpll4_m6x2_ck" > Disabling unused clock "dpll4_m3x2_ck" > Disabling unused clock "dpll3_m3x2_ck" > Disabling unused clock "sys_clkout1" > VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 > twl4030_rtc twl4030_rtc: setting system clock to 2009-02-28 14:45:54 > UTC (1235832354) > Empty flash at 0x014d884c ends at 0x014d9000 > Empty flash at 0x0365d678 ends at 0x0365d800 > Empty flash at 0x03d4b128 ends at 0x03d4b800 > Empty flash at 0x065f2240 ends at 0x065f2800 > Empty flash at 0x081d3c08 ends at 0x081d4000 > jffs2_scan_dirent_node(): Node CRC failed on node at 0x082bdfe4: Read > 0xffffffff, calculated 0x8bd04d99 > Empty flash at 0x082be01c ends at 0x082be800 > Empty flash at 0x0ee1e7cc ends at 0x0ee1e800 > JFFS2 error: (1) jffs2_build_inode_pass1: child dir "players" (ino > #35930) of dir ino #35929 appears to be a hard link > VFS: Mounted root (jffs2 filesystem) on device 31:4. > Freeing init memory: 96K > INIT: version 2.86 booting Hmm, you have rootfs on NAND. I haven't tested NAND to know if that driver might prevent RET. It "should" be fine, but I am not sure. I know that OneNAND doesn't, and MMC doesn't. Any chance you could try with rootfs on MMC? I also recommend you boot with minimal rootfs by appending 'init=/bin/sh' to the commandline. That elminates any userspace stuff for now that might be interfering as well. > Please wait: booting... > Starting udevudevd version 124 started > > Remounting root file system... > uncorrectable error : <3>uncorrectable error : <3>end_request: I/O > error, dev mtdblock0, sector 0 > Buffer I/O error on device mtdblock0, logical block 0 > uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 8 > Buffer I/O error on device mtdblock0, logical block 1 > uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 16 > Buffer I/O error on device mtdblock0, logical block 2 > uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 24 > Buffer I/O error on device mtdblock0, logical block 3 > uncorrectable error : <3>uncorrectable error : <3>end_request: I/O > error, dev mtdblock0, sector 0 > Buffer I/O error on device mtdblock0, logical block 0 > logger: mount: mount point /proc/bus/usb does not exist > ALSA: Restoring mixer settings... > Configuring network interfaces... done. > Starting portmap daemon: portmap. > net.ipv4.conf.default.rp_filter = 1 > net.ipv4.conf.all.rp_filter = 1 > /usr/sbin/alsactl: load_state:1616: No soundcards found... > INIT: Entering runlevel: 5 > No LEDs detected > Starting Dropbear SSH server: dropbear. > Starting advanced power management daemon: No APM support in kernel > (failed.) > Starting system message bus: dbus. > Starting Hardware abstraction layer hald > Starting syslogd/klogd: done > * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon > [ ok ] > Starting Bluetooth subsystem: hcid hid2hci. > Starting hidd... > Can't open HIDP control socket: Address family not supported by protocol > Starting pand... > Failed to open control socket: Address family not supported by protocol > Running ntpdate to synchronize clockError : Temporary failure in name resolution > . > ERROR: Module omaplfb does not exist in /proc/modules > ERROR: Module pvrsrvkm does not exist in /proc/modules > Usage: insmod filename [args] > FATAL: Module omaplfb not found. > mknod: missing operand after `0' > Try `mknod --help' for more information. > chmod: cannot access `/dev/pvrsrvkm': No such file or directory > /dev/mem opened. > Memory mapped at address 0x4001f000. > Value at address 0x48004B40 (0x4001fb40): 0x2 > Written 0x0; readback 0x0 > Starting GPE display manager: gpe-dm > > .-------. > | | .-. > | | |-----.-----.-----.| | .----..-----.-----. > | | | __ | ---'| '--.| .-'| | | > | | | | | |--- || --'| | | ' | | | | > '---'---'--'--'--. |-----''----''--' '-----'-'-'-' > -' | > '---' > > The Angstrom Distribution beagleboard ttyS2 > > Angstrom 2009.X-test-20090309 beagleboard ttyS2 > > beagleboard login: root > root@beagleboard:~# mount /debug/ > root@beagleboard:~# cd /sys/power/ > root@beagleboard:/sys/power# echo 1 > clocks_off_while_idle > root@beagleboard:/sys/power# dmesg -n 8 > root@beagleboard:/sys/power# echo mem > state > PM: Syncing filesystems ... done. > PM: Preparing system for mem sleep > Freezing user space processes ... (elapsed 0.00 seconds) done. > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > PM: Entering mem sleep > Suspending console(s) (use no_console_suspend to debug) > omapfb omapfb: timeout waiting for FRAME DONE > clockdomain: clkdm per_clkdm: removing clk uart3_ick > clockdomain: clkdm per_clkdm: removing clk per_48m_fck > clockdomain: clkdm per_clkdm: removing clk uart3_fck > clockdomain: clkdm per_clkdm: adding clk uart3_ick > clockdomain: clkdm per_clkdm: adding clk uart3_fck > clockdomain: clkdm per_clkdm: adding clk per_48m_fck > Powerdomain (core_pwrdm) didn't enter target state 1 > Powerdomain (per_pwrdm) didn't enter target state 1 > Could not enter target state in pm_suspend > PM: Finishing wakeup. > Restarting tasks ... done. > root@beagleboard:/sys/power# cat /debug/pm_debug/count > usbhost_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1 > sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1 > per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 > dss_pwrdm (ON),OFF:0,RET:1,INA:0,ON:2 > cam_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1 > core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 > neon_pwrdm (ON),OFF:0,RET:1,INA:958,ON:960 > mpu_pwrdm (ON),OFF:0,RET:1,INA:958,ON:960 > iva2_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1 > per_clkdm->per_pwrdm (9) > usbhost_clkdm->usbhost_pwrdm (0) > cam_clkdm->cam_pwrdm (0) > dss_clkdm->dss_pwrdm (2) > core_l4_clkdm->core_pwrdm (11) > core_l3_clkdm->core_pwrdm (4) > d2d_clkdm->core_pwrdm (0) > sgx_clkdm->sgx_pwrdm (0) > iva2_clkdm->iva2_pwrdm (0) > neon_clkdm->neon_pwrdm (0) > mpu_clkdm->mpu_pwrdm (0) > virt_opp_clkdm->wkup_pwrdm (0) > prm_clkdm->wkup_pwrdm (10) > cm_clkdm->core_pwrdm (4) > root@beagleboard:/sys/power# cat /debug/pm_debug/registers/1 > MOD: CM_IVA2 (48014000) > 04 => 00000037 20 => 00000001 34 => 00000001 40 => 0009680c > 44 => 00000001 48 => 00000003 > MOD: CM_OCP (48004800) > 00 => 00000010 10 => 00000001 > MOD: CM_MPU (48004900) > 04 => 00000037 24 => 00000001 34 => 00000001 40 => 0011f40c > 44 => 00000001 48 => 00000003 4c => 00000001 > MOD: CM_CORE (48004a00) > 10 => 00000042 20 => ffffffbd 24 => 0000001f 28 => 0000000d > 30 => fffffed9 34 => 0000001f 38 => 0000000c 40 => 0000030a > 48 => 0000003f 4c => 00000003 > MOD: CM_SGX (48004b00) > 20 => 00000001 48 => 00000003 > MOD: CM_WKUP (48004c00) > 10 => 0000000e 20 => 000002f1 30 => 0000003f 40 => 00000015 > MOD: CM_CCR (48004d00) > 00 => f8311037 04 => 00000017 20 => 00000201 30 => 00000009 > 34 => 00000001 40 => 094c0c00 44 => 0001b00c 48 => 00000009 > 50 => 00000001 70 => 00000003 > MOD: CM_DSS (48004e00) > 20 => 00000003 30 => 00000001 40 => 00001006 48 => 00000003 > MOD: CM_CAM (48004f00) > 20 => 00000001 30 => 00000001 40 => 00000004 48 => 00000003 > MOD: CM_PER (48005000) > 10 => 0003e000 20 => 00001fff 30 => 0003ffff 40 => 000000ff > 44 => 00000006 48 => 00000003 4c => 00000001 > MOD: CM_EMU (48005100) > 40 => 03020a50 48 => 00000001 > MOD: CM_NEON (48005300) > 48 => 00000003 > MOD: CM_USB (48005400) > 20 => 00000003 30 => 00000001 48 => 00000003 > MOD: PRM_IVA2 (48316000) > 50 => 00000007 e0 => 00ff0f05 e4 => 00000555 e8 => 00000555 > f8 => 00000005 > MOD: PRM_OCP (48306800) > 04 => 00000010 14 => 00000001 1c => 00000201 > MOD: PRM_MPU (48306900) > 58 => 00000001 d4 => 00000012 e0 => 00030105 e4 => 000000c7 > e8 => 000000c7 > MOD: PRM_CORE (48306a00) > 58 => 00000301 a0 => c33ffe18 a4 => c33ffe18 a8 => c33ffe18 > e0 => 000f0305 e4 => 000000f7 e8 => 000000f7 f0 => 00000004 > f4 => 00000004 f8 => 00000004 > MOD: PRM_SGX (48306b00) > e0 => 00030104 > MOD: PRM_WKUP (48306c00) > a0 => 0000010b a4 => 0000010b > MOD: PRM_CCR (48306d00) > 40 => 00000003 > MOD: PRM_DSS (48306e00) > 58 => 00000001 a0 => 00000001 e0 => 00030105 e4 => 00000001 > e8 => 00000001 > MOD: PRM_CAM (48306f00) > 58 => 00000001 e0 => 00030105 e4 => 00000001 e8 => 00000001 > MOD: PRM_PER (48307000) > 58 => 00000001 a0 => 0003efff a4 => 0003efff a8 => 0003efff > c8 => 00000007 e0 => 00030105 e4 => 00000007 e8 => 00000007 > MOD: PRM_EMU (48307100) > 58 => 00000001 e4 => 00000100 > MOD: PRM_GLBL (48307200) > 20 => 00120012 24 => 00010000 2c => 301e1e30 30 => 2c1e1e2c > 34 => 00120000 38 => 00000018 54 => 00001006 58 => 00000001 > 60 => 00000002 64 => 00000050 70 => 00000088 90 => 0fff0fff > 94 => 000000ff 98 => 000000ff 9c => 00000002 a0 => 000000ff > c4 => 00000001 e4 => 00000001 > MOD: PRM_NEON (48307300) > 58 => 00000001 c8 => 00000002 e0 => 00000005 e4 => 00000003 > e8 => 00000003 > MOD: PRM_USB (48307400) > 58 => 00000001 a0 => 00000001 a4 => 00000001 a8 => 00000001 > e0 => 00030105 e4 => 00000001 e8 => 00000001 > root@beagleboard:/sys/power# The main thing that I see in this dump is that some of the bits marked reserved in the TRM (such as SSI, SDMA etc.) are not auto-idled. The kernel isn't currently taking care of these corner cases and relies on the bootloader not to blindly enable things. After you update bootloaders, could you post the same results? Thanks, Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-31 23:33 ` Kevin Hilman @ 2009-04-01 1:30 ` Russ Dill 2009-04-01 4:11 ` Kevin Hilman 0 siblings, 1 reply; 31+ messages in thread From: Russ Dill @ 2009-04-01 1:30 UTC (permalink / raw) To: Kevin Hilman; +Cc: Premi, Sanjeev, Peter Barada, linux-omap On Tue, Mar 31, 2009 at 4:33 PM, Kevin Hilman <khilman@deeprootsystems.com> wrote: > Russ Dill <russ.dill@gmail.com> writes: > >>> Russ, >>> >>> With the dump below, what was the output after you resumed? Which >>> powerdomains did not hit their target state? It looks like PER and >>> CORE did not hit target state. >> >> yes, yes, and yes. >> >>> Also, you didn't mention what hardware you're using or your .config or >>> your bootloader etc. All of these play an important role. >> >> Beagleboard B7, X-Loader 1.41, U-Boot 1.3.3 > > Not familiar with the all u-boot versions for this board, but is this > u-boot out of Steve Sakoman's tree? I had lots of problems with the > TI bootloader leaving Beagle in a strange state and switched to using > the one from Steve's tree. I have X-Loader 1.41 and: > > U-Boot 2009.01-rc1-00067-g8c6db17 (Jan 15 2009 - 16:31:00) I've updated: U-Boot 2009.01-dirty (Feb 19 2009 - 12:22:31) >>> >>> Here is at least one problem. >>> >>> Offset 0x40 is CM_CLKSEL_WKUP, and bit 0 shows which clock is the >>> source clock for GPTIMER1. Here, bit 0 is 1 which means SYS_CLK >>> is used as the timer source. >>> >>> Based on this, you must have: >>> >>> System Type --> TI OMAP Implementations --> System Timer >>> >>> set to 'MPU timer'. Please change to 32k timer. Using MPU timer will >>> keep timers not in WKUP powerdomain (which is all of them except GPT1) >>> running across suspend, preventing PER from hitting RET. >>> >>> Using the 32k timer only uses GPT1 and sources it from the 32k clock, both >>> of which are in the WKUP powerdomain. >> >> Nope, I have the following kernel message: >> >> OMAP clockevent source: GPTIMER12 at 32768 Hz >> >> and the following Kconfig options (also see the attached .config) > > Right, I forgot Beagle is using GPT12, not GPT1. nevermind. > >> Texas Instruments X-Loader 1.41 >> Starting OS Bootloader... >> >> >> U-Boot 1.3.3 (Jul 10 2008 - 16:33:09) > > First recommendation is to upgrade your bootloder: > > http://elinux.org/BeagleBoard#U-Boot > > The earlier bootloaders seem to be blindly enabling reserved bits in > some of the PM registers which can leave the chip in an undefined > state. > >> OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz >> OMAP3 Beagle Board + LPDDR/NAND >> DRAM: 128 MB >> NAND: 256 MiB >> In: serial >> Out: serial >> Err: serial >> Audio Tone on Speakers ... complete >> Hit any key to stop autoboot: 0 >> >> NAND read: device 0 offset 0x280000, size 0x400000 >> 4194304 bytes read: OK >> ## Booting kernel from Legacy Image at 80000000 ... >> Image Name: Linux-2.6.29-omap1-pm >> Image Type: ARM Linux Kernel Image (uncompressed) >> Data Size: 1476992 Bytes = 1.4 MB >> Load Address: 80008000 >> Entry Point: 80008000 >> Verifying Checksum ... OK >> Loading Kernel Image ... OK >> OK >> >> Starting kernel ... >> >> Uncompressing Linux................................................................................................ >> done, booting the kern. >> Linux version 2.6.29-omap1-pm (russ@russ-laptop) (gcc version 4.3.1 >> (GCC) ) #47 PREEMPT Tue Mar 31 14:13:51 MST 2009 >> CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f >> CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache >> Machine: OMAP3 Beagle Board >> Memory policy: ECC disabled, Data cache writeback >> OMAP3430 ES3.0 >> SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000 >> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 >> Kernel command line: console=ttyS2,115200n8 root=/dev/mtdblock4 >> rootfstype=jffs2 rw g_ether.host_addr=B6:A3:A1:7D:8F:F0 >> omapfb.mode=dvi:126 >> Unknown boot option `g_ether.host_addr=B6:A3:A1:7D:8F:F0': ignoring >> Unknown boot option `omapfb.mode=dvi:1280x720M-16': ignoring >> Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz >> Reprogramming SDRC >> GPMC revision 5.0 >> IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts >> Total of 96 interrupts on 1 active controller >> OMAP34xx GPIO hardware version 2.5 >> PID hash table entries: 512 (order: 9, 2048 bytes) >> OMAP clockevent source: GPTIMER12 at 32768 Hz >> Console: colour dummy device 80x30 >> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) >> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) >> Memory: 128MB = 128MB total >> Memory: 126648KB available (2692K code, 299K data, 96K init) >> Calibrating delay loop... 491.57 BogoMIPS (lpj=1921024) >> Mount-cache hash table entries: 512 >> CPU: Testing write buffer coherency: ok >> net_namespace: 544 bytes >> regulator: core version 0.5 >> NET: Registered protocol family 16 >> Found NAND on CS0 >> Registering NAND on CS0 >> OMAP DMA hardware revision 4.0 >> bio: create slab <bio-0> at 0 >> i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz >> twl4030: PIH (irq 7) chaining IRQs 368..375 >> twl4030: power (irq 373) chaining IRQs 376..383 >> twl4030: gpio (irq 368) chaining IRQs 384..401 >> beagle_twl_gpio_setup:145 >> twl4030_mmc_init:324 >> twl4030_mmc_init:339 >> regulator: VMMC1: 1850 <--> 3150 mV normal standby >> regulator: VDAC: 1800 mV normal standby >> regulator: VUSB1V5: 1500 <--> 0 mV normal standby >> regulator: VUSB1V8: 1800 <--> 0 mV normal standby >> regulator: VUSB3V1: 3100 <--> 0 mV normal standby >> regulator: VPLL2: 1800 mV normal standby >> regulator: VSIM: 1800 <--> 3000 mV normal standby >> i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz >> SCSI subsystem initialized >> twl4030_usb twl4030_usb: Initialized TWL4030 USB module >> NET: Registered protocol family 2 >> IP route cache hash table entries: 1024 (order: 0, 4096 bytes) >> TCP established hash table entries: 4096 (order: 3, 32768 bytes) >> TCP bind hash table entries: 4096 (order: 2, 16384 bytes) >> TCP: Hash tables configured (established 4096 bind 4096) >> TCP reno registered >> NET: Registered protocol family 1 >> VFS: Disk quotas dquot_6.5.2 >> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) >> JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. >> msgmni has been set to 247 >> alg: No test for stdrng (krng) >> io scheduler noop registered (default) >> omapfb: configured for panel omap3beagle >> omapfb: skipping hardware initialization >> omapfb: DISPC version 3.0 initialized >> Console: switching to colour frame buffer device 128x48 >> omapfb: Framebuffer initialized. Total vram 1572864 planes 1 >> omapfb: Pixclock 64000 kHz hfreq 59.0 kHz vfreq 76.9 Hz >> Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled >> serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 >> serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 >> serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 >> console [ttyS2] enabled >> i2c /dev entries driver >> Driver 'sd' needs updating - please use bus_type methods >> omap2-nand driver initializing >> NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB >> 1,8V 16-bit) >> cmdlinepart partition parsing not available >> Creating 5 MTD partitions on "omap2-nand": >> 0x000000000000-0x000000080000 : "X-Loader" >> 0x000000080000-0x000000260000 : "U-Boot" >> 0x000000260000-0x000000280000 : "U-Boot Env" >> 0x000000280000-0x000000680000 : "Kernel" >> 0x000000680000-0x000010000000 : "File System" >> twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0 >> cpuidle: using governor ladder >> cpuidle: using governor menu >> mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock >> TCP cubic registered >> NET: Registered protocol family 17 >> NET: Registered protocol family 15 >> Power Management for TI OMAP3. >> pm_dbg_init() >> Disabling unused clock "sr2_fck" >> Disabling unused clock "sr1_fck" >> Disabling unused clock "mcbsp_fck" >> Disabling unused clock "mcbsp_fck" >> Disabling unused clock "mcbsp_fck" >> Disabling unused clock "mcbsp_ick" >> Disabling unused clock "mcbsp_ick" >> Disabling unused clock "mcbsp_ick" >> Disabling unused clock "gpt2_ick" >> Disabling unused clock "gpt3_ick" >> Disabling unused clock "gpt4_ick" >> Disabling unused clock "gpt5_ick" >> Disabling unused clock "gpt6_ick" >> Disabling unused clock "gpt7_ick" >> Disabling unused clock "gpt8_ick" >> Disabling unused clock "gpt9_ick" >> Disabling unused clock "wdt3_ick" >> Disabling unused clock "wdt3_fck" >> Disabling unused clock "gpio2_dbck" >> Disabling unused clock "gpio3_dbck" >> Disabling unused clock "gpio4_dbck" >> Disabling unused clock "gpio5_dbck" >> Disabling unused clock "gpio6_dbck" >> Disabling unused clock "gpt9_fck" >> Disabling unused clock "gpt8_fck" >> Disabling unused clock "gpt7_fck" >> Disabling unused clock "gpt6_fck" >> Disabling unused clock "gpt5_fck" >> Disabling unused clock "gpt4_fck" >> Disabling unused clock "gpt3_fck" >> Disabling unused clock "gpt2_fck" >> Disabling unused clock "gpt1_ick" >> Disabling unused clock "wdt1_ick" >> Disabling unused clock "wdt2_ick" >> Disabling unused clock "wdt2_fck" >> Disabling unused clock "gpio1_dbck" >> Disabling unused clock "gpt1_fck" >> Disabling unused clock "cam_ick" >> Disabling unused clock "cam_mclk" >> Disabling unused clock "dss_96m_fck" >> Disabling unused clock "des1_ick" >> Disabling unused clock "sha11_ick" >> Disabling unused clock "rng_ick" >> Disabling unused clock "aes1_ick" >> Disabling unused clock "ssi_ick" >> Disabling unused clock "mailboxes_ick" >> Disabling unused clock "mcbsp_ick" >> Disabling unused clock "mcbsp_ick" >> Disabling unused clock "gpt10_ick" >> Disabling unused clock "gpt11_ick" >> Disabling unused clock "i2c_ick" >> Disabling unused clock "mcspi_ick" >> Disabling unused clock "mcspi_ick" >> Disabling unused clock "mcspi_ick" >> Disabling unused clock "mcspi_ick" >> Disabling unused clock "hdq_ick" >> Disabling unused clock "mspro_ick" >> Disabling unused clock "des2_ick" >> Disabling unused clock "sha12_ick" >> Disabling unused clock "aes2_ick" >> Disabling unused clock "icr_ick" >> Disabling unused clock "pka_ick" >> Disabling unused clock "hsotgusb_ick" >> Disabling unused clock "ssi_ssr_fck" >> Disabling unused clock "hdq_fck" >> Disabling unused clock "mcspi_fck" >> Disabling unused clock "mcspi_fck" >> Disabling unused clock "mcspi_fck" >> Disabling unused clock "mcspi_fck" >> Disabling unused clock "mcbsp_fck" >> Disabling unused clock "mcbsp_fck" >> Disabling unused clock "i2c_fck" >> Disabling unused clock "mspro_fck" >> Disabling unused clock "gpt11_fck" >> Disabling unused clock "gpt10_fck" >> Disabling unused clock "sad2d_ick" >> Disabling unused clock "dpll5_ck" >> clock: dpll5_ck failed transition to 'locked' >> Disabling unused clock "dpll4_m6x2_ck" >> Disabling unused clock "dpll4_m3x2_ck" >> Disabling unused clock "dpll3_m3x2_ck" >> Disabling unused clock "sys_clkout1" >> VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 >> twl4030_rtc twl4030_rtc: setting system clock to 2009-02-28 14:45:54 >> UTC (1235832354) >> Empty flash at 0x014d884c ends at 0x014d9000 >> Empty flash at 0x0365d678 ends at 0x0365d800 >> Empty flash at 0x03d4b128 ends at 0x03d4b800 >> Empty flash at 0x065f2240 ends at 0x065f2800 >> Empty flash at 0x081d3c08 ends at 0x081d4000 >> jffs2_scan_dirent_node(): Node CRC failed on node at 0x082bdfe4: Read >> 0xffffffff, calculated 0x8bd04d99 >> Empty flash at 0x082be01c ends at 0x082be800 >> Empty flash at 0x0ee1e7cc ends at 0x0ee1e800 >> JFFS2 error: (1) jffs2_build_inode_pass1: child dir "players" (ino >> #35930) of dir ino #35929 appears to be a hard link >> VFS: Mounted root (jffs2 filesystem) on device 31:4. >> Freeing init memory: 96K >> INIT: version 2.86 booting > > Hmm, you have rootfs on NAND. I haven't tested NAND to know if that > driver might prevent RET. It "should" be fine, but I am not sure. I > know that OneNAND doesn't, and MMC doesn't. Any chance you could try > with rootfs on MMC? > > I also recommend you boot with minimal rootfs by appending 'init=/bin/sh' > to the commandline. That elminates any userspace stuff for now that might > be interfering as well. > >> Please wait: booting... >> Starting udevudevd version 124 started >> >> Remounting root file system... >> uncorrectable error : <3>uncorrectable error : <3>end_request: I/O >> error, dev mtdblock0, sector 0 >> Buffer I/O error on device mtdblock0, logical block 0 >> uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 8 >> Buffer I/O error on device mtdblock0, logical block 1 >> uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 16 >> Buffer I/O error on device mtdblock0, logical block 2 >> uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 24 >> Buffer I/O error on device mtdblock0, logical block 3 >> uncorrectable error : <3>uncorrectable error : <3>end_request: I/O >> error, dev mtdblock0, sector 0 >> Buffer I/O error on device mtdblock0, logical block 0 >> logger: mount: mount point /proc/bus/usb does not exist >> ALSA: Restoring mixer settings... >> Configuring network interfaces... done. >> Starting portmap daemon: portmap. >> net.ipv4.conf.default.rp_filter = 1 >> net.ipv4.conf.all.rp_filter = 1 >> /usr/sbin/alsactl: load_state:1616: No soundcards found... >> INIT: Entering runlevel: 5 >> No LEDs detected >> Starting Dropbear SSH server: dropbear. >> Starting advanced power management daemon: No APM support in kernel >> (failed.) >> Starting system message bus: dbus. >> Starting Hardware abstraction layer hald >> Starting syslogd/klogd: done >> * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon >> [ ok ] >> Starting Bluetooth subsystem: hcid hid2hci. >> Starting hidd... >> Can't open HIDP control socket: Address family not supported by protocol >> Starting pand... >> Failed to open control socket: Address family not supported by protocol >> Running ntpdate to synchronize clockError : Temporary failure in name resolution >> . >> ERROR: Module omaplfb does not exist in /proc/modules >> ERROR: Module pvrsrvkm does not exist in /proc/modules >> Usage: insmod filename [args] >> FATAL: Module omaplfb not found. >> mknod: missing operand after `0' >> Try `mknod --help' for more information. >> chmod: cannot access `/dev/pvrsrvkm': No such file or directory >> /dev/mem opened. >> Memory mapped at address 0x4001f000. >> Value at address 0x48004B40 (0x4001fb40): 0x2 >> Written 0x0; readback 0x0 >> Starting GPE display manager: gpe-dm >> >> .-------. >> | | .-. >> | | |-----.-----.-----.| | .----..-----.-----. >> | | | __ | ---'| '--.| .-'| | | >> | | | | | |--- || --'| | | ' | | | | >> '---'---'--'--'--. |-----''----''--' '-----'-'-'-' >> -' | >> '---' >> >> The Angstrom Distribution beagleboard ttyS2 >> >> Angstrom 2009.X-test-20090309 beagleboard ttyS2 >> >> beagleboard login: root >> root@beagleboard:~# mount /debug/ >> root@beagleboard:~# cd /sys/power/ >> root@beagleboard:/sys/power# echo 1 > clocks_off_while_idle >> root@beagleboard:/sys/power# dmesg -n 8 >> root@beagleboard:/sys/power# echo mem > state >> PM: Syncing filesystems ... done. >> PM: Preparing system for mem sleep >> Freezing user space processes ... (elapsed 0.00 seconds) done. >> Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. >> PM: Entering mem sleep >> Suspending console(s) (use no_console_suspend to debug) >> omapfb omapfb: timeout waiting for FRAME DONE >> clockdomain: clkdm per_clkdm: removing clk uart3_ick >> clockdomain: clkdm per_clkdm: removing clk per_48m_fck >> clockdomain: clkdm per_clkdm: removing clk uart3_fck >> clockdomain: clkdm per_clkdm: adding clk uart3_ick >> clockdomain: clkdm per_clkdm: adding clk uart3_fck >> clockdomain: clkdm per_clkdm: adding clk per_48m_fck >> Powerdomain (core_pwrdm) didn't enter target state 1 >> Powerdomain (per_pwrdm) didn't enter target state 1 >> Could not enter target state in pm_suspend >> PM: Finishing wakeup. >> Restarting tasks ... done. >> root@beagleboard:/sys/power# cat /debug/pm_debug/count >> usbhost_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1 >> sgx_pwrdm (OFF),OFF:1,RET:0,INA:0,ON:1 >> per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 >> dss_pwrdm (ON),OFF:0,RET:1,INA:0,ON:2 >> cam_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1 >> core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1 >> neon_pwrdm (ON),OFF:0,RET:1,INA:958,ON:960 >> mpu_pwrdm (ON),OFF:0,RET:1,INA:958,ON:960 >> iva2_pwrdm (RET),OFF:0,RET:1,INA:0,ON:1 >> per_clkdm->per_pwrdm (9) >> usbhost_clkdm->usbhost_pwrdm (0) >> cam_clkdm->cam_pwrdm (0) >> dss_clkdm->dss_pwrdm (2) >> core_l4_clkdm->core_pwrdm (11) >> core_l3_clkdm->core_pwrdm (4) >> d2d_clkdm->core_pwrdm (0) >> sgx_clkdm->sgx_pwrdm (0) >> iva2_clkdm->iva2_pwrdm (0) >> neon_clkdm->neon_pwrdm (0) >> mpu_clkdm->mpu_pwrdm (0) >> virt_opp_clkdm->wkup_pwrdm (0) >> prm_clkdm->wkup_pwrdm (10) >> cm_clkdm->core_pwrdm (4) >> root@beagleboard:/sys/power# cat /debug/pm_debug/registers/1 >> MOD: CM_IVA2 (48014000) >> 04 => 00000037 20 => 00000001 34 => 00000001 40 => 0009680c >> 44 => 00000001 48 => 00000003 >> MOD: CM_OCP (48004800) >> 00 => 00000010 10 => 00000001 >> MOD: CM_MPU (48004900) >> 04 => 00000037 24 => 00000001 34 => 00000001 40 => 0011f40c >> 44 => 00000001 48 => 00000003 4c => 00000001 >> MOD: CM_CORE (48004a00) >> 10 => 00000042 20 => ffffffbd 24 => 0000001f 28 => 0000000d >> 30 => fffffed9 34 => 0000001f 38 => 0000000c 40 => 0000030a >> 48 => 0000003f 4c => 00000003 >> MOD: CM_SGX (48004b00) >> 20 => 00000001 48 => 00000003 >> MOD: CM_WKUP (48004c00) >> 10 => 0000000e 20 => 000002f1 30 => 0000003f 40 => 00000015 >> MOD: CM_CCR (48004d00) >> 00 => f8311037 04 => 00000017 20 => 00000201 30 => 00000009 >> 34 => 00000001 40 => 094c0c00 44 => 0001b00c 48 => 00000009 >> 50 => 00000001 70 => 00000003 >> MOD: CM_DSS (48004e00) >> 20 => 00000003 30 => 00000001 40 => 00001006 48 => 00000003 >> MOD: CM_CAM (48004f00) >> 20 => 00000001 30 => 00000001 40 => 00000004 48 => 00000003 >> MOD: CM_PER (48005000) >> 10 => 0003e000 20 => 00001fff 30 => 0003ffff 40 => 000000ff >> 44 => 00000006 48 => 00000003 4c => 00000001 >> MOD: CM_EMU (48005100) >> 40 => 03020a50 48 => 00000001 >> MOD: CM_NEON (48005300) >> 48 => 00000003 >> MOD: CM_USB (48005400) >> 20 => 00000003 30 => 00000001 48 => 00000003 >> MOD: PRM_IVA2 (48316000) >> 50 => 00000007 e0 => 00ff0f05 e4 => 00000555 e8 => 00000555 >> f8 => 00000005 >> MOD: PRM_OCP (48306800) >> 04 => 00000010 14 => 00000001 1c => 00000201 >> MOD: PRM_MPU (48306900) >> 58 => 00000001 d4 => 00000012 e0 => 00030105 e4 => 000000c7 >> e8 => 000000c7 >> MOD: PRM_CORE (48306a00) >> 58 => 00000301 a0 => c33ffe18 a4 => c33ffe18 a8 => c33ffe18 >> e0 => 000f0305 e4 => 000000f7 e8 => 000000f7 f0 => 00000004 >> f4 => 00000004 f8 => 00000004 >> MOD: PRM_SGX (48306b00) >> e0 => 00030104 >> MOD: PRM_WKUP (48306c00) >> a0 => 0000010b a4 => 0000010b >> MOD: PRM_CCR (48306d00) >> 40 => 00000003 >> MOD: PRM_DSS (48306e00) >> 58 => 00000001 a0 => 00000001 e0 => 00030105 e4 => 00000001 >> e8 => 00000001 >> MOD: PRM_CAM (48306f00) >> 58 => 00000001 e0 => 00030105 e4 => 00000001 e8 => 00000001 >> MOD: PRM_PER (48307000) >> 58 => 00000001 a0 => 0003efff a4 => 0003efff a8 => 0003efff >> c8 => 00000007 e0 => 00030105 e4 => 00000007 e8 => 00000007 >> MOD: PRM_EMU (48307100) >> 58 => 00000001 e4 => 00000100 >> MOD: PRM_GLBL (48307200) >> 20 => 00120012 24 => 00010000 2c => 301e1e30 30 => 2c1e1e2c >> 34 => 00120000 38 => 00000018 54 => 00001006 58 => 00000001 >> 60 => 00000002 64 => 00000050 70 => 00000088 90 => 0fff0fff >> 94 => 000000ff 98 => 000000ff 9c => 00000002 a0 => 000000ff >> c4 => 00000001 e4 => 00000001 >> MOD: PRM_NEON (48307300) >> 58 => 00000001 c8 => 00000002 e0 => 00000005 e4 => 00000003 >> e8 => 00000003 >> MOD: PRM_USB (48307400) >> 58 => 00000001 a0 => 00000001 a4 => 00000001 a8 => 00000001 >> e0 => 00030105 e4 => 00000001 e8 => 00000001 >> root@beagleboard:/sys/power# > > The main thing that I see in this dump is that some of the bits marked > reserved in the TRM (such as SSI, SDMA etc.) are not auto-idled. The > kernel isn't currently taking care of these corner cases and relies on > the bootloader not to blindly enable things. > > After you update bootloaders, could you post the same results? > root@beagleboard:/sys/power# echo 1 > clocks_off_while_idle root@beagleboard:/sys/power# echo 1 > enable_off_mode root@beagleboard:/sys/power# echo 1 > voltage_off_while_idle root@beagleboard:/sys/power# echo mem > state PM: Syncing filesystems ... done. Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. Suspending console(s) (use no_console_suspend to debug) omapfb omapfb: timeout waiting for FRAME DONE Successfully put all powerdomains to target state Restarting tasks ... done. Neato :) This is still with all the user processes running an with a NAND filesystem. I'm still getting rather high ~80mA@5V power consumption, so I'll need to further investigate what rails the twl4030 is actually turning off. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-04-01 1:30 ` Russ Dill @ 2009-04-01 4:11 ` Kevin Hilman 0 siblings, 0 replies; 31+ messages in thread From: Kevin Hilman @ 2009-04-01 4:11 UTC (permalink / raw) To: Russ Dill; +Cc: Premi, Sanjeev, Peter Barada, linux-omap Russ Dill <russ.dill@gmail.com> writes: [...] > > root@beagleboard:/sys/power# echo 1 > clocks_off_while_idle > root@beagleboard:/sys/power# echo 1 > enable_off_mode > root@beagleboard:/sys/power# echo 1 > voltage_off_while_idle > root@beagleboard:/sys/power# echo mem > state > PM: Syncing filesystems ... done. > Freezing user space processes ... (elapsed 0.00 seconds) done. > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > Suspending console(s) (use no_console_suspend to debug) > omapfb omapfb: timeout waiting for FRAME DONE > Successfully put all powerdomains to target state > Restarting tasks ... done. > > Neato :) This is still with all the user processes running an with a > NAND filesystem. I'm still getting rather high ~80mA@5V power > consumption, so I'll need to further investigate what rails the > twl4030 is actually turning off. Great! glad it worked for you. The kernel has some work to do to be sure that *everything* is properly init'd to allow proper idle states. Until then, unfortunately we have to rely on more gentle bootloaders. And FWIW, on my Beagle, I've never seen < 80mA either, but I haven't done any further digging. Kevin ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-18 5:21 PM branch rebased to 2.6.29 Kevin Hilman ` (2 preceding siblings ...) 2009-03-24 17:10 ` Peter Barada @ 2009-03-26 16:54 ` Jean Pihet 2009-03-26 17:01 ` Kevin Hilman 3 siblings, 1 reply; 31+ messages in thread From: Jean Pihet @ 2009-03-26 16:54 UTC (permalink / raw) To: Kevin Hilman; +Cc: linux-omap Hi, I am having a crash with the latest 2.6.29 pm branch with CPU_FREQ enabled. It looks like clk_set_rate is called recursively, thus deadlocking on the mutex. Any idea why this worked fine on 2.6.29-rc8 pm? Here is the dump excerpt: ... Disabling unused clock "sys_clkout1" BUG: scheduling while atomic: swapper/1/0x00000002 Modules linked in: [<c0032f40>] (dump_stack+0x0/0x14) from [<c0055dcc>] (__schedule_bug+0x54/0x60) [<c0055d78>] (__schedule_bug+0x0/0x60) from [<c02e7be4>] (schedule+0x78/0x2bc) r4:c781c000 [<c02e7b6c>] (schedule+0x0/0x2bc) from [<c02e8b60>] (__mutex_lock_slowpath+0x174/0x290) [<c02e89ec>] (__mutex_lock_slowpath+0x0/0x290) from [<c02e8ca4>] (mutex_lock+0x28/0x30) [<c02e8c7c>] (mutex_lock+0x0/0x30) from [<c00413b4>] (clk_set_rate+0x2c/0xec) r4:c03ced20 [<c0041388>] (clk_set_rate+0x0/0xec) from [<c003fc94>] (omap3_select_table_rate+0xd0/0x168) r6:00000004 r5:c03fd474 r4:c03d426c [<c003fbc4>] (omap3_select_table_rate+0x0/0x168) from [<c0038d3c>] (omap2_clk_set_rate+0x20/0x24) r6:60000013 r5:20c85580 r4:c03ce41c [<c0038d1c>] (omap2_clk_set_rate+0x0/0x24) from [<c0041410>] (clk_set_rate+0x88/0xec) [<c0041388>] (clk_set_rate+0x0/0xec) from [<c0013518>] (omap_cpu_init+0xc8/0x108) r6:c03f4b20 r5:c03fddac r4:c7be9be0 [<c0013450>] (omap_cpu_init+0x0/0x108) from [<c022c3a0>] (cpufreq_add_dev+0x120/0x300) r5:c7be9be0 r4:00000000 [<c022c280>] (cpufreq_add_dev+0x0/0x300) from [<c01dc130>] (sysdev_driver_register+0xb4/0x124) r8:00000000 r7:00000000 r6:c03f4b20 r5:c03ef708 r4:c03fc95c [<c01dc07c>] (sysdev_driver_register+0x0/0x124) from [<c022c214>] (cpufreq_register_driver+0x98/0x104) r6:00000000 r5:c041efac r4:c03d541c [<c022c17c>] (cpufreq_register_driver+0x0/0x104) from [<c0013448>] (omap_cpufreq_init+0x14/0x1c) r5:c00266fc r4:c03fc080 [<c0013434>] (omap_cpufreq_init+0x0/0x1c) from [<c002e2ac>] (__exception_text_end+0x54/0x188) [<c002e258>] (__exception_text_end+0x0/0x188) from [<c0008768>] (kernel_init+0x74/0xdc) [<c00086f4>] (kernel_init+0x0/0xdc) from [<c005d568>] (do_exit+0x0/0x6b8) r5:00000000 r4:00000000 Regards, Jean On Wednesday 18 March 2009 06:21:09 Kevin Hilman wrote: > FYI... > > The PM branch has now been rebased to today's linux-omap HEAD which is > based on v2.6.29-rc8. The previous PM branch has been renamed to > pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not > (yet) have the latest PM branch. If not, you can use my PM tree[1] > directly. Also, pm-2.6.28 will only be available on my tree. > > Tested on OMAP3 Beagle and RX51 and was able to hit RET and OFF in > suspend and in PM idle with minimal kernel. No testing yet done for > CPUidle or DVFS. Please test on your hardware and submit results to > the list. Thanks. > > Kevin > > -- > > Misc. conflicts/issues resolved after rebase: > > - no longer safe to use getnstimeofday() in suspend path since timekeeping > subsystem is also suspended in the suspend path. PM debug timing has > been converted to use sched_clock() which is 32k sync-timer based. > > - Update board-rx51.c to use common OMAP3 OPPs > > Known issues: > > - Beagle: MMC: off-mode needs work in MMC driver, so if you hit off > and have a rootfs on MMC, you're dead. > > - Beagle: MMC regulator: unbalanced disables. This happens on boot > and during suspend/resume. I don't think this is related to the PM > branch, but is probably in linux-omap HEAD also, but didn't test. > > Linux version 2.6.29-rc8-omap1-arm-omap3beagle-default-05653-gd803372-dirty > (khilman@vence) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-66) ) #4 > PREEMPT Tue Mar 17 21:38:09 PDT 2009 [...] > i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz > twl4030: PIH (irq 7) chaining IRQs 368..375 > twl4030: power (irq 373) chaining IRQs 376..383 > twl4030: gpio (irq 368) chaining IRQs 384..401 > beagle_twl_gpio_setup:145 > twl4030_mmc_init:303 > twl4030_mmc_init:318 > regulator: VMMC1: 1850 <--> 3150 mV normal standby > regulator: VDAC: 1800 mV normal standby > regulator: VUSB1V5: 1500 <--> 0 mV normal standby > regulator: VUSB1V8: 1800 <--> 0 mV normal standby > regulator: VUSB3V1: 3100 <--> 0 mV normal standby > regulator: VSIM: 1800 <--> 3000 mV normal standby > [...] > mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock > ------------[ cut here ]------------ > WARNING: at > /net/home/khilman/work/kernel/omap/pm/drivers/regulator/core.c:1216 > regulator_disable+0x64/0x90() unbalanced disables for supply > mmci-omap-hs.0-vmmc > Modules linked in: > [<c02a0830>] (dump_stack+0x0/0x14) from [<c0053af0>] > (warn_slowpath+0x6c/0x88) [<c0053a84>] (warn_slowpath+0x0/0x88) from > [<c01b8bdc>] (regulator_disable+0x64/0x90) r3:c79dc2a0 r2:c03390cb > r7:c78e8c20 r6:c78aac38 r5:c78e8c20 r4:fffffffb > [<c01b8b78>] (regulator_disable+0x0/0x90) from [<c0209400>] > (mmc_regulator_set_ocr+0xb0/0xcc) r7:c78e8c20 r6:00000001 r5:00000000 > r4:00000000 > [<c0209350>] (mmc_regulator_set_ocr+0x0/0xcc) from [<c003abe8>] > (twl_mmc1_set_power+0xc0/0xec) r7:c784f538 r6:00000000 r5:00000000 > r4:c039185c > [<c003ab28>] (twl_mmc1_set_power+0x0/0xec) from [<c0210aa8>] > (omap_mmc_set_ios+0x54/0x2b0) r7:c784f538 r6:c784f5c0 r5:c784f400 > r4:c7844380 > [<c0210a54>] (omap_mmc_set_ios+0x0/0x2b0) from [<c0208dc8>] > (mmc_power_off+0x54/0x58) r7:c784f400 r6:c7910400 r5:00000000 r4:c784f400 > [<c0208d74>] (mmc_power_off+0x0/0x58) from [<c0209074>] > (mmc_start_host+0x14/0x24) [<c0209060>] (mmc_start_host+0x0/0x24) from > [<c020a2a0>] (mmc_add_host+0x58/0x64) r5:00000000 r4:c784f400 > [<c020a248>] (mmc_add_host+0x0/0x64) from [<c001ec00>] > (omap_mmc_probe+0x3d0/0x548) r5:c784f5c0 r4:00000000 > [<c001e830>] (omap_mmc_probe+0x0/0x548) from [<c01dd554>] > (platform_drv_probe+0x20/0x24) [<c01dd534>] (platform_drv_probe+0x0/0x24) > from [<c01dc740>] (driver_probe_device+0xd4/0x180) [<c01dc66c>] > (driver_probe_device+0x0/0x180) from [<c01dc854>] > (__driver_attach+0x68/0x8c) r7:c789d140 r6:c038ada4 r5:c7910490 r4:c7910408 > [<c01dc7ec>] (__driver_attach+0x0/0x8c) from [<c01dbf8c>] > (bus_for_each_dev+0x4c/0x80) r7:c789d140 r6:c038ada4 r5:c01dc7ec > r4:00000000 > [<c01dbf40>] (bus_for_each_dev+0x0/0x80) from [<c01dc584>] > (driver_attach+0x20/0x28) r6:c038ada4 r5:00000000 r4:00000000 > [<c01dc564>] (driver_attach+0x0/0x28) from [<c01db868>] > (bus_add_driver+0xa8/0x210) [<c01db7c0>] (bus_add_driver+0x0/0x210) from > [<c01dca78>] (driver_register+0x98/0x120) r8:00000001 r7:c001e814 > r6:c038ada4 r5:00000000 r4:c0024a44 > [<c01dc9e0>] (driver_register+0x0/0x120) from [<c01dd9fc>] > (platform_driver_register+0x6c/0x88) r9:00000000 r8:00000001 r7:c001e814 > r6:00000000 r5:00000000 > r4:c0024a44 > [<c01dd990>] (platform_driver_register+0x0/0x88) from [<c001e828>] > (omap_mmc_init+0x14/0x1c) [<c001e814>] (omap_mmc_init+0x0/0x1c) from > [<c00292ec>] (do_one_initcall+0x5c/0x19c) [<c0029290>] > (do_one_initcall+0x0/0x19c) from [<c0008404>] (kernel_init+0x84/0xf8) > r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:c0024a44 > [<c0008380>] (kernel_init+0x0/0xf8) from [<c0056ea0>] (do_exit+0x0/0x764) > r4:00000000 > ---[ end trace e339700732a37a4d ]--- > [.../ > (none):~# echo 1 > /sys/power/clocks_off_while_idle > (none):~# echo mem > /sys/power/state > PM: Syncing filesystems ... done. > Freezing user space processes ... (elapsed 0.00 seconds) done. > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > Suspending console(s) (use no_console_suspend to debug) > ------------[ cut here ]------------ > WARNING: at > /net/home/khilman/work/kernel/omap/pm/drivers/regulator/core.c:1216 > regulator_disable+0x64/0x90() unbalanced disables for supply > mmci-omap-hs.0-vmmc > Modules linked in: > [<c02a0830>] (dump_stack+0x0/0x14) from [<c0053af0>] > (warn_slowpath+0x6c/0x88) [<c0053a84>] (warn_slowpath+0x0/0x88) from > [<c01b8bdc>] (regulator_disable+0x64/0x90) r3:c79dc2a0 r2:c03390cb > r7:c78e8c20 r6:c78aac38 r5:c78e8c20 r4:fffffffb > [<c01b8b78>] (regulator_disable+0x0/0x90) from [<c0209400>] > (mmc_regulator_set_ocr+0xb0/0xcc) r7:c78e8c20 r6:00000001 r5:00000000 > r4:00000000 > [<c0209350>] (mmc_regulator_set_ocr+0x0/0xcc) from [<c003abe8>] > (twl_mmc1_set_power+0xc0/0xec) r7:c784f538 r6:00000000 r5:00000000 > r4:c039185c > [<c003ab28>] (twl_mmc1_set_power+0x0/0xec) from [<c0210aa8>] > (omap_mmc_set_ios+0x54/0x2b0) r7:c784f538 r6:c784f5c0 r5:c784f400 > r4:c7844380 > [<c0210a54>] (omap_mmc_set_ios+0x0/0x2b0) from [<c0208dc8>] > (mmc_power_off+0x54/0x58) r7:c7910490 r6:c7910400 r5:a0000013 r4:c784f400 > [<c0208d74>] (mmc_power_off+0x0/0x58) from [<c02097e0>] > (mmc_suspend_host+0x14c/0x154) [<c0209694>] (mmc_suspend_host+0x0/0x154) > from [<c02107e0>] (omap_mmc_suspend+0x30/0xe0) r5:c0388a74 r4:c784f5c0 > [<c02107b0>] (omap_mmc_suspend+0x0/0xe0) from [<c01dd5d4>] > (platform_drv_suspend+0x20/0x24) r7:c7910490 r6:c79104b8 r5:c0388a74 > r4:c0388ba4 > [<c01dd5b4>] (platform_drv_suspend+0x0/0x24) from [<c01dd6c4>] > (platform_pm_suspend+0x50/0x5c) [<c01dd674>] (platform_pm_suspend+0x0/0x5c) > from [<c01df9ec>] (pm_op+0x38/0x7c) [<c01df9b4>] (pm_op+0x0/0x7c) from > [<c01e0150>] (device_suspend+0x350/0x480) r5:c7910408 r4:c0388ba4 > [<c01dfe00>] (device_suspend+0x0/0x480) from [<c007d4b8>] > (suspend_devices_and_enter+0x44/0x1c4) [<c007d474>] > (suspend_devices_and_enter+0x0/0x1c4) from [<c007d7a0>] > (enter_state+0x134/0x1b8) r7:c02a5bf4 r6:00000003 r5:c031de6b r4:000072ab > [<c007d66c>] (enter_state+0x0/0x1b8) from [<c007d8c0>] > (state_store+0x9c/0xc4) r7:c02a5bf4 r6:00000003 r5:00000003 r4:c031de6b > [<c007d824>] (state_store+0x0/0xc4) from [<c019329c>] > (kobj_attr_store+0x20/0x24) [<c019327c>] (kobj_attr_store+0x0/0x24) from > [<c00f7010>] (sysfs_write_file+0x110/0x144) [<c00f6f00>] > (sysfs_write_file+0x0/0x144) from [<c00ac7b4>] (vfs_write+0xb8/0x148) > [<c00ac6fc>] (vfs_write+0x0/0x148) from [<c00ac908>] (sys_write+0x44/0x70) > r7:00000004 r6:c78d3ae0 r5:00000000 r4:00000000 > [<c00ac8c4>] (sys_write+0x0/0x70) from [<c0029e20>] > (ret_fast_syscall+0x0/0x2c) r8:c0029fc8 r7:00000004 r6:401ab5e0 r5:000c3408 > r4:00000004 > ---[ end trace e339700732a37a4f ]--- > Successfully put all powerdomains to target state > Restarting tasks ... done. > > [1] > http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=summa >ry -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: PM branch rebased to 2.6.29 2009-03-26 16:54 ` Jean Pihet @ 2009-03-26 17:01 ` Kevin Hilman 0 siblings, 0 replies; 31+ messages in thread From: Kevin Hilman @ 2009-03-26 17:01 UTC (permalink / raw) To: Jean Pihet; +Cc: linux-omap Jean Pihet <jpihet@mvista.com> writes: > Hi, > > I am having a crash with the latest 2.6.29 pm branch with CPU_FREQ enabled. It > looks like clk_set_rate is called recursively, thus deadlocking on the mutex. > > Any idea why this worked fine on 2.6.29-rc8 pm? One of the differences is the new clock notifier patches, which may have changed the locking, but I haven't dug into this yet so I don't know if it's a bug in the clock locking or in CPUfreq locking. Kevin > Here is the dump excerpt: > ... > Disabling unused clock "sys_clkout1" > BUG: scheduling while atomic: swapper/1/0x00000002 > Modules linked in: > [<c0032f40>] (dump_stack+0x0/0x14) from [<c0055dcc>] > (__schedule_bug+0x54/0x60) > [<c0055d78>] (__schedule_bug+0x0/0x60) from [<c02e7be4>] (schedule+0x78/0x2bc) > r4:c781c000 > [<c02e7b6c>] (schedule+0x0/0x2bc) from [<c02e8b60>] > (__mutex_lock_slowpath+0x174/0x290) > [<c02e89ec>] (__mutex_lock_slowpath+0x0/0x290) from [<c02e8ca4>] > (mutex_lock+0x28/0x30) > [<c02e8c7c>] (mutex_lock+0x0/0x30) from [<c00413b4>] (clk_set_rate+0x2c/0xec) > r4:c03ced20 > [<c0041388>] (clk_set_rate+0x0/0xec) from [<c003fc94>] > (omap3_select_table_rate+0xd0/0x168) > r6:00000004 r5:c03fd474 r4:c03d426c > [<c003fbc4>] (omap3_select_table_rate+0x0/0x168) from [<c0038d3c>] > (omap2_clk_set_rate+0x20/0x24) > r6:60000013 r5:20c85580 r4:c03ce41c > [<c0038d1c>] (omap2_clk_set_rate+0x0/0x24) from [<c0041410>] > (clk_set_rate+0x88/0xec) > [<c0041388>] (clk_set_rate+0x0/0xec) from [<c0013518>] > (omap_cpu_init+0xc8/0x108) > r6:c03f4b20 r5:c03fddac r4:c7be9be0 > [<c0013450>] (omap_cpu_init+0x0/0x108) from [<c022c3a0>] > (cpufreq_add_dev+0x120/0x300) > r5:c7be9be0 r4:00000000 > [<c022c280>] (cpufreq_add_dev+0x0/0x300) from [<c01dc130>] > (sysdev_driver_register+0xb4/0x124) > r8:00000000 r7:00000000 r6:c03f4b20 r5:c03ef708 r4:c03fc95c > [<c01dc07c>] (sysdev_driver_register+0x0/0x124) from [<c022c214>] > (cpufreq_register_driver+0x98/0x104) > r6:00000000 r5:c041efac r4:c03d541c > [<c022c17c>] (cpufreq_register_driver+0x0/0x104) from [<c0013448>] > (omap_cpufreq_init+0x14/0x1c) > r5:c00266fc r4:c03fc080 > [<c0013434>] (omap_cpufreq_init+0x0/0x1c) from [<c002e2ac>] > (__exception_text_end+0x54/0x188) > [<c002e258>] (__exception_text_end+0x0/0x188) from [<c0008768>] > (kernel_init+0x74/0xdc) > [<c00086f4>] (kernel_init+0x0/0xdc) from [<c005d568>] (do_exit+0x0/0x6b8) > r5:00000000 r4:00000000 > > Regards, > Jean > > On Wednesday 18 March 2009 06:21:09 Kevin Hilman wrote: >> FYI... >> >> The PM branch has now been rebased to today's linux-omap HEAD which is >> based on v2.6.29-rc8. The previous PM branch has been renamed to >> pm-2.6.28. Depending on when you look, Tony's linux-omap tree may not >> (yet) have the latest PM branch. If not, you can use my PM tree[1] >> directly. Also, pm-2.6.28 will only be available on my tree. >> >> Tested on OMAP3 Beagle and RX51 and was able to hit RET and OFF in >> suspend and in PM idle with minimal kernel. No testing yet done for >> CPUidle or DVFS. Please test on your hardware and submit results to >> the list. Thanks. >> >> Kevin >> >> -- >> >> Misc. conflicts/issues resolved after rebase: >> >> - no longer safe to use getnstimeofday() in suspend path since timekeeping >> subsystem is also suspended in the suspend path. PM debug timing has >> been converted to use sched_clock() which is 32k sync-timer based. >> >> - Update board-rx51.c to use common OMAP3 OPPs >> >> Known issues: >> >> - Beagle: MMC: off-mode needs work in MMC driver, so if you hit off >> and have a rootfs on MMC, you're dead. >> >> - Beagle: MMC regulator: unbalanced disables. This happens on boot >> and during suspend/resume. I don't think this is related to the PM >> branch, but is probably in linux-omap HEAD also, but didn't test. >> >> Linux version 2.6.29-rc8-omap1-arm-omap3beagle-default-05653-gd803372-dirty >> (khilman@vence) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-66) ) #4 >> PREEMPT Tue Mar 17 21:38:09 PDT 2009 [...] >> i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz >> twl4030: PIH (irq 7) chaining IRQs 368..375 >> twl4030: power (irq 373) chaining IRQs 376..383 >> twl4030: gpio (irq 368) chaining IRQs 384..401 >> beagle_twl_gpio_setup:145 >> twl4030_mmc_init:303 >> twl4030_mmc_init:318 >> regulator: VMMC1: 1850 <--> 3150 mV normal standby >> regulator: VDAC: 1800 mV normal standby >> regulator: VUSB1V5: 1500 <--> 0 mV normal standby >> regulator: VUSB1V8: 1800 <--> 0 mV normal standby >> regulator: VUSB3V1: 3100 <--> 0 mV normal standby >> regulator: VSIM: 1800 <--> 3000 mV normal standby >> [...] >> mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock >> ------------[ cut here ]------------ >> WARNING: at >> /net/home/khilman/work/kernel/omap/pm/drivers/regulator/core.c:1216 >> regulator_disable+0x64/0x90() unbalanced disables for supply >> mmci-omap-hs.0-vmmc >> Modules linked in: >> [<c02a0830>] (dump_stack+0x0/0x14) from [<c0053af0>] >> (warn_slowpath+0x6c/0x88) [<c0053a84>] (warn_slowpath+0x0/0x88) from >> [<c01b8bdc>] (regulator_disable+0x64/0x90) r3:c79dc2a0 r2:c03390cb >> r7:c78e8c20 r6:c78aac38 r5:c78e8c20 r4:fffffffb >> [<c01b8b78>] (regulator_disable+0x0/0x90) from [<c0209400>] >> (mmc_regulator_set_ocr+0xb0/0xcc) r7:c78e8c20 r6:00000001 r5:00000000 >> r4:00000000 >> [<c0209350>] (mmc_regulator_set_ocr+0x0/0xcc) from [<c003abe8>] >> (twl_mmc1_set_power+0xc0/0xec) r7:c784f538 r6:00000000 r5:00000000 >> r4:c039185c >> [<c003ab28>] (twl_mmc1_set_power+0x0/0xec) from [<c0210aa8>] >> (omap_mmc_set_ios+0x54/0x2b0) r7:c784f538 r6:c784f5c0 r5:c784f400 >> r4:c7844380 >> [<c0210a54>] (omap_mmc_set_ios+0x0/0x2b0) from [<c0208dc8>] >> (mmc_power_off+0x54/0x58) r7:c784f400 r6:c7910400 r5:00000000 r4:c784f400 >> [<c0208d74>] (mmc_power_off+0x0/0x58) from [<c0209074>] >> (mmc_start_host+0x14/0x24) [<c0209060>] (mmc_start_host+0x0/0x24) from >> [<c020a2a0>] (mmc_add_host+0x58/0x64) r5:00000000 r4:c784f400 >> [<c020a248>] (mmc_add_host+0x0/0x64) from [<c001ec00>] >> (omap_mmc_probe+0x3d0/0x548) r5:c784f5c0 r4:00000000 >> [<c001e830>] (omap_mmc_probe+0x0/0x548) from [<c01dd554>] >> (platform_drv_probe+0x20/0x24) [<c01dd534>] (platform_drv_probe+0x0/0x24) >> from [<c01dc740>] (driver_probe_device+0xd4/0x180) [<c01dc66c>] >> (driver_probe_device+0x0/0x180) from [<c01dc854>] >> (__driver_attach+0x68/0x8c) r7:c789d140 r6:c038ada4 r5:c7910490 r4:c7910408 >> [<c01dc7ec>] (__driver_attach+0x0/0x8c) from [<c01dbf8c>] >> (bus_for_each_dev+0x4c/0x80) r7:c789d140 r6:c038ada4 r5:c01dc7ec >> r4:00000000 >> [<c01dbf40>] (bus_for_each_dev+0x0/0x80) from [<c01dc584>] >> (driver_attach+0x20/0x28) r6:c038ada4 r5:00000000 r4:00000000 >> [<c01dc564>] (driver_attach+0x0/0x28) from [<c01db868>] >> (bus_add_driver+0xa8/0x210) [<c01db7c0>] (bus_add_driver+0x0/0x210) from >> [<c01dca78>] (driver_register+0x98/0x120) r8:00000001 r7:c001e814 >> r6:c038ada4 r5:00000000 r4:c0024a44 >> [<c01dc9e0>] (driver_register+0x0/0x120) from [<c01dd9fc>] >> (platform_driver_register+0x6c/0x88) r9:00000000 r8:00000001 r7:c001e814 >> r6:00000000 r5:00000000 >> r4:c0024a44 >> [<c01dd990>] (platform_driver_register+0x0/0x88) from [<c001e828>] >> (omap_mmc_init+0x14/0x1c) [<c001e814>] (omap_mmc_init+0x0/0x1c) from >> [<c00292ec>] (do_one_initcall+0x5c/0x19c) [<c0029290>] >> (do_one_initcall+0x0/0x19c) from [<c0008404>] (kernel_init+0x84/0xf8) >> r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:c0024a44 >> [<c0008380>] (kernel_init+0x0/0xf8) from [<c0056ea0>] (do_exit+0x0/0x764) >> r4:00000000 >> ---[ end trace e339700732a37a4d ]--- >> [.../ >> (none):~# echo 1 > /sys/power/clocks_off_while_idle >> (none):~# echo mem > /sys/power/state >> PM: Syncing filesystems ... done. >> Freezing user space processes ... (elapsed 0.00 seconds) done. >> Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. >> Suspending console(s) (use no_console_suspend to debug) >> ------------[ cut here ]------------ >> WARNING: at >> /net/home/khilman/work/kernel/omap/pm/drivers/regulator/core.c:1216 >> regulator_disable+0x64/0x90() unbalanced disables for supply >> mmci-omap-hs.0-vmmc >> Modules linked in: >> [<c02a0830>] (dump_stack+0x0/0x14) from [<c0053af0>] >> (warn_slowpath+0x6c/0x88) [<c0053a84>] (warn_slowpath+0x0/0x88) from >> [<c01b8bdc>] (regulator_disable+0x64/0x90) r3:c79dc2a0 r2:c03390cb >> r7:c78e8c20 r6:c78aac38 r5:c78e8c20 r4:fffffffb >> [<c01b8b78>] (regulator_disable+0x0/0x90) from [<c0209400>] >> (mmc_regulator_set_ocr+0xb0/0xcc) r7:c78e8c20 r6:00000001 r5:00000000 >> r4:00000000 >> [<c0209350>] (mmc_regulator_set_ocr+0x0/0xcc) from [<c003abe8>] >> (twl_mmc1_set_power+0xc0/0xec) r7:c784f538 r6:00000000 r5:00000000 >> r4:c039185c >> [<c003ab28>] (twl_mmc1_set_power+0x0/0xec) from [<c0210aa8>] >> (omap_mmc_set_ios+0x54/0x2b0) r7:c784f538 r6:c784f5c0 r5:c784f400 >> r4:c7844380 >> [<c0210a54>] (omap_mmc_set_ios+0x0/0x2b0) from [<c0208dc8>] >> (mmc_power_off+0x54/0x58) r7:c7910490 r6:c7910400 r5:a0000013 r4:c784f400 >> [<c0208d74>] (mmc_power_off+0x0/0x58) from [<c02097e0>] >> (mmc_suspend_host+0x14c/0x154) [<c0209694>] (mmc_suspend_host+0x0/0x154) >> from [<c02107e0>] (omap_mmc_suspend+0x30/0xe0) r5:c0388a74 r4:c784f5c0 >> [<c02107b0>] (omap_mmc_suspend+0x0/0xe0) from [<c01dd5d4>] >> (platform_drv_suspend+0x20/0x24) r7:c7910490 r6:c79104b8 r5:c0388a74 >> r4:c0388ba4 >> [<c01dd5b4>] (platform_drv_suspend+0x0/0x24) from [<c01dd6c4>] >> (platform_pm_suspend+0x50/0x5c) [<c01dd674>] (platform_pm_suspend+0x0/0x5c) >> from [<c01df9ec>] (pm_op+0x38/0x7c) [<c01df9b4>] (pm_op+0x0/0x7c) from >> [<c01e0150>] (device_suspend+0x350/0x480) r5:c7910408 r4:c0388ba4 >> [<c01dfe00>] (device_suspend+0x0/0x480) from [<c007d4b8>] >> (suspend_devices_and_enter+0x44/0x1c4) [<c007d474>] >> (suspend_devices_and_enter+0x0/0x1c4) from [<c007d7a0>] >> (enter_state+0x134/0x1b8) r7:c02a5bf4 r6:00000003 r5:c031de6b r4:000072ab >> [<c007d66c>] (enter_state+0x0/0x1b8) from [<c007d8c0>] >> (state_store+0x9c/0xc4) r7:c02a5bf4 r6:00000003 r5:00000003 r4:c031de6b >> [<c007d824>] (state_store+0x0/0xc4) from [<c019329c>] >> (kobj_attr_store+0x20/0x24) [<c019327c>] (kobj_attr_store+0x0/0x24) from >> [<c00f7010>] (sysfs_write_file+0x110/0x144) [<c00f6f00>] >> (sysfs_write_file+0x0/0x144) from [<c00ac7b4>] (vfs_write+0xb8/0x148) >> [<c00ac6fc>] (vfs_write+0x0/0x148) from [<c00ac908>] (sys_write+0x44/0x70) >> r7:00000004 r6:c78d3ae0 r5:00000000 r4:00000000 >> [<c00ac8c4>] (sys_write+0x0/0x70) from [<c0029e20>] >> (ret_fast_syscall+0x0/0x2c) r8:c0029fc8 r7:00000004 r6:401ab5e0 r5:000c3408 >> r4:00000004 >> ---[ end trace e339700732a37a4f ]--- >> Successfully put all powerdomains to target state >> Restarting tasks ... done. >> >> [1] >> http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=summa >>ry -- >> To unsubscribe from this list: send the line "unsubscribe linux-omap" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 31+ messages in thread
end of thread, other threads:[~2009-04-01 4:11 UTC | newest] Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-03-18 5:21 PM branch rebased to 2.6.29 Kevin Hilman 2009-03-18 7:41 ` Artem Bityutskiy 2009-03-18 15:51 ` Kevin Hilman 2009-03-19 22:20 ` David Brownell 2009-03-20 18:59 ` Tony Lindgren 2009-03-20 19:46 ` David Brownell 2009-03-20 19:57 ` Tony Lindgren 2009-03-20 21:27 ` Tony Lindgren 2009-03-20 22:36 ` David Brownell 2009-03-24 17:10 ` Peter Barada 2009-03-24 18:08 ` Kevin Hilman 2009-03-24 20:11 ` Peter Barada 2009-03-24 20:21 ` Kevin Hilman 2009-03-24 20:37 ` Peter Barada 2009-03-27 20:50 ` Russ Dill 2009-03-30 10:08 ` Premi, Sanjeev 2009-03-30 10:42 ` Koen Kooi 2009-03-30 13:22 ` Premi, Sanjeev 2009-03-30 17:44 ` Russ Dill 2009-03-30 17:57 ` Kevin Hilman 2009-03-30 18:18 ` Peter Barada 2009-03-30 18:43 ` Kevin Hilman 2009-03-30 23:01 ` Russ Dill 2009-03-31 7:01 ` Russ Dill 2009-03-31 18:25 ` Kevin Hilman 2009-03-31 21:31 ` Russ Dill 2009-03-31 23:33 ` Kevin Hilman 2009-04-01 1:30 ` Russ Dill 2009-04-01 4:11 ` Kevin Hilman 2009-03-26 16:54 ` Jean Pihet 2009-03-26 17:01 ` Kevin Hilman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).