Tool/software: Linux
Hello,everyone.
I have a problem with compiling the uboot. I got the uboot and tool chain source code from
PROCESSOR-SDK-LINUX-AM335X 04_00_00_04
After decompress source code, and following the Linux Core U-Boot User's Guide to compile uboot, erors exist:
HOSTLD tools/mkimage
AS arch/arm/lib/memset.o
../arch/arm/lib/memset.S: Assembler messages:
../arch/arm/lib/memset.S:46: Error: thumb conditional instruction should be in IT block -- `stmiage ip!,{r1,r3,r8,lr}'
../arch/arm/lib/memset.S:47: Error: thumb conditional instruction should be in IT block -- `stmiage ip!,{r1,r3,r8,lr}'
../arch/arm/lib/memset.S:48: Error: thumb conditional instruction should be in IT block -- `stmiage ip!,{r1,r3,r8,lr}'
../arch/arm/lib/memset.S:49: Error: thumb conditional instruction should be in IT block -- `stmiage ip!,{r1,r3,r8,lr}'
../arch/arm/lib/memset.S:51: Error: thumb conditional instruction should be in IT block -- `ldmfdeq sp!,{r8,pc}'
../arch/arm/lib/memset.S:56: Error: thumb conditional instruction should be in IT block -- `stmiane ip!,{r1,r3,r8,lr}'
../arch/arm/lib/memset.S:57: Error: thumb conditional instruction should be in IT block -- `stmiane ip!,{r1,r3,r8,lr}'
../arch/arm/lib/memset.S:59: Error: thumb conditional instruction should be in IT block -- `stmiane ip!,{r1,r3,r8,lr}'
../arch/arm/lib/memset.S:106: Error: thumb conditional instruction should be in IT block -- `stmiane ip!,{r1,r3}'
../arch/arm/lib/memset.S:108: Error: thumb conditional instruction should be in IT block -- `strne r1,[ip],#4'
../arch/arm/lib/memset.S:114: Error: thumb conditional instruction should be in IT block -- `strbne r1,[ip],#1'
../arch/arm/lib/memset.S:115: Error: thumb conditional instruction should be in IT block -- `strbne r1,[ip],#1'
../arch/arm/lib/memset.S:117: Error: thumb conditional instruction should be in IT block -- `strbne r1,[ip],#1'
../arch/arm/lib/memset.S:123: Error: thumb conditional instruction should be in IT block -- `strblt r1,[ip],#1'
../arch/arm/lib/memset.S:124: Error: thumb conditional instruction should be in IT block -- `strble r1,[ip],#1'
make[2]: *** [arch/arm/lib/memset.o] 错误 1
make[1]: *** [arch/arm/lib] 错误 2
make[1]:正在离开目录 `/home/llf/ti_335x/board-support/u-boot-2017.01+gitAUTOINC+9fd60700db-g9fd60700db/am335x_evm'
make: *** [sub-make] 错误 2
What can I do to compile this correctly?
Thanks in advance.