From: Rik Smith Date: Fri, 30 May 2014 10:50:39 +0000 (UTC) Subject: [U-Boot] =?utf-8?q?=5BPATCH_v2_1/2=5D_nand/denali=3A_Adding_Denal?= =?utf-8?q?i_NAND_driver=09support?= References: <1393015864-7957-1-git-send-email-clsee@altera.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Chin Liang See altera.com> writes: > > To add the Denali NAND driver support into U-Boot. It required > information such as register base address from configuration > header file within include/configs folder. > > Signed-off-by: Chin Liang See altera.com> > Cc: Artem Bityutskiy linux.intel.com> > Cc: David Woodhouse intel.com> > Cc: Brian Norris gmail.com> > Cc: Scott Wood freescale.com> > --- > Changes for v2 > - Enable this driver support for SOCFPGA > --- > drivers/mtd/nand/Makefile | 1 + > drivers/mtd/nand/denali_nand.c | 1166 ++++++++++++++++++++++++++++++++++++++++ > drivers/mtd/nand/denali_nand.h | 501 +++++++++++++++++ > 3 files changed, 1668 insertions(+) > create mode 100644 drivers/mtd/nand/denali_nand.c > create mode 100644 drivers/mtd/nand/denali_nand.h > Hi, I was wondering which kernel this patch went into or is going into? I am having problems with accessing a hynix NAND from an altera cyclone V using kernel 3.11. It is coming up with a kernel driver error on boot of: "Your NAND chip OOB is not large enough to contain 8bit ECC correction codes" Looking for help on this issue. Cheers Rik kernel bootlog extract: at24 0-0051: 4096 byte 24c32 EEPROM, writable, 32 bytes/write denali-nand-dt ff900000.flash: Dump timing register values:acc_clks: 0, re_2_we: 50, re_2_re: 50 we_2_re: 5170, addr_2_data: 5170, rdwr_en_lo_cnt: 18 rdwr_en_hi_cnt: 12, cs_setup_cnt: 3 NAND device: Manufacturer ID: 0xad, Chip ID: 0xd5 (Hynix NAND 2GiB 3,3V 8-bit), 2048MiB, page size: 4096, OOB size: 64 Your NAND chip OOB is not large enough to contain 8bit ECC correction codes cadence-qspi ff705000.flash: DMA NOT enabled cadence-qspi ff705000.flash: master is unqueued, this is deprecated m25p80 spi2.0: found n25q00, expected n25q512a