Skip to contentSkip to conversation

Questions about AT91 architecture in u-boot

U-Boot Sergey Lapin 2 participants 2 messages Aug 11, 2008 – Oct 10, 2008

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 8 lines · Sergey Lapin

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?

Yes you update the code to allow a board to overwrite the default value.

Best Regards,
J.