public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Roger Quadros <ext-roger.quadros@nokia.com>
To: Roger Quadros <ext-roger.quadros@nokia.com>
Cc: ext Kevin Hilman <khilman@deeprootsystems.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: PM: off mode
Date: Mon, 20 Jul 2009 14:12:53 +0300	[thread overview]
Message-ID: <4A645135.6090907@nokia.com> (raw)
In-Reply-To: <4A5F0AEC.7030205@nokia.com>

Roger Quadros wrote:
> ext Roger Quadros wrote:
>> ext Kevin Hilman wrote:
>>> Roger Quadros <ext-roger.quadros@nokia.com> writes:
>>>
>>>> ext Roger Quadros wrote:
>>>>> ext Kevin Hilman wrote:
>>>>>> Roger Quadros <ext-roger.quadros@nokia.com> writes:
>>>>>>
>>>>>>> Hi Kevin,
>>>>>>>
>>>>>>>  Off mode does not seem to work on RX51 on latest PM branch. I get a
>>>>>>> reboot if I set enable_off_mode and sleep_while_idle and I wait for
>>>>>>> timeout.
>>>>>>>
>>>>>>>  Does it work on other platforms?
>>>>>>>
>>>>>> Yes, I tested on SDP, omap3evm, Beagle, Overo and RX51.
>>>>>>
>>>>>> On RX51, I'm using omap3_pm_defconfig with the debug UART changed to
>>>>>> UART3 and things work fine here.
>>>>>>
>>>>>> I using rootfs from latest fiasco image, and it drops me into an 
>>>>>> early
>>>>>> shell because /sbin/preinit fails in various ways. Note that I'm 
>>>>>> using
>>>>>> an S2.0 GP board.  Note also that I modified /sbin/preinit to launch
>>>>>> another getty on ttyS2 so I get a shell since newer kernels ignore 
>>>>>> the
>>>>>> ATAGs passed by nolo.
>>>>>>
>>>>>> Below is a console log of my boot so you can see what is going on.
>>>>>> Because /sbin/preinit enables off-mode and sleep_while_idle, I just
>>>>>> let it boot and it seems to work.
>>>>>>
>>>>>> Kevin
>>>>>>
>>>>> I am having S2.1 board and it does not work on that. It gets locked
>>>>> up and restarts after idle timeout.
>>>>> But I checked that it works on S2.0 board.
>>>>>
>>>>> Any clue what could be the problem?
>>>>>
>>>>> -roger
>>>>> -- 
>>>>> 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
>>>>>
>>>> Kevin,
>>>>
>>>> I have some new observations.
>>>>
>>>> It works only if we load the kernel via USB. Instead, if we flash the
>>>> kernel, it will not work even with S2.0 board. It boots to shell but
>>>> after sleep timeout (5 seconds) console gets locked up and it reboots
>>>> after a while.
>>>
>>> Roger,
>>>
>>> Does this happen even with the working defconfig you sent the other day?
>>>
>>> Kevin
>>
>> The config that i sent does not work with S2.0 hardware in either case.
>> It works with S2.1 hardware only in one case i.e. kernel load via USB. 
>> It does not work if kernel is flashed.
>> Also when my config is used on S2.1, core always remains in ON mode 
>> and never hits RET/OFF mode.
>>
>> -roger
> 
> Kevin,
> 
> I just found out that it has nothing to do with kernel load via USB or 
> not. I was using an initrd while USB load which used to change vdd1 OPP, 
> that's why it was working.
> 
> So the final conclusion is, after boot to shell, if we change VDD1 OPP, 
> then off mode works fine on my S2.0 HS board.
>     e.g.
>         echo 1 > /sys/power/vdd1_opp
>         echo 1 > /sys/power/sleep_while_idle
>         echo 1 > /sys/power/enable_off_mode
> 
> It works on S2.1 board too except that garbage characters are printed on 
> console after idle timeout.
> 
> Does this give any more clue to the problem?
> 
> -roger
> 

Hi Kevin,

What compiler version do you use?

>> -- 
>> 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
>>
> 
> 


  reply	other threads:[~2009-07-20 11:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 12:01 PM: off mode Roger Quadros
2009-07-14 13:00 ` Roger Quadros
2009-07-14 16:58 ` Kevin Hilman
     [not found]   ` <988A3DF4-EE3C-4563-8748-B696795D5615@mac.com>
2009-07-14 17:28     ` Stable PM release for Overo Kevin Hilman
2009-07-15  9:13   ` PM: off mode Roger Quadros
2009-07-15 13:02     ` Roger Quadros
2009-07-15 13:31       ` Kevin Hilman
2009-07-15 13:53         ` Roger Quadros
2009-07-16 11:11           ` Roger Quadros
2009-07-20 11:12             ` Roger Quadros [this message]
2009-07-20 14:10               ` Kevin Hilman

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=4A645135.6090907@nokia.com \
    --to=ext-roger.quadros@nokia.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox