[U-Boot] enabling post for arm in uboot
shobin b
shobin.me at gmail.com
Wed Feb 5 08:46:18 CET 2014
Hi,
I have tried to build u-boot for iris board(toradex) with POST enabled,
but its showing some compilation errors as,
i=aapcs-linux -mno-thumb-interwork -march=armv5 -Werror -Wall
-Wstrict-prototypes -fno-stack-protector -o tftp.o tftp.c -c
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/arm-linux-gnueabihf-ld
-r -o libnet.o bootp.o eth.o net.o tftp.o
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/net'
make -C post/
make[1]: Entering directory `/home/shobin/iris/u-boot-toradex/post'
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/post'
make[1]: Entering directory `/home/shobin/iris/u-boot-toradex/post'
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/arm-linux-gnueabihf-gcc
-g -O2 -fno-common -ffixed-r8 -msoft-float -D__KERNEL__
-DCONFIG_SYS_TEXT_BASE=0x00108000
-I/home/shobin/iris/u-boot-toradex/include -fno-builtin -ffreestanding
-nostdinc -isystem
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/include
-pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork
-march=armv5 -Werror -Wall -Wstrict-prototypes -fno-stack-protector -o
post.o post.c -c
post.c: In function 'post_log':
post.c:403:7: error: variable 'i' set but not used
[-Werror=unused-but-set-variable]
post.c: In function 'post_time_ms':
post.c:494:2: error: #warning "Not implemented yet" [-Werror=cpp]
cc1: all warnings being treated as errors
make[1]: *** [post.o] Error 1
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/post'
make: *** [post/libpost.o] Error 2
please help me.....
regards,
shobin.b
More information about the U-Boot
mailing list