linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jaap-Jan Boor <jjboor@aimsys.nl>
To: jgeissel@gmx.net
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: problem with watchdog/reboot MPC5200
Date: Thu, 20 Apr 2006 12:21:13 +0200	[thread overview]
Message-ID: <1145528473.13114.6.camel@linpc041.aimsys.nl> (raw)
In-Reply-To: <200604201146.01342.jgeissel@gmx.net>

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

Arno,

I think your problem is related to Intel Strataflash specifics.
After a write to strataflash, it remains in status mode until another
read (or reset) command is issued. This means you don't get the flash
contents when reading it, but a status bit (e.g. 0x8080 at every spot).
So when the processor start executing after a reset, it's not reading
proper instructions.

You first need to e.g. write a reset cmd (0x5050) to it or connect
the processor's hardreset line to the flash device.

Jaap-Jan

On Thu, 2006-04-20 at 11:46 +0200, Arno Geissel wrote:
> Hello all,
> 
> I have a custom board based on MPC5200 processor running
> the latest linuxppc_2_4_devel.
> Everything is working fine until a flash write access is performed
> using MTD. After this a (soft) reboot stucks in mpc5xxx_restart()
> where the watchdog timer is charged and linux waits with closed
> interrupts until the MPC performs the reset. Only power off helps
> in this situation.
> It seems to me like a hardware problem, because the freescale
> MPC5200lite reference board does not run into this.
> The main difference of the custom board to the reference board
> is, that it is using 16MB Intel Strada Flash instead of AMD flash,
> which has an erase block size of 128kB.
> Has anybody else experienced such behaviour?
> 
> Arno Geissel
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 1513 bytes --]

  reply	other threads:[~2006-04-20 10:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20  9:46 problem with watchdog/reboot MPC5200 Arno Geissel
2006-04-20 10:21 ` Jaap-Jan Boor [this message]
2006-04-20 11:34   ` Arno Geissel
  -- strict thread matches above, loose matches on Subject: below --
2006-04-20 12:06 Joakim Tjernlund
2006-04-20 13:08 ` Arno Geissel

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=1145528473.13114.6.camel@linpc041.aimsys.nl \
    --to=jjboor@aimsys.nl \
    --cc=jgeissel@gmx.net \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).