public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Clemens Koller <clemens.koller@anagramm•de>
To: Ansari <ma.harounansari@gdatech•co.in>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: Reboot Command Makes kernel to hang (MPC8560)
Date: Tue, 31 Jul 2007 13:44:05 +0200	[thread overview]
Message-ID: <46AF2085.1060603@anagramm.de> (raw)
In-Reply-To: <007001c7d341$d3ae29d0$9503a8c0@Ansari>

Hi, Ansari!

Ansari schrieb:
> Hi Kumar,
> 
> First of all thanks for ur reply .
> 
> Even i went through the linux source . And i have observe that the reboot 
> command used to hard reset the core . I have few doubts can u please clarify 
> me.
> 
> 1. Is there any way to reset the full chip with out using any external 
> signal (MPC8560) ? (like any register that can be used for reseting the 
> processor)

I RTFM:
It should be the bits RST[1:0] in the Debug Control Register 0 (DBCR0).

I didn't find details how the external signals are affected: HRESET_REQ# and friends.
The HRESET_REQ# is usually fed back to the CPU's HRESET#.
So if the HRESET_REQ# gets asserted by writing to above registers it should really bring
down the CPU, it's internal as well as it's external components, which are usually
connected to a replication of that signal.

However the existence of cpm2_reset() and a qe_reset() (QuiccEngine?)
in the code tells me that the above expectations could be wrong.

Would be nice to have that verified by some hardware guys from freescale...

> 2. Even same reboot command works fine for MPC8540 Processor ?.

...because it doesn't have a cpm ?

> 3. what are the factors that makes ramdisk hangs . When its uncompressing ?

Well, side effects ?

Regards,
-- 
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com

  reply	other threads:[~2007-07-31 11:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-26  6:55 Reboot Command Makes kernel to hang (MPC8560) Ansari
2007-07-26 19:51 ` Kumar Gala
2007-07-31  7:10   ` Ansari
2007-07-31 11:44     ` Clemens Koller [this message]
2007-07-31 14:11       ` Kumar Gala
2007-08-02  6:48         ` Ansari
2007-08-02 13:36           ` Kumar Gala
2007-08-02 18:29           ` Clemens Koller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46AF2085.1060603@anagramm.de \
    --to=clemens.koller@anagramm$(echo .)de \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    --cc=ma.harounansari@gdatech$(echo .)co.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox