[U-Boot] arm post tests in uboot
shobin b
shobin.me at gmail.com
Wed Jan 29 07:04:01 CET 2014
Hi,
I am doing post for arm in uboot-toradex(in iris based colibri t20 board).When
i enabled post in my board file(colibri_t20.h) it showing following errors
after making uboot,
i=aapcs-linux -mno-thumb-interwork -march=armv5 -Werror -Wall
-Wstrict-prototypes -fno-stack-protector -o display.o display.c -c
/home/shobin/toradex/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux/bin/arm-linux-gnueabihf-ld
-r -o libtegra2.o board.o pinmux.o sys_info.o display.o
make[1]: Leaving directory
`/home/shobin/iris/u-boot-toradex/arch/arm/cpu/armv7/tegra2'
make -C arch/arm/lib/
make[1]: Entering directory `/home/shobin/iris/u-boot-toradex/arch/arm/lib'
In file included from board.c:56:0:
/home/shobin/iris/u-boot-toradex/include/post.h:75:2: error: #error
"_POST_WORD_ADDR currently not implemented for this platform!"
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/arch/arm/lib'
make[1]: Entering directory `/home/shobin/iris/u-boot-toradex/arch/arm/lib'
/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
-march=armv4t -o board.o board.c -c
In file included from board.c:56:0:
/home/shobin/iris/u-boot-toradex/include/post.h:75:2: error: #error
"_POST_WORD_ADDR currently not implemented for this platform!"
/home/shobin/iris/u-boot-toradex/include/post.h: In function
'post_word_load':
/home/shobin/iris/u-boot-toradex/include/post.h:81:1: error:
'_POST_WORD_ADDR' undeclared (first use in this function)
/home/shobin/iris/u-boot-toradex/include/post.h:81:1: note: each undeclared
identifier is reported only once for each function it appears in
/home/shobin/iris/u-boot-toradex/include/post.h: In function
'post_word_store':
/home/shobin/iris/u-boot-toradex/include/post.h:86:1: error:
'_POST_WORD_ADDR' undeclared (first use in this function)
make[1]: *** [board.o] Error 1
make[1]: Leaving directory `/home/shobin/iris/u-boot-toradex/arch/arm/lib'
make: *** [arch/arm/lib/libarm.o] Error 2
how to solve this problem.
please give me a solution.
regards,
shobin.b
More information about the U-Boot
mailing list