From: Jeff Angielski <jeff@theptrgroup.com>
To: Jianlin Zeng <jianlinz_2000@yahoo.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: reboot problem with MPC8248 based board
Date: Fri, 08 Dec 2006 20:47:13 -0500 [thread overview]
Message-ID: <1165628833.25443.10.camel@jaalaptop> (raw)
In-Reply-To: <937646.80061.qm@web56706.mail.re3.yahoo.com>
On Fri, 2006-12-08 at 17:25 -0800, Jianlin Zeng wrote:
> Hi,
>
> I have a MPC8248 based board running with linux kernel
> 2.6.11. I mounted jffs2 FS on a NOR flash devices. The
> jffs2 FS works fine. But whenever I modify any files
> in jffs2 FS and soft reboot the board, the reboot
> hangs. If I don't modify any files in jffs2 FS and
> just do flashcp to mtd char device, the soft reboot
> works fine.
>
> I tried doing "reboot" through "m8260_gorom" or a
> mechanism similar to what is used in u-boot. The
> result is the same. I don't understand why jffs2 write
> causes reboot to hang but MTD char device write does
> not. Does anybody have similar experience? Can anybody
> give me some help?
>
> Thanks,
> Jianlin
I have seen strange reboot behavior like this when the flash chips were
left in write mode. After reboot, you are unable to read the flash and
the system just hangs.
In 2.4 days, we solved this with a reboot_notifier that just went
through the sectors and reset them back to read mode.
Not sure if that helps but at least it gives you something to look into.
--
Jeff Angielski
The PTR Group
next prev parent reply other threads:[~2006-12-09 2:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-09 1:25 reboot problem with MPC8248 based board Jianlin Zeng
2006-12-09 1:47 ` Jeff Angielski [this message]
2006-12-10 0:02 ` Jianlin Zeng
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=1165628833.25443.10.camel@jaalaptop \
--to=jeff@theptrgroup.com \
--cc=jianlinz_2000@yahoo.com \
--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