Hi,
I have an omap3evm board with PoP NAND mapped on GPMC_CS0.
I'm trying to use an external NAND flash mapped on GPMC_CS1 through expansion port. I want to use only this new chip to write my x-loader, u-boot and kernel.
It works with my kernel, I can erase and write on it so there is no hardware issue, but I'm unable to see this new NAND chip with u-boot and x-load.
For u-boot, in drivers/mtd/nand/omap_gpmc.c:board_nand_init, I saw that u-boot only scans and latches on to the first CS with NAND type memory, so I modified cs=0 into cs=1 to scan after PoP NAND
in include/asm-arm/arch-omap3/cpu.h I added #define GPMC_CONFIG_CS1 0x90 (and I changed references to CS0 into CS1)
but when I try to boot my board I get this :
U-Boot 2009.11 (May 02 2011 - 14:26:53)
OMAP3430/3530-GP ES3.1, CPU-OPP2 L3-165MHz
OMAP3 EVM board + LPDDR/NAND
I2C: ready
DRAM: 128 MB
NAND: NAND: Unable to find NAND settings in GPMC Configuration - quitting
0 MiB
Seeing that, I thought that I had to modify x-loader too. So I did similar things in x-loader code :
#define GPMC_CONFIG_CS1 (OMAP34XX_GPMC_BASE+0x90) (and I changed references to CS0 into CS1)
But now I don't have anything on console.
I have explored a great part of code without finding anything.
Can somebody help me ?
Best Regards,
David.