[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5332AEE7.2040402@freescale.com>
Date: Wed, 26 Mar 2014 18:41:43 +0800
From: Huang Shijie <b32955@...escale.com>
To: Lothar Waßmann <LW@...O-electronics.de>
CC: Fabio Estevam <fabio.estevam@...escale.com>,
Mark Rutland <mark.rutland@....com>,
Shawn Guo <shawn.guo@...aro.org>,
Russell King <linux@....linux.org.uk>,
Pawel Moll <pawel.moll@....com>, Arnd Bergmann <arnd@...db.de>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>,
<linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>, Rob Herring <robh+dt@...nel.org>,
<linux-mtd@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>,
Rob Landley <rob@...dley.net>,
Kumar Gala <galak@...eaurora.org>,
Brian Norris <computersforpeace@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
Sascha Hauer <kernel@...gutronix.de>,
Shawn Guo <shawn.guo@...escale.com>
Subject: Re: [PATCHv2 1/1] mtd: gpmi: make blockmark swapping optional
于 2014年03月26日 16:51, Lothar Waßmann 写道:
> I don't see why this should not be supported on i.MX28 (i.MX23 doesn't
> do byteswapping anyway, so this wouldn't change anything for i.MX23).
> The partitions used by Linux need not necessarily be accessible for the
> Boot ROM code (and vice versa).
But the first partition used to store the u-boot is accessible for the ROM.
Please see "Figure 12-13" in the 12.12.1.12:
"In order to preserve the BI (bad block information), flash updater
or gang programmer
applications need to swap Bad Block Information (BI) data to byte 0 of
metadata area for
every page before programming NAND Flash. ROM when loading firmware,
copies back
the value at metadata[0] to BI offset in page data. The following figure
shows how the
factory bad block marker is preserved."
So please the imx28 should _NOT_ support this feature.
thanks
Huang Shijie
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists