[U-Boot-Users] Boot 440EPx from NAND

Leonid Leonid at a-k-a.net
Thu Dec 20 21:11:10 CET 2007


Hi:

I am trying to boot 440EPx board similar to Seqouia from NAND. NAND
flash is different from Sequoia's though, it has page size 2K, sector
size 128K and it's 1Gb (128MB).

I set following parameters in my <board>.h file:

#define CFG_NAND_U_BOOT_SIZE	(600 << 10)	/* Size of RAM U-Boot
image	*/

/*
 * Now the NAND chip has to be defined (no autodetection used!)
 */
#define CFG_NAND_PAGE_SIZE	(2048)		/* NAND chip page size
*/
#define CFG_NAND_BLOCK_SIZE	(128 << 10)	/* NAND chip block size
*/
#define CFG_NAND_PAGE_COUNT	(64)		/* NAND chip page count
*/
#define CFG_NAND_BAD_BLOCK_POS	(5)		/* Location of bad block
marker	*/
#define CFG_NAND_4_ADDR_CYCLE			/* Fourth addr used
(>32MB)	*/

but it doesn't boot.

Any suggestion? What is CFG_NAND_PAGE_COUNT anyway?

Thanks,

Leonid.




More information about the U-Boot mailing list