public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nishanth Menon <menon.nishanth@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot and JFFS2
Date: Mon, 16 Mar 2009 13:39:21 +0200	[thread overview]
Message-ID: <49BE3A69.6000402@gmail.com> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E73940427C52509@dbde02.ent.ti.com>

Pillai, Manikandan said the following on 03/16/2009 01:35 PM:
> Hi,
>
> On the OMAP3 EVM board, I have four partition on my Onenand flash of which /dev/mtd4 is a JFFS2 partition.
>
> After booting up linux, I use the following command to mount the jffs2 empty partition.
>
> Linux#> mount -t jffs2 /dev/mtdblock4 /mnt
>
> Then I do a reboot .
>
> When u-boot boots up it gives bad erase block for all the blocks used by /dev/mtd4.
>
> The reason is the JFFS2 filesystem is putting some signature at location 0x0 and 0x1 of OOB locations
> of every block.
>
> Is there a way this can be avoided ?
>
>   
A)
mount -t jffs2 /dev/mtdblock4 /mnt
umount /mnt
sync
reboot

this gives the garbage collector time to put the cleanmarkers in place.

B) is the kernel's oob layout and ECC strategy (h/w vs s/w ecc) same as
that used for u-boot?

Regards,
Nishanth Menon

  reply	other threads:[~2009-03-16 11:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-16 11:35 [U-Boot] U-boot and JFFS2 Pillai, Manikandan
2009-03-16 11:39 ` Nishanth Menon [this message]
2009-03-16 11:41   ` Pillai, Manikandan
2009-03-16 11:44     ` Nishanth Menon
2009-03-17  4:41       ` Pillai, Manikandan
2009-03-17  5:40         ` Nishanth Menon

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=49BE3A69.6000402@gmail.com \
    --to=menon.nishanth@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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