reboot problem with jffs2
Jianlin Zeng
jianlinz_2000 at yahoo.com
Mon Dec 11 13:52:32 EST 2006
Hi Dave,
Thanks for your information! It appears that I need to
set all flash sectors to read mode before reboot,
otherwise the CPU won't be able to read any boot code
from the flash after reboot. Don't know the reason
behind it but once I did that the reboot works fine.
Regards,
Jianlin
--- David Woodhouse <dwmw2 at infradead.org> wrote:
> On Fri, 2006-12-08 at 16:24 -0800, Jianlin Zeng
> wrote:
> > I have a MPC8248 based board running linux 2.6.11.
> I
> > mounted jffs2 FS on a NOR flash partition. The
> jffs2
> > FS works fine. But if I modify any files in the
> jffs2
> > FS and then soft reboot the board, the reboot
> hangs.
> > If I don't modify any files in jffs2 FS and just
> do
> > flashcp to a MTD char device, the soft reboot
> works
> > fine.
>
> Check you hardware. I suspect the flash chip isn't
> being properly reset
> when the CPU restarts.
>
> --
> dwmw2
>
>
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
More information about the linux-mtd
mailing list