[U-Boot] [PATCH v2 1/2] nand/denali: Adding Denali NAND driver support
Rik Smith
rsmith at optos.com
Fri May 30 12:50:39 CEST 2014
Chin Liang See <clsee <at> 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 <clsee <at> altera.com>
> Cc: Artem Bityutskiy <artem.bityutskiy <at> linux.intel.com>
> Cc: David Woodhouse <David.Woodhouse <at> intel.com>
> Cc: Brian Norris <computersforpeace <at> gmail.com>
> Cc: Scott Wood <scottwood <at> 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
More information about the U-Boot
mailing list