
Hi Rajeev,
I am bit new to Linux, working as R&D engineer, i am currently
using u-boot-1.3.4 & 2008.10. In that i am facing bit problem with nandflash bad blocks. i want to upgrade my u-boot to 2011.03 when i compile this u-boot u-boot version i am encountering errors. following is the error displayed while compiling. please help me in this regard.
It would have helped if you told us what board you are working with. Now we have to guess.
make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/rajeev/rajeev/u-boot-2011.03/examples/api' make -C arch/arm/cpu/arm926ejs start.o make[1]: Entering directory `/home/rajeev/rajeev/u-boot-2011.03/arch/arm/cpu/arm926ejs' make[1]: `start.o' is up to date. make[1]: Leaving directory `/home/rajeev/rajeev/u-boot-2011.03/arch/arm/cpu/arm926ejs' make -C api/ make[1]: Entering directory `/home/rajeev/rajeev/u-boot-2011.03/api' make[1]: `libapi.o' is up to date. make[1]: Leaving directory `/home/rajeev/rajeev/u-boot-2011.03/api' make -C arch/arm/cpu/arm926ejs/at91/ make[1]: Entering directory `/home/rajeev/rajeev/u-boot-2011.03/arch/arm/cpu/arm926ejs/at91' clock.c:21:3: error: #error You need to define CONFIG_AT91FAMILY in your board config!
So it seems you're working in the at91 family. To my knowledge, this family wasn't in good shape after the ARM relocation rework. So if at all possible, then please try with the latest U-Boot (from git) code or you will probably have to do the troubleshooting yourself.
Cheers Detlev