[U-Boot] u-boot-2011-03

Detlev Zundel dzu at denx.de
Mon Aug 1 09:15:32 CEST 2011


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


More information about the U-Boot mailing list