Re: [PATCH 0/1] Do a warm reboot instead of a cold reboot

2009-02-03 Thread Högander Jouni
De-Schrijver Peter (Nokia-D/Helsinki) peter.de-schrij...@nokia.com
writes:

 This patch makes arch_reset do a warm reboot instead of a cold reboot. This
 is necessary because otherwise the system does not reboot reliably when 
 disabling
 CLKEN in retention.

 Note : Unfortuately this breaks retention :( IVA2, PER and CORE don't go to
retention after reboot.

I'm not sure if fixing the problem this way makes sense
currently. This will mean that after reboot OMAP modules are not
reset. This will cause excactly this kind of problems. If we had that
code for reset all the modules on boot, situation might be different.

How about resetting also twl4030 in case of reboot. E.g. remove all
the scripts from the twl4030?


 Peter 'p2' De Schrijver (1):
   Do a soft reboot instead of a cold boot

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

 --
 To unsubscribe from this list: send the line unsubscribe linux-omap in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Jouni Högander

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/1] Do a warm reboot instead of a cold reboot

2009-02-03 Thread Peter 'p2' De Schrijver
Hi Jouni,

 De-Schrijver Peter (Nokia-D/Helsinki) peter.de-schrij...@nokia.com
 writes:
 
  This patch makes arch_reset do a warm reboot instead of a cold reboot. This
  is necessary because otherwise the system does not reboot reliably when 
  disabling
  CLKEN in retention.
 
  Note : Unfortuately this breaks retention :( IVA2, PER and CORE don't go to
 retention after reboot.
 
 I'm not sure if fixing the problem this way makes sense
 currently. This will mean that after reboot OMAP modules are not
 reset. This will cause excactly this kind of problems. If we had that
 code for reset all the modules on boot, situation might be different.
 
 How about resetting also twl4030 in case of reboot. E.g. remove all
 the scripts from the twl4030?
 

Even then we should be using warm reboot. The fact cold reboot works has
been more luck then anything else. How hard is it to fix the module
reset on boot ? And what does a OMAP watchdog reboot do ?

Cheers,

Peter.

-- 
goa is a state of mind
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html