Questions about AT91 architecture in u-boot
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.
Quoted 8 lines · Sergey Lapin
Hi, all!
I have 2 questions about AT91 architecture in u-boot.
1. In fileinclude/dataflash.hthere is setting
#defineNB_DATAFLASH_AREA5
What is its real meaning? What if I need to change number of DataFlash partitions? Probably it should be made board-specific?
Yes you update the code to allow a board to overwrite the default value.
Best Regards,
J.