T1040QDS warm reboot

4 messages, 3 authors, 2014-08-08 · open the first message on its own page

T1040QDS warm reboot

From: Vineeth <hidden>
Date: 2014-08-08 06:05:48

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

RE: T1040QDS warm reboot

From: Priyanka Jain <hidden>
Date: 2014-08-08 07:05:15

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

Re: T1040QDS warm reboot

From: Vineeth <hidden>
Date: 2014-08-08 07:22:42

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 [off-list ref]
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



Re: T1040QDS warm reboot

From: Scott Wood <hidden>
Date: 2014-08-08 18:15:36

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help