From: Roger Quadros <ext-roger.quadros@nokia.com>
To: ext Peter Barada <peterb@logicpd.com>
Cc: linux-omap <linux-omap@vger.kernel.org>
Subject: Re: OMAP PM question
Date: Fri, 24 Jul 2009 10:19:35 +0300 [thread overview]
Message-ID: <4A696087.2010203@nokia.com> (raw)
In-Reply-To: <1248373377.891.17.camel@blitz>
ext Peter Barada wrote:
> Kevin,
>
> I'm trying to port over the 2.6.30 OMAP PM branch on Logic's SOM, pulled
> from just a few days ago before the rebase to 2.6.31-rc1:
> http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=commit;h=e0cffc298098263630b83c458b8fce754badb9a3
>
> Unfortunately It doesn't go into retention due to MPU_CLK being defined
> as "virt_pcrm_set" where no virt_pcrm_set exists for OMAP3. Once I
> changed MPU_CLK to "arm_fck" for OMAP3 as suggested by Rajendra in
> http://patchwork.kernel.org/patch/18626/ the board goes into
> retention, but it won't resume on a serial RX event. I wonder if
> Rajendra's change is correct.
>
> 1) Which config did you use on the PM tree in the 2.6.30 timeframe so
> can start over from a known config/board description (that goes into
> retention and comes back out) instead of what I rolled from the rx51 for
> Logic's OMAP35x SOM. Looking in arch/arm/configs, the only omap3 config
> that has CONFIG_PM=y is for the evm. Is this the one?
>
> 2) Is there anything special necessary to have a serial RX event force a
> wakeup?
>
> 3) Do you have a wake-on-timer patch that works in this tree?
>
> 4) I've noticed the board hangs after a while of inactivity on the
> serial power - I've tried cranking up the DEFAULT_TIMEOUT in
> arch/arm/mach-omap2/serial.c to (50 * HZ), and then disabling the
> timeout by "echo 0 > /sys/devices/platform/serial/8250.0/sleep_timeout",
> but the hang still happens after a period of inactivity - characters
> typed at ttyS0 don't get echoed back. How do I enable wake on serial,
> or is it on by default?
>
Hi Peter,
I was facing similar problems with RX51 boards. The following procedure resolved
my problems.
1) use 2008q3 compiler (should work with 2009q1 also I guess, but I've not
tested it)
2) Reset your tree to Kevin's PM branch. This should incorporate the latest fix
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=7e7377395d6b4576341a6939bf2179f3946f2ea0
3) use omap3_pm_defconfig, Then change the CONFIG_OMAP_LL_DEBUG_UART to suit
your board's serial UART (1, 2 or 3) and also the CMDLINE to suit your board.
cheers,
-roger
prev parent reply other threads:[~2009-07-24 7:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-23 18:22 OMAP PM question Peter Barada
2009-07-24 7:19 ` Roger Quadros [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A696087.2010203@nokia.com \
--to=ext-roger.quadros@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=peterb@logicpd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.