[U-Boot] enabling post for arm in uboot

Michael Trimarchi michael at amarulasolutions.com
Wed Feb 5 09:54:42 CET 2014


Hi Shobin

On Wed, Feb 5, 2014 at 8:46 AM, shobin b <shobin.me at gmail.com> wrote:
> 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.....

I would like to help you but I don't have time.
Is it better that your company pay someone that do this work for you?
You are sending this email since 2 months now.

Michael

>
>
> regards,
> shobin.b
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list