Hi, I have a custom board with AM3358 and MT29F8G08ABABAWP 8Gb 8-bit nand flash.
Nand flash is connected to AM335x:
DQ0 - GPMC_AD0
DQ1 - GPMC_AD1
DQ2 - GPMC_AD2
DQ3 - GPMC_AD3
DQ4 - GPMC_AD4
DQ5 - GPMC_AD5
DQ6 - GPMC_AD6
DQ7 - GPMC_AD7
R/B# - GPMC_WAIT0
WP# - GPMC_WPn
CE# - GPMC_CSn0
ALE - GPMC_ADVn_ALE
RE# - GPMC_OEn_REn
WE# - GPMC_WEn
CLE - GPMC_BEn0_CLE
CE2# - NC
R/B2# - NC
Are connections OK?
When I run custom U-Boot (LCD enabled and workind OK):
U-Boot 2013.01.01 (Dec 03 2013 - 17:39:12)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
LCD: on
NAND: No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
Software base is from ti-sdk-am335x-evm-06.00.00.00 with custom pin-mux and LCD.
Which files should be modified to config this nand flash?
I've found gpmc is configured by u-boot/arch/arm/cpu/armv7/am33xx/mem.c: void gpmc_init(void)
Should this file be modified?, I think this file configures CS1 but my board uses CS0.
Does AM335x support 8Gb nand flash with just 1 CS pin?
Thank you in advance