public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: Peter Tseng <tsenpet09@gmail.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: linux-omap-pm troubles on Gumstix Overo
Date: Thu, 08 Apr 2010 10:15:37 -0700	[thread overview]
Message-ID: <87bpdt6f2e.fsf@deeprootsystems.com> (raw)
In-Reply-To: <4BBD1F6A.6060005@gmail.com> (Peter Tseng's message of "Wed\, 07 Apr 2010 20\:12\:26 -0400")

Peter Tseng <tsenpet09@gmail.com> writes:

> On 04/07/2010 11:56 AM, Kevin Hilman wrote:
>> What's your commandline?
>
> Kernel command line: console=ttyS2,115200n8 mpurate=500 vram=12M
> omapfb.mode=dvi:1024x768MR-16@60 omapfb.debug=y omapdss.def_disp=dvi
> root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
>
> On 04/07/2010 06:01 PM, Kevin Hilman wrote:
>> OK, after some more digging, the Overo was hitting the same boot
>> problem I've been trying to track on Zoom3.  I have now fixed this and
>> the PM branch omap3_pm_defconfig should boot again for Overo and
>> Zoom3.
>> 
>> I've updated the PM branch now which includes a fix for a problem
>> introduced in in 2.6.34 due to early enabling of interrupts (see
>> details on LKML[1]).  Interstingly, this was seen on PM branch where I
>> use the SLUB allocator by default, and not on l-o master where the
>> SLAB allocator is still used by default.
>> 
>> Please pull a fresh PM branch and see if you get it booting on Overo.
>
> Thanks, Kevin! Yes, I just pulled the pm branch and the Overo is booting
> again. A few quirks to note:
>
> 1) As I hadn't grabbed the fixes for the OMAP4 compilation problems, I
> had to uncheck OMAP4 in the System Types as before.

OK, alternatively, you could also use the CSL compiler 2009q1 or older.

> 2) Since I was booting off an SD card, I had to go to Device
> Drivers-->MMC/SD/SDIO Card and have the following be built in (rather
> than be a module)
>  - MMC block device driver
>  - SDHC Interface support
>  - TI OMAP High Speed Multimedia Card interface support

By default it should be enabled already (at least in
omap3_pm_defconfig) but be sure you have CONFIG_MMC_UNSAFE_RESUME=y
when you have a rootfs on MMC.

> 3) I have a few error messages with the framebuffer as the kernel is
> booting up. It does still work, however. See [1] below.
> 4) Suspend to memory (echo mem > /sys/power/state) works now, but when I
> wake up the board (via a keypress), I am no longer able to type anything
> at the prompt. Any clue about this one?

Indeed, I was able to reproduce this as well and seems to be a new
regression in the PM branch.  I see the same on omap3evm and n900 now
too.

If you enable the UART timeouts + sleep_while_idle, you should avoid
this problem while I try and figure out what's going on:

echo 5 > /sys/devices/platform/serial8250.0/sleep_timeout 
echo 5 > /sys/devices/platform/serial8250.1/sleep_timeout 
echo 5 > /sys/devices/platform/serial8250.2/sleep_timeout 
echo 1 > /debug/pm_debug/sleep_while_idle  

Kevin

> Peter
>
> [1]
> open /dev/fb0: No such file or directory
> open /dev/fb0: No such file or directory
> expr: syntax error
> Linux Frame Buffer Device Configuration Version 2.1 (23/06/1999)
> (C) Copyright 1995-1999 by Geert Uytterhoeven
>
>
> Usage: fbset [options] [mode]
>
> Valid options:
> (Insert very long options list here)
>
> Starting PVR
> 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 director

  reply	other threads:[~2010-04-08 17:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07  3:12 linux-omap-pm troubles on Gumstix Overo Peter Tseng
2010-04-07 15:56 ` Kevin Hilman
2010-04-07 16:04   ` Kevin Hilman
2010-04-07 22:01   ` Kevin Hilman
2010-04-08  0:12     ` Peter Tseng
2010-04-08 17:15       ` Kevin Hilman [this message]
2010-04-08 19:11         ` 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=87bpdt6f2e.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=tsenpet09@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox