This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GPMC SETTINGS FOR ACCESSING NAND AT CHIP SELECT 7



Hi all,

This is what i got boot code;

serial_init


U-Boot 2010.06-rc1 (Feb 08 2012 - 12:18:35)

OMAP34xx/35xx-GP ES2.1, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
size of cs_mcfg=  35880
size1 = 10000000
offset of cs_cfg =1
offset of cs_cfg 1 =8000000
size of cs_mcfg=  35880
size1 = 10000000
size of cs_mcfg=  0
size1 = 0
offset of cs_cfg =2
offset of cs_cfg 1 =10000000
DRAM:  256 MiB
NAND:  config1_addr = 6e0001b0
config2_addr = 6e0001b4
config3_addr = 6e0001b8
config4_addr = 6e0001bc
config5_addr = 6e0001c0
config6_addr = 6e0001c4
config1 = 00000800
config2 = 00141400
config3 = 00141400
config4 = 0f010f01
config5 = 010c1414
config6 = 1f0f0a80
value of cs = 7
nand->io_addr_r = 6e0001d4
nand->io_addr_w = 6e0001cc
maf_id = 0   // After setting all the things i'm just trying to access the device Id!

dev_id = 0
0 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Beagle Rev C4
Die ID #650c00029e380000016830c50201001e
Hit any key to stop autoboot:  0
OMAP3 beagleboard.org #

I referred below link for setting for chip select 7 for Nand flash!

http://old.nabble.com/-U-Boot---PATCH-0-3--OMAP3%3ANAND%3A-Cleanup-patchset-td23028856.html

Please point out any mistakes?

Regards,

santosh vastrad