public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] U-boot hangs at command prompt if unattended for sometime (30 seconds)
@ 2010-10-05  3:11 StephenPaulraj
  2010-10-05  8:20 ` Marek Vasut
  0 siblings, 1 reply; 5+ messages in thread
From: StephenPaulraj @ 2010-10-05  3:11 UTC (permalink / raw)
  To: u-boot

Hi Marek,

I have modified the Voipac PXA270 u-boot source code for my customized board. Everything is working fine except suspend/resume.
When in u-boot prompt, if unattended for some time (30 seconds), the u-boot hangs.
The u-boot is not taking any input from the keyboard, the only way to resume the u-boot is through controller reset.

Which part of the u-boot source code I should concentrate/modify to come of this issue?

Thanks and Regards
Stephen Paulraj C



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] U-boot hangs at command prompt if unattended for sometime (30 seconds)
  2010-10-05  3:11 [U-Boot] U-boot hangs at command prompt if unattended for sometime (30 seconds) StephenPaulraj
@ 2010-10-05  8:20 ` Marek Vasut
  2010-10-12 16:12   ` StephenPaulraj
  2010-10-12 16:22   ` StephenPaulraj
  0 siblings, 2 replies; 5+ messages in thread
From: Marek Vasut @ 2010-10-05  8:20 UTC (permalink / raw)
  To: u-boot

Dne ?t 5. ??jna 2010 05:11:45 StephenPaulraj Chinnadurai-ERS,HCLTech napsal(a):
> Hi Marek,
> 
> I have modified the Voipac PXA270 u-boot source code for my customized
> board. Everything is working fine except suspend/resume. When in u-boot
> prompt, if unattended for some time (30 seconds), the u-boot hangs. The
> u-boot is not taking any input from the keyboard, the only way to resume
> the u-boot is through controller reset.

Does the CPU hang? or does it end in some other than svc mode ? or what ?
> 
> Which part of the u-boot source code I should concentrate/modify to come of
> this issue?

Hardware ...
> 
> Thanks and Regards
> Stephen Paulraj C
> 
> 
> 
> DISCLAIMER:
> ---------------------------------------------------------------------------
> --------------------------------------------
> 
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. It shall not attach any
> liability on the originator or HCL or its affiliates. Any views or
> opinions presented in this email are solely those of the author and may
> not necessarily reflect the opinions of HCL or its affiliates. Any form of
> reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior
> written consent of the author of this e-mail is strictly prohibited. If
> you have received this email in error please delete it and notify the
> sender immediately. Before opening any mail and attachments please check
> them for viruses and defect.
> 
> ---------------------------------------------------------------------------
> --------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] U-boot hangs at command prompt if unattended for sometime (30 seconds)
  2010-10-05  8:20 ` Marek Vasut
@ 2010-10-12 16:12   ` StephenPaulraj
  2010-10-12 16:22   ` StephenPaulraj
  1 sibling, 0 replies; 5+ messages in thread
From: StephenPaulraj @ 2010-10-12 16:12 UTC (permalink / raw)
  To: u-boot

----Original Message-----
From: Marek Vasut [mailto:marek.vasut at gmail.com] 
Sent: Tuesday, October 05, 2010 1:50 PM
To: StephenPaulraj Chinnadurai-ERS,HCLTech
Cc: u-boot at lists.denx.de
Subject: Re: U-boot hangs at command prompt if unattended for sometime (30 seconds)

Dne ?t 5. ??jna 2010 05:11:45 StephenPaulraj Chinnadurai-ERS,HCLTech napsal(a):
> Hi Marek,
> 
> I have modified the Voipac PXA270 u-boot source code for my customized
> board. Everything is working fine except suspend/resume. When in u-boot
> prompt, if unattended for some time (30 seconds), the u-boot hangs. The
> u-boot is not taking any input from the keyboard, the only way to resume
> the u-boot is through controller reset.

Does the CPU hang? or does it end in some other than svc mode ? or what ?
U-boot didn't display the exception, fiq or irq messages. I think the controller goes into sleep mode.
> 
> Which part of the u-boot source code I should concentrate/modify to come of
> this issue?

Hardware ...
The PXA270 controller is connected to the TPS65021 power management IC. Is there any possibility the TPS65021 IC will place the PXA270 in sleep mode.

But I wonder, when I engage the u-boot by:
1. downloading 50MB files through tftp 
2. copying the 50MB files from SDRAM to Flash

which take more than 5 minutes the u-boot is not going to sleep but only when kept idle for 30 seconds it is going to sleep.

Is it going to sleep mode or it is some other problem? How to debug it ?

> 
> Thanks and Regards
> Stephen Paulraj C
> 
> 
> 
> DISCLAIMER:
> ---------------------------------------------------------------------------
> --------------------------------------------
> 
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. It shall not attach any
> liability on the originator or HCL or its affiliates. Any views or
> opinions presented in this email are solely those of the author and may
> not necessarily reflect the opinions of HCL or its affiliates. Any form of
> reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior
> written consent of the author of this e-mail is strictly prohibited. If
> you have received this email in error please delete it and notify the
> sender immediately. Before opening any mail and attachments please check
> them for viruses and defect.
> 
> ---------------------------------------------------------------------------
> --------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] U-boot hangs at command prompt if unattended for sometime (30 seconds)
  2010-10-05  8:20 ` Marek Vasut
  2010-10-12 16:12   ` StephenPaulraj
@ 2010-10-12 16:22   ` StephenPaulraj
  2010-10-12 17:35     ` Wolfgang Denk
  1 sibling, 1 reply; 5+ messages in thread
From: StephenPaulraj @ 2010-10-12 16:22 UTC (permalink / raw)
  To: u-boot

Ignore my previous mail because prefix is not proper.

> -----Original Message-----
> From: Marek Vasut [mailto:marek.vasut at gmail.com]
> Sent: Tuesday, October 05, 2010 1:50 PM
> To: StephenPaulraj Chinnadurai-ERS,HCLTech
> Cc: u-boot at lists.denx.de
> Subject: Re: U-boot hangs at command prompt if unattended for sometime (30
> seconds)
> 
> Dne ?t 5. ??jna 2010 05:11:45 StephenPaulraj Chinnadurai-ERS,HCLTech
> napsal(a):
> > Hi Marek,
> >
> > I have modified the Voipac PXA270 u-boot source code for my customized
> > board. Everything is working fine except suspend/resume. When in u-boot
> > prompt, if unattended for some time (30 seconds), the u-boot hangs. The
> > u-boot is not taking any input from the keyboard, the only way to resume
> > the u-boot is through controller reset.
> 
> Does the CPU hang? or does it end in some other than svc mode ? or what ?


U-boot didn't display the exception, fiq or irq messages. I think the controller goes into sleep mode.

> >
> > Which part of the u-boot source code I should concentrate/modify to come
> of
> > this issue?
> 
> Hardware ...

The PXA270 controller is connected to the TPS65021 power management IC. Is there any possibility the TPS65021 IC will place the PXA270 in sleep mode.

But I wonder, when I engage the u-boot by:
1. downloading 50MB files through tftp
2. copying the 50MB files from SDRAM to Flash

which take more than 5 minutes the u-boot is not going to sleep but only when kept idle for 30 seconds it is going to sleep.

Is it going to sleep mode or it is some other problem? How to debug it?

> >
> > Thanks and Regards
> > Stephen Paulraj C
> >
> >
> >
> > DISCLAIMER:
> > ------------------------------------------------------------------------
> ---
> > --------------------------------------------
> >
> > The contents of this e-mail and any attachment(s) are confidential and
> > intended for the named recipient(s) only. It shall not attach any
> > liability on the originator or HCL or its affiliates. Any views or
> > opinions presented in this email are solely those of the author and may
> > not necessarily reflect the opinions of HCL or its affiliates. Any form
> of
> > reproduction, dissemination, copying, disclosure, modification,
> > distribution and / or publication of this message without the prior
> > written consent of the author of this e-mail is strictly prohibited. If
> > you have received this email in error please delete it and notify the
> > sender immediately. Before opening any mail and attachments please check
> > them for viruses and defect.
> >
> > ------------------------------------------------------------------------
> ---
> > --------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] U-boot hangs at command prompt if unattended for sometime (30 seconds)
  2010-10-12 16:22   ` StephenPaulraj
@ 2010-10-12 17:35     ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2010-10-12 17:35 UTC (permalink / raw)
  To: u-boot

Dear "StephenPaulraj Chinnadurai-ERS,HCLTech",

In message <EC921D4B77C99B4EB3CEDAFFCF17D5F7420F3E46D2@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN> you wrote:
>
> The PXA270 controller is connected to the TPS65021 power management IC. Is
> there any possibility the TPS65021 IC will place the PXA270 in sleep mode.

Well, you probably know your hardware design much better than we. How
should we know how your unknown (to us) hardware running unknown (to
us) code might (mis-) behave?

> Is it going to sleep mode or it is some other problem? How to debug it?

Submit your patches for inclusion into mainline; the peer review that
then takes place usually discovers some problems you might be
missing...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What can it profit a man to gain the whole world and to come  to  his
property with a gastric ulcer, a blown prostate, and bifocals?
                                     -- John Steinbeck, _Cannery Row_

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-12 17:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-05  3:11 [U-Boot] U-boot hangs at command prompt if unattended for sometime (30 seconds) StephenPaulraj
2010-10-05  8:20 ` Marek Vasut
2010-10-12 16:12   ` StephenPaulraj
2010-10-12 16:22   ` StephenPaulraj
2010-10-12 17:35     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox