On our custom omap3530 based board we interfaced OMAP3530 GPMC with NAND (1GB(8Gb)) flash ( MT29F8G08ABABAWP ) .In xloader for MT29F8G08ABABAWP flash we configured as follows
*/
#define MT29F1G_MFR 0x2c /* Micron */
#define MT29F1G_ID 0x28 /* x8, 1GiB *//
#define ADDR_COLUMN 1
#define ADDR_PAGE 2
#define ADDR_COLUMN_PAGE (ADDR_COLUMN | ADDR_PAGE)
#define ADDR_OOB (0x4 | ADDR_COLUMN_PAGE)
#define PAGE_SIZE 4096
#define OOB_SIZE 224
#define MAX_NUM_PAGES 128
#define ECC_CHECK_ENABLE
#define ECC_SIZE 24
#define ECC_STEPS 3
what ADDR_COLUMN , ADDR_PAGE , ADDR_COLUMN_PAGE specifies? We didn't changed those values .
and in include/asm/arch/mem.h
# define M_NAND_GPMC_CONFIG1 0x00000800 // as we are using 8-bit data lines.
Still xloader displaying "No NAND detected"
we tried to print manufacturing ID and device id . It displaying '0'.
Is there any more configuration that we missing in xloader?
Thank You
Bhimesh