From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Mon, 01 Aug 2011 09:15:32 +0200 Subject: [U-Boot] u-boot-2011-03 In-Reply-To: (Rajeev Rao Battu's message of "Fri, 29 Jul 2011 17:07:06 +0530") References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- Music scenes ain't real life / They won't get rid of the bomb Won't eliminate rape / Or bring down the banks / any kind of change Takes more time and work / than changing channels on a TV set -- Jello Biafra -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de