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

Rajeev Rao Battu rajeev.battu at gmail.com
Fri Jul 29 13:37:06 CEST 2011


Greetings,

             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.

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!
make[1]: Leaving directory
`/home/rajeev/rajeev/u-boot-2011.03/arch/arm/cpu/arm926ejs/at91'
make[1]: Entering directory
`/home/rajeev/rajeev/u-boot-2011.03/arch/arm/cpu/arm926ejs/at91'
armv5l-analogics-linux-gnueabi-gcc  -g  -Os   -fno-common -ffixed-r8
-msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x23f00000
-I/home/rajeev/rajeev/u-boot-2011.03/include -fno-builtin -ffreestanding
-nostdinc -isystem
/opt/analogics/at91sam9261_ek/toolchain/bin/../lib/gcc/armv5l-analogics-linux-gnueabi/4.2.4/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-march=armv5te  -Wall -Wstrict-prototypes -fno-stack-protector   -o
at91sam9260_devices.o at91sam9260_devices.c -c
armv5l-analogics-linux-gnueabi-gcc  -g  -Os   -fno-common -ffixed-r8
-msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x23f00000
-I/home/rajeev/rajeev/u-boot-2011.03/include -fno-builtin -ffreestanding
-nostdinc -isystem
/opt/analogics/at91sam9261_ek/toolchain/bin/../lib/gcc/armv5l-analogics-linux-gnueabi/4.2.4/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-march=armv5te  -Wall -Wstrict-prototypes -fno-stack-protector   -o led.o
led.c -c
armv5l-analogics-linux-gnueabi-gcc  -g  -Os   -fno-common -ffixed-r8
-msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x23f00000
-I/home/rajeev/rajeev/u-boot-2011.03/include -fno-builtin -ffreestanding
-nostdinc -isystem
/opt/analogics/at91sam9261_ek/toolchain/bin/../lib/gcc/armv5l-analogics-linux-gnueabi/4.2.4/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-march=armv5te  -Wall -Wstrict-prototypes -fno-stack-protector   -o clock.o
clock.c -c
clock.c:21:3: error: #error You need to define CONFIG_AT91FAMILY in your
board config!
clock.c:21:3: error: #error You need to define CONFIG_AT91FAMILY in your
board config!
clock.c: In function 'get_cpu_clk_rate':
clock.c:28: error: 'gd_t' has no member named 'cpu_clk_rate_hz'
clock.c: In function 'get_main_clk_rate':
clock.c:33: error: 'gd_t' has no member named 'main_clk_rate_hz'
clock.c: In function 'get_mck_clk_rate':
clock.c:38: error: 'gd_t' has no member named 'mck_rate_hz'
clock.c: In function 'get_plla_clk_rate':
clock.c:43: error: 'gd_t' has no member named 'plla_rate_hz'
clock.c: In function 'get_pllb_clk_rate':
clock.c:48: error: 'gd_t' has no member named 'pllb_rate_hz'
clock.c: In function 'get_pllb_init':
clock.c:53: error: 'gd_t' has no member named 'at91_pllb_usb_init'
clock.c: In function 'at91_css_to_rate':
clock.c:62: error: 'gd_t' has no member named 'main_clk_rate_hz'
clock.c:64: error: 'gd_t' has no member named 'plla_rate_hz'
clock.c:66: error: 'gd_t' has no member named 'pllb_rate_hz'
clock.c: In function 'at91_clock_init':
clock.c:165: error: 'gd_t' has no member named 'main_clk_rate_hz'
clock.c:168: error: 'gd_t' has no member named 'plla_rate_hz'
clock.c:177: error: 'gd_t' has no member named 'at91_pllb_usb_init'
clock.c:179: error: 'gd_t' has no member named 'pllb_rate_hz'
clock.c:179: error: 'gd_t' has no member named 'at91_pllb_usb_init'
clock.c:191: error: 'gd_t' has no member named 'mck_rate_hz'
clock.c:192: error: 'gd_t' has no member named 'mck_rate_hz'
clock.c:210: error: 'gd_t' has no member named 'mck_rate_hz'
clock.c:212: error: 'gd_t' has no member named 'cpu_clk_rate_hz'
make[1]: *** [clock.o] Error 1
make[1]: Leaving directory
`/home/rajeev/rajeev/u-boot-2011.03/arch/arm/cpu/arm926ejs/at91'
make: *** [arch/arm/cpu/arm926ejs/at91/libat91.o] Error 2


-- 
Regards,
RAJEEV.BATTU


More information about the U-Boot mailing list