All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <w.sang@pengutronix.de>
To: Huang Shijie <b32955@freescale.com>
Cc: Marek Vasut <marek.vasut@gmail.com>,
	artem.bityutskiy@intel.com, linux-mtd@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] mtd/gpmi : add BBT support
Date: Mon, 30 Jan 2012 12:41:31 +0100	[thread overview]
Message-ID: <20120130114131.GC15596@pengutronix.de> (raw)
In-Reply-To: <4F267F21.1030204@freescale.com>

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

CCing Marek, he can say more about the U-Boot side probably...

> > Bootloaders may also need to write to NAND. So, they need to share the
> Do you mean the uboot may write something to the NAND?
> Could you show me some more detail cases?

U-Boot has NAND support in mainline, for barebox it is work-in-progress.
Both can and do write to NAND (kernel, rootfs), because both have
established procedures to do so (and maybe don't want to rely on
third-party tools like kobs-ng).

> > share the same information then. To be on the safe side regardings
> The kobs-ng which burns the bootloader to the NAND will also burn the
> whole BBT
> to the NAND too.

Did it always do that? Or is a newer version needed?

> But if the bootloader can make some block bad, the BBT information
> becomes different.
> Does the bootloader have the feature to make some block bad?

Sure. If you are able to write NAND, you should be able to mark blocks
bad, too :)

Thanks,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: w.sang@pengutronix.de (Wolfram Sang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mtd/gpmi : add BBT support
Date: Mon, 30 Jan 2012 12:41:31 +0100	[thread overview]
Message-ID: <20120130114131.GC15596@pengutronix.de> (raw)
In-Reply-To: <4F267F21.1030204@freescale.com>

CCing Marek, he can say more about the U-Boot side probably...

> > Bootloaders may also need to write to NAND. So, they need to share the
> Do you mean the uboot may write something to the NAND?
> Could you show me some more detail cases?

U-Boot has NAND support in mainline, for barebox it is work-in-progress.
Both can and do write to NAND (kernel, rootfs), because both have
established procedures to do so (and maybe don't want to rely on
third-party tools like kobs-ng).

> > share the same information then. To be on the safe side regardings
> The kobs-ng which burns the bootloader to the NAND will also burn the
> whole BBT
> to the NAND too.

Did it always do that? Or is a newer version needed?

> But if the bootloader can make some block bad, the BBT information
> becomes different.
> Does the bootloader have the feature to make some block bad?

Sure. If you are able to write NAND, you should be able to mark blocks
bad, too :)

Thanks,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120130/99632de8/attachment.sig>

  reply	other threads:[~2012-01-30 11:41 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-30  4:36 [PATCH] mtd/gpmi : add BBT support Huang Shijie
2012-01-30  4:36 ` Huang Shijie
2012-01-30  9:46 ` Wolfram Sang
2012-01-30  9:46   ` Wolfram Sang
2012-01-30 10:32   ` Huang Shijie
2012-01-30 10:32     ` Huang Shijie
2012-01-30 10:44     ` Wolfram Sang
2012-01-30 10:44       ` Wolfram Sang
2012-01-30 11:29       ` Huang Shijie
2012-01-30 11:29         ` Huang Shijie
2012-01-30 11:41         ` Wolfram Sang [this message]
2012-01-30 11:41           ` Wolfram Sang
2012-01-30 12:27           ` Marek Vasut
2012-01-30 12:27             ` Marek Vasut
2012-01-30 13:12             ` Wolfram Sang
2012-01-30 13:12               ` Wolfram Sang
2012-01-30 13:30               ` Marek Vasut
2012-01-30 13:30                 ` Marek Vasut
2012-01-30 13:41                 ` Wolfram Sang
2012-01-30 13:41                   ` Wolfram Sang
2012-01-30 14:33                   ` Marek Vasut
2012-01-30 14:33                     ` Marek Vasut
2012-01-31  8:47           ` Huang Shijie
2012-01-31  8:47             ` Huang Shijie
2012-01-31  9:24             ` Wolfram Sang
2012-01-31  9:24               ` Wolfram Sang
2012-01-31  9:38               ` Huang Shijie
2012-01-31  9:38                 ` Huang Shijie
2012-01-31 11:37               ` Marek Vasut
2012-01-31 11:37                 ` Marek Vasut
2012-01-31 11:49                 ` Wolfram Sang
2012-01-31 11:49                   ` Wolfram Sang
2012-01-31 12:21                   ` Marek Vasut
2012-01-31 12:21                     ` Marek Vasut
2012-01-30 12:24         ` Marek Vasut
2012-01-30 12:24           ` Marek Vasut
2012-01-30 13:19           ` Wolfram Sang
2012-01-30 13:19             ` Wolfram Sang
2012-01-30 13:35             ` Marek Vasut
2012-01-30 13:35               ` Marek Vasut

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=20120130114131.GC15596@pengutronix.de \
    --to=w.sang@pengutronix.de \
    --cc=artem.bityutskiy@intel.com \
    --cc=b32955@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marek.vasut@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.