linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* T1040QDS warm reboot
@ 2014-08-08  6:05 Vineeth
  2014-08-08  7:05 ` Priyanka Jain
  2014-08-08 18:15 ` Scott Wood
  0 siblings, 2 replies; 4+ messages in thread
From: Vineeth @ 2014-08-08  6:05 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

Was wondering how "reboot" works from linux kernel for t1040qds.

When checked, @arch/powerpc/sysdev/fsl_soc.c
__setup_rstcr, an ioremap is done for the offset 0xb0 and writes 0x2 to
that to reboot the machine. and it works properly.

when checked the reference manual for T1040QDS, it was given that RST_CTL
is at offset 0x40 and the RST is the 7th bit of same.

then how's has-rstcr/reboot works ?

Vineeth

[-- Attachment #2: Type: text/html, Size: 573 bytes --]

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

* RE: T1040QDS warm reboot
  2014-08-08  6:05 T1040QDS warm reboot Vineeth
@ 2014-08-08  7:05 ` Priyanka Jain
  2014-08-08  7:22   ` Vineeth
  2014-08-08 18:15 ` Scott Wood
  1 sibling, 1 reply; 4+ messages in thread
From: Priyanka Jain @ 2014-08-08  7:05 UTC (permalink / raw)
  To: Vineeth, linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

Thanks Vineeth for pointing this.

We will check this on T1040QDS and get back.


Regards
Priyanka

From: Linuxppc-dev [mailto:linuxppc-dev-bounces+priyanka.jain=freescale.com@lists.ozlabs.org] On Behalf Of Vineeth
Sent: Friday, August 08, 2014 11:35 AM
To: linuxppc-dev@lists.ozlabs.org
Subject: T1040QDS warm reboot

Was wondering how "reboot" works from linux kernel for t1040qds.
When checked, @arch/powerpc/sysdev/fsl_soc.c
__setup_rstcr, an ioremap is done for the offset 0xb0 and writes 0x2 to that to reboot the machine. and it works properly.
when checked the reference manual for T1040QDS, it was given that RST_CTL is at offset 0x40 and the RST is the 7th bit of same.
then how's has-rstcr/reboot works ?
Vineeth



[-- Attachment #2: Type: text/html, Size: 4395 bytes --]

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

* Re: T1040QDS warm reboot
  2014-08-08  7:05 ` Priyanka Jain
@ 2014-08-08  7:22   ` Vineeth
  0 siblings, 0 replies; 4+ messages in thread
From: Vineeth @ 2014-08-08  7:22 UTC (permalink / raw)
  To: Priyanka Jain; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]

Again, warm-reboot WORKS. there's no issue with that.
My ONLY concern is i am not able to understand how it works; the ref.manual
information and the code doesnt match.

Vineeth


On Fri, Aug 8, 2014 at 12:35 PM, Priyanka Jain <Priyanka.Jain@freescale.com>
wrote:

>  Thanks Vineeth for pointing this.
>
>
>
> We will check this on T1040QDS and get back.
>
>
>
>
>
> Regards
>
> Priyanka
>
>
>
> *From:* Linuxppc-dev [mailto:linuxppc-dev-bounces+priyanka.jain=
> freescale.com@lists.ozlabs.org] *On Behalf Of *Vineeth
> *Sent:* Friday, August 08, 2014 11:35 AM
> *To:* linuxppc-dev@lists.ozlabs.org
> *Subject:* T1040QDS warm reboot
>
>
>
> Was wondering how "reboot" works from linux kernel for t1040qds.
>
> When checked, @arch/powerpc/sysdev/fsl_soc.c
>
> __setup_rstcr, an ioremap is done for the offset 0xb0 and writes 0x2 to
> that to reboot the machine. and it works properly.
>
> when checked the reference manual for T1040QDS, it was given that RST_CTL
> is at offset 0x40 and the RST is the 7th bit of same.
>
> then how's has-rstcr/reboot works ?
>
> Vineeth
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 3742 bytes --]

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

* Re: T1040QDS warm reboot
  2014-08-08  6:05 T1040QDS warm reboot Vineeth
  2014-08-08  7:05 ` Priyanka Jain
@ 2014-08-08 18:15 ` Scott Wood
  1 sibling, 0 replies; 4+ messages in thread
From: Scott Wood @ 2014-08-08 18:15 UTC (permalink / raw)
  To: Vineeth; +Cc: linuxppc-dev

On Fri, 2014-08-08 at 11:35 +0530, Vineeth wrote:
> Was wondering how "reboot" works from linux kernel for t1040qds.
> 
> 
> When checked, @arch/powerpc/sysdev/fsl_soc.c 
> 
> __setup_rstcr, an ioremap is done for the offset 0xb0 and writes 0x2
> to that to reboot the machine. and it works properly.
> 
> 
> when checked the reference manual for T1040QDS, it was given that
> RST_CTL is at offset 0x40 and the RST is the 7th bit of same. 

RSTCR is an SoC register (see DCFG_CCSR_RSTCR in T1040RM), not something
implemented by the board.  Are you perhaps looking at some QIXIS
register?

-Scott

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

end of thread, other threads:[~2014-08-08 18:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-08  6:05 T1040QDS warm reboot Vineeth
2014-08-08  7:05 ` Priyanka Jain
2014-08-08  7:22   ` Vineeth
2014-08-08 18:15 ` Scott Wood

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).