Re: [U-Boot-Users] [PATCH 2/7 v3] NAND_CMD_READOOB is not supported by all chips, read OOB with the page instead

2008-08-05 Thread Guennadi Liakhovetski
On Mon, 4 Aug 2008, Scott Wood wrote: On Mon, Aug 04, 2008 at 02:45:33PM +0200, Guennadi Liakhovetski wrote: I _think_ this should work with all NAND chips. Otherwise we might have to introduce a configuration variable. Which small-page NAND chips can't handle READOOB? On large page

Re: [U-Boot-Users] [PATCH 2/7 v3] NAND_CMD_READOOB is not supported by all chips, read OOB with the page instead

2008-08-05 Thread Scott Wood
On Tue, Aug 05, 2008 at 03:08:04PM +0200, Guennadi Liakhovetski wrote: It's a large-page device. And, as far as I understand the datasheet, to read data at arbitrary offset in a page, you first have to issue a READ PAGE (READ0) for _the_ _whole_ page, then you can use RANDOM DATA READ to

Re: [U-Boot-Users] [PATCH 2/7 v3] NAND_CMD_READOOB is not supported by all chips, read OOB with the page instead

2008-08-05 Thread Guennadi Liakhovetski
On Tue, 5 Aug 2008, Scott Wood wrote: On Tue, Aug 05, 2008 at 03:08:04PM +0200, Guennadi Liakhovetski wrote: It's a large-page device. And, as far as I understand the datasheet, to read data at arbitrary offset in a page, you first have to issue a READ PAGE (READ0) for _the_ _whole_

Re: [U-Boot-Users] [PATCH 2/7 v3] NAND_CMD_READOOB is not supported by all chips, read OOB with the page instead

2008-08-05 Thread Scott Wood
Guennadi Liakhovetski wrote: On Tue, 5 Aug 2008, Scott Wood wrote: Are you saying that your NAND chip can't read the OOB by issuing READ0 with the appropriate column address? Which chip is this, and where can I find a manual? At least, this is how I understood it, I might be wrong though:

[U-Boot-Users] [PATCH 2/7 v3] NAND_CMD_READOOB is not supported by all chips, read OOB with the page instead

2008-08-04 Thread Guennadi Liakhovetski
I _think_ this should work with all NAND chips. Otherwise we might have to introduce a configuration variable. Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] --- nand_spl/nand_boot.c | 64 ++--- 1 files changed, 34 insertions(+), 30

Re: [U-Boot-Users] [PATCH 2/7 v3] NAND_CMD_READOOB is not supported by all chips, read OOB with the page instead

2008-08-04 Thread Scott Wood
On Mon, Aug 04, 2008 at 02:45:33PM +0200, Guennadi Liakhovetski wrote: I _think_ this should work with all NAND chips. Otherwise we might have to introduce a configuration variable. Which small-page NAND chips can't handle READOOB? On large page devices, nand_command changes it to READ0.