[U-Boot] [AT91] Questions about AT91 architecture in u-boot

Sergey Lapin slapin at ossfans.org
Mon Aug 11 13:40:35 CEST 2008


Hi, all!

I have 2 questions about AT91 architecture in u-boot.
1. In file include/dataflash.h there is setting
#define NB_DATAFLASH_AREA              5
What is its real meaning? What if I need to change number of DataFlash
partitions? Probably it should be made board-specific?

2. What is current state with hardware ECC for NAND on at91 CPUs?
And, is there some ideas on how could I make such an image using
mtd-tools' mkfs.jffs2? When I flashed normal image and used hardware ECC
in kernel I have got lots of ECC errors and kernel not mounting rootfs.
BTW, will hardware ECC help me with big NAND (1GB) and lots of system logging
to speed-up stuff?

Thanks a lot,
S.




More information about the U-Boot mailing list