Re: OMAP34xx

Paul Walmsley
2012-02-09T20:44:32Z

On Thu, 9 Feb 2012, Tony Lindgren wrote:

> * Tony Lindgren <tony@atomide.com> [120209 10:05]:
> >
> > This fixes the various build and boot issues with custom .configs
> > that don't select CONFIG_MACH_OMAP_GENERIC. It should fix slow serial
> > console issues. And it fixes booting with DT to minimal enviroment.
>
> Looks like the serial console is still insanely slow on 2420 both
> for dmesg.
>
> On 2430, 3430, 3630 and 4430 it seems the problem with slow
> console is now fixed.
>
> So at least one more patch is needed for the 2420 PM/serial regression.

Yeah, that one is PM related. If mach-omap2/pm24xx.c is hacked to only
enter MPU retention, rather than full chip retention, it works (quick hack
below). I suspect it is due to the lack of wakeup support in OMAP2 PM,
but of course it could be something else.

- Paul

>From 98796ac6423302fdb56afa8a0a262fb09e27a1f6 Mon Sep 17 00:00:00 2001
From: Paul Walmsley <paul@pwsan.com>
Date: Thu, 9 Feb 2012 13:07:49 -0700
Subject: [PATCH] fix 2420 serial

---
arch/arm/mach-omap2/pm24xx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c
index b8822f8..1f959e3 100644
--- a/arch/arm/mach-omap2/pm24xx.c
+++ b/arch/arm/mach-omap2/pm24xx.c
@@ -245,7 +245,7 @@ static void omap2_pm_idle(void)
if (omap_irq_pending())
goto out;

- omap2_enter_full_retention();
+ omap2_enter_mpu_retention();

out:
local_fiq_enable();
--
1.7.9