Re: [PATCH] mtd: gpmi: make blockmark swapping optional

From: Lothar WaÃmann
Date: Thu Mar 20 2014 - 06:10:45 EST


Hi,

Huang Shijie wrote:
> ä 2014å03æ20æ 17:21, Lothar WaÃmann åé:
> > Hi,
> >
> > Huang Shijie wrote:
> >> ä 2014å03æ19æ 21:23, y@xxxxxxxxxxxxxxxxxxx åé:
> >>> configurable via DT. This is required for the Ka-Ro electronics
> >>> platforms.
> >>>
> >> If you disable the swapping, you will disable the NAND boot in actually.
> >>
> > No. All our modules do boot from NAND and none of them does the
> > swapping.
> >
> >
> It seems the NAND boot runs well by luck.
>
> The ROM will do the swapping when it reads the BBT table written by the
> kobs-ng (or something else?).
>
This can be disabled by parameter in the FCB (at least according to
the i.MX6 reference Manual):
|DISBBM 172 4 If 0 ROM will swap BadBlockMarkerByte with
| metadata[0] after reading a page using BCH40.
| If the value set is 1 then ROM will not do
| swapping


Lothar WaÃmann
--
___________________________________________________________

Ka-Ro electronics GmbH | PascalstraÃe 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
GeschÃftsfÃhrer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info@xxxxxxxxxxxxxxxxxxx
___________________________________________________________
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/