* Problems booting recent kernels on AM3517
@ 2011-12-19 0:10 Ilya Yanok
2011-12-20 0:00 ` [PATCH] OMAP3: don't init PM on AM35{05,17} Ilya Yanok
0 siblings, 1 reply; 4+ messages in thread
From: Ilya Yanok @ 2011-12-19 0:10 UTC (permalink / raw)
To: linux-omap
Hi All,
I've just rebased my patches on the top of current linux-omap tree and
found my AM3517 unbootable: omap3_pm_idle is called and then the system
hangs.
I can see some patches to support pm_idle on AM3517 so I assume that the
current code can't work on my systems properly.
What is the right way to make my systems boot again?
(I've tried to disable PM_RUNTIME but that results in crash somewhere
inside DSS driver.)
Regards, Ilya.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] OMAP3: don't init PM on AM35{05,17}
2011-12-19 0:10 Problems booting recent kernels on AM3517 Ilya Yanok
@ 2011-12-20 0:00 ` Ilya Yanok
2012-01-03 23:37 ` Kevin Hilman
0 siblings, 1 reply; 4+ messages in thread
From: Ilya Yanok @ 2011-12-20 0:00 UTC (permalink / raw)
To: linux-omap; +Cc: Ilya Yanok
Current OMAP3 PM code seems to be incompatible with AM35{05,17} and
leads to system hang during boot.
Disable PM init on AM35{05,17} until working implementation will be
merged.
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
---
This patch solves the problem for me but I'm curious why simple
CONFIG_PM disabling doesn't work? I'm getting
Unhandled fault: external abort on non-linefetch
while trying to access absolutely valid register from omapdss/venc
driver. I've tried to disable VENC but then I got the same error
from omap_wdt driver. Is it supposed to be so? Are !CONFIG_PM
configurations supported? How comes that disabling CONFIG_PM
makes some registers inaccessible?
Regards, Ilya.
arch/arm/mach-omap2/pm34xx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index fc69875..0f30742 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -790,7 +790,7 @@ static int __init omap3_pm_init(void)
struct clockdomain *neon_clkdm, *per_clkdm, *mpu_clkdm, *core_clkdm;
int ret;
- if (!cpu_is_omap34xx())
+ if (!cpu_is_omap34xx() || cpu_is_omap3505() || cpu_is_omap3517())
return -ENODEV;
if (!omap3_has_io_chain_ctrl())
--
1.7.6.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] OMAP3: don't init PM on AM35{05,17}
2011-12-20 0:00 ` [PATCH] OMAP3: don't init PM on AM35{05,17} Ilya Yanok
@ 2012-01-03 23:37 ` Kevin Hilman
2012-01-11 19:36 ` Ilya Yanok
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Hilman @ 2012-01-03 23:37 UTC (permalink / raw)
To: Ilya Yanok; +Cc: linux-omap
Ilya Yanok <yanok@emcraft.com> writes:
> Current OMAP3 PM code seems to be incompatible with AM35{05,17} and
> leads to system hang during boot.
> Disable PM init on AM35{05,17} until working implementation will be
> merged.
Were you able to find out where exactly things got hung up?
We're trying hard to avoid adding more cpu_is_* checks so would like to
better understand the problem before merging such a fix.
Thanks,
Kevin
> Signed-off-by: Ilya Yanok <yanok@emcraft.com>
> ---
> This patch solves the problem for me but I'm curious why simple
> CONFIG_PM disabling doesn't work? I'm getting
> Unhandled fault: external abort on non-linefetch
> while trying to access absolutely valid register from omapdss/venc
> driver. I've tried to disable VENC but then I got the same error
> from omap_wdt driver. Is it supposed to be so? Are !CONFIG_PM
> configurations supported? How comes that disabling CONFIG_PM
> makes some registers inaccessible?
>
> Regards, Ilya.
>
> arch/arm/mach-omap2/pm34xx.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
> index fc69875..0f30742 100644
> --- a/arch/arm/mach-omap2/pm34xx.c
> +++ b/arch/arm/mach-omap2/pm34xx.c
> @@ -790,7 +790,7 @@ static int __init omap3_pm_init(void)
> struct clockdomain *neon_clkdm, *per_clkdm, *mpu_clkdm, *core_clkdm;
> int ret;
>
> - if (!cpu_is_omap34xx())
> + if (!cpu_is_omap34xx() || cpu_is_omap3505() || cpu_is_omap3517())
> return -ENODEV;
>
> if (!omap3_has_io_chain_ctrl())
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] OMAP3: don't init PM on AM35{05,17}
2012-01-03 23:37 ` Kevin Hilman
@ 2012-01-11 19:36 ` Ilya Yanok
0 siblings, 0 replies; 4+ messages in thread
From: Ilya Yanok @ 2012-01-11 19:36 UTC (permalink / raw)
To: Kevin Hilman; +Cc: linux-omap
Hi Kevin,
On 04.01.2012 03:37, Kevin Hilman wrote:
>> Current OMAP3 PM code seems to be incompatible with AM35{05,17} and
>> leads to system hang during boot.
>> Disable PM init on AM35{05,17} until working implementation will be
>> merged.
>
> Were you able to find out where exactly things got hung up?
Well, actually there were two manifestations of this problem:
1. Output on the serial console is slow. I'm working with the board
remotely so it really looked like slow internet connection but I've
verified it and found that the problem is certainly on the board side. I
can't say if it's the whole system running so slow or only serial
console cause I haven't managed to boot it.
2. At some point cpu_idle() is called, execution goes to SRAM and never
comes back...
Regards, Ilya.
> We're trying hard to avoid adding more cpu_is_* checks so would like to
> better understand the problem before merging such a fix.
>
> Thanks,
>
> Kevin
>
>> Signed-off-by: Ilya Yanok <yanok@emcraft.com>
>> ---
>> This patch solves the problem for me but I'm curious why simple
>> CONFIG_PM disabling doesn't work? I'm getting
>> Unhandled fault: external abort on non-linefetch
>> while trying to access absolutely valid register from omapdss/venc
>> driver. I've tried to disable VENC but then I got the same error
>> from omap_wdt driver. Is it supposed to be so? Are !CONFIG_PM
>> configurations supported? How comes that disabling CONFIG_PM
>> makes some registers inaccessible?
>>
>> Regards, Ilya.
>>
>> arch/arm/mach-omap2/pm34xx.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
>> index fc69875..0f30742 100644
>> --- a/arch/arm/mach-omap2/pm34xx.c
>> +++ b/arch/arm/mach-omap2/pm34xx.c
>> @@ -790,7 +790,7 @@ static int __init omap3_pm_init(void)
>> struct clockdomain *neon_clkdm, *per_clkdm, *mpu_clkdm, *core_clkdm;
>> int ret;
>>
>> - if (!cpu_is_omap34xx())
>> + if (!cpu_is_omap34xx() || cpu_is_omap3505() || cpu_is_omap3517())
>> return -ENODEV;
>>
>> if (!omap3_has_io_chain_ctrl())
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-11 19:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19 0:10 Problems booting recent kernels on AM3517 Ilya Yanok
2011-12-20 0:00 ` [PATCH] OMAP3: don't init PM on AM35{05,17} Ilya Yanok
2012-01-03 23:37 ` Kevin Hilman
2012-01-11 19:36 ` Ilya Yanok
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).