nand_flash_detect_onfi error

Brian Norris computersforpeace at gmail.com
Wed Nov 4 09:54:30 PST 2015


On Wed, Nov 4, 2015 at 8:24 AM, Renaud Barbier <renaud.barbier at ge.com> wrote:
> My CPU is a Freescale P1014 supported by the driver
> drivers/mtd/nand/fsl_ifc_nand.c. Based on your information it seems the
> easiest path is to set the "read_bytes" count to 3 * 256 and program the
> controller to use this byte count when the CMD_PARAM command is used.

That's still a bit ugly. It'd be nice not to have to assume the read length...

Also, have you looked at NAND_CMD_RNDOUT support? That's required if
you need to read out the extended parameter page. See
nand_flash_detect_ext_param_page().

Brian



More information about the linux-mtd mailing list