[U-Boot] Fwd: uboot compilation problem

Rajeev Rao Battu rajeev.battu at gmail.com
Wed Aug 17 14:38:13 CEST 2011


Hi,
    I am working As R&D engineer. Presently i am compiling u-boot.2011.03
and i am facing bit problem.following is the problem while compiling u-boot.
i am using cross compile tool chain.  I am trying to compile for
AT91SAM9260/61 controller.



make -C arch/arm/cpu/arm926ejs/at91/
make[1]: Entering directory
`/data1/UBOOT/u-boot-2011.03/arch/arm/cpu/arm926ejs/at91'
make[1]: Warning: File `.depend' has modification time 1.7e+04 s in the
future
armv5l-analogics-linux-gnueabi-gcc   -D__ASSEMBLY__ -g  -Os   -fno-common
-ffixed-r8 -msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x23f00000
-I/data1/UBOOT/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    -o lowlevel_init.o lowlevel_init.S -c
armv5l-analogics-linux-gnueabi-gcc  -g  -Os   -fno-common -ffixed-r8
-msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x23f00000
-I/data1/UBOOT/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: In function 'get_cpu_clk_rate':
clock.c:30: error: 'gd_t' has no member named 'cpu_clk_rate_hz'
clock.c: In function 'get_main_clk_rate':
clock.c:35: error: 'gd_t' has no member named 'main_clk_rate_hz'
clock.c: In function 'get_mck_clk_rate':
clock.c:40: error: 'gd_t' has no member named 'mck_rate_hz'
clock.c: In function 'get_plla_clk_rate':
clock.c:45: error: 'gd_t' has no member named 'plla_rate_hz'
clock.c: In function 'get_pllb_clk_rate':
clock.c:50: error: 'gd_t' has no member named 'pllb_rate_hz'
clock.c: In function 'get_pllb_init':
clock.c:55: error: 'gd_t' has no member named 'at91_pllb_usb_init'
clock.c: In function 'at91_css_to_rate':
clock.c:64: error: 'gd_t' has no member named 'main_clk_rate_hz'
clock.c:66: error: 'gd_t' has no member named 'plla_rate_hz'
clock.c:68: error: 'gd_t' has no member named 'pllb_rate_hz'
clock.c: In function 'at91_clock_init':
clock.c:167: error: 'gd_t' has no member named 'main_clk_rate_hz'
clock.c:170: error: 'gd_t' has no member named 'plla_rate_hz'
clock.c:179: error: 'gd_t' has no member named 'at91_pllb_usb_init'
clock.c:181: error: 'gd_t' has no member named 'pllb_rate_hz'
clock.c:181: error: 'gd_t' has no member named 'at91_pllb_usb_init'
clock.c:193: error: 'gd_t' has no member named 'mck_rate_hz'
clock.c:194: error: 'gd_t' has no member named 'mck_rate_hz'
clock.c:212: error: 'gd_t' has no member named 'mck_rate_hz'
clock.c:214: error: 'gd_t' has no member named 'cpu_clk_rate_hz'
make[1]: *** [clock.o] Error 1
make[1]: Leaving directory
`/data1/UBOOT/u-boot-2011.03/arch/arm/cpu/arm926ejs/at91'
make: *** [arch/arm/cpu/arm926ejs/at91/libat91.o] Error 2
-- 

please help me in this regard. thanks in advance

Regards,
RAJEEV RAO BATTU
R&D Engineer,
ANALOGICS TECH INDIA LTD.
Phone:9985144835.
Tel: ++91-40-67355000, 2717 2672/2673/2674.
http://www.analogicgroup.com




-- 
Regards,
RAJEEV RAO BATTU
R&D Engineer,
ANALOGICS TECH INDIA LTD.
Phone:9985144835.
Tel: ++91-40-67355000, 2717 2672/2673/2674.
http://www.analogicgroup.com


More information about the U-Boot mailing list