cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
3,844 Views
Registered: ‎10-10-2013

what cause the fsbl error?

when i ref xapp1185,take 5th step,such err display?do anybody kown why? thanks  first

 

**** Build of configuration Debug for project ZynqFSBL_ARMCC ****

make all
'Building file: ../fsbl_handoff.S'
'Invoking: ARM Assembler'
armasm --cpu=Cortex-A9 --fpu=VFPv3_FP16 -g -o "fsbl_handoff.o" "../fsbl_handoff.S"
'Finished building: ../fsbl_handoff.S'
' '
'Building file: ../main.c'
'Invoking: ARM C Compiler'
armcc -I"D:\XSDK_SPACE\BSP_Standalone_ARMCC\ps7_cortexa9_0\include" -I"D:\XSDK_SPACE\ZynqFSBL_XSDK\src" -O0 --cpu=Cortex-A9 --fpu=VFPv3_FP16 -g -c -o "main.o" "../main.c"
"D:\XSDK_SPACE\ZynqFSBL_XSDK\src\ps7_init.h", line 131: Warning: #1295-D: Deprecated declaration ps7_init - give arg types
int ps7_init();
^
"D:\XSDK_SPACE\ZynqFSBL_XSDK\src\ps7_init.h", line 132: Warning: #1295-D: Deprecated declaration ps7_post_config - give arg types
int ps7_post_config();
^
"D:\XSDK_SPACE\ZynqFSBL_XSDK\src\fsbl.h", line 467: Warning: #1295-D: Deprecated declaration FsblHandoffJtagExit - give arg types
void FsblHandoffJtagExit();
^
"../main.c", line 155: Warning: #1295-D: Deprecated declaration ps7_init - give arg types
extern int ps7_init();
^
"../main.c", line 158: Warning: #1295-D: Deprecated declaration ps7_post_config - give arg types
extern int ps7_post_config();
^
../main.c: 5 warnings, 0 errors
'Finished building: ../main.c'
' '
'Building file: ../md5.c'
'Invoking: ARM C Compiler'
armcc -I"D:\XSDK_SPACE\BSP_Standalone_ARMCC\ps7_cortexa9_0\include" -I"D:\XSDK_SPACE\ZynqFSBL_XSDK\src" -O0 --cpu=Cortex-A9 --fpu=VFPv3_FP16 -g -c -o "md5.o" "../md5.c"
'Finished building: ../md5.c'
' '
'Building file: ../ps7_init.c'
'Invoking: ARM C Compiler'
armcc -I"D:\XSDK_SPACE\BSP_Standalone_ARMCC\ps7_cortexa9_0\include" -I"D:\XSDK_SPACE\ZynqFSBL_XSDK\src" -O0 --cpu=Cortex-A9 --fpu=VFPv3_FP16 -g -c -o "ps7_init.o" "../ps7_init.c"
"D:\XSDK_SPACE\ZynqFSBL_XSDK\src\ps7_init.h", line 131: Warning: #1295-D: Deprecated declaration ps7_init - give arg types
int ps7_init();
^
"D:\XSDK_SPACE\ZynqFSBL_XSDK\src\ps7_init.h", line 132: Warning: #1295-D: Deprecated declaration ps7_post_config - give arg types
int ps7_post_config();
^
../ps7_init.c: 2 warnings, 0 errors
'Finished building: ../ps7_init.c'
' '
'Building file: ../src/ddr_init.c'
'Invoking: ARM C Compiler'
armcc -I"D:\XSDK_SPACE\BSP_Standalone_ARMCC\ps7_cortexa9_0\include" -I"D:\XSDK_SPACE\ZynqFSBL_XSDK\src" -O0 --cpu=Cortex-A9 --fpu=VFPv3_FP16 -g -c -o "src/ddr_init.o" "../src/ddr_init.c"
"../src/ps7_init.h", line 131: Warning: #1295-D: Deprecated declaration ps7_init - give arg types
int ps7_init();
^
"../src/ps7_init.h", line 132: Warning: #1295-D: Deprecated declaration ps7_post_config - give arg types
int ps7_post_config();
^
"../src/fsbl.h", line 467: Warning: #1295-D: Deprecated declaration FsblHandoffJtagExit - give arg types
void FsblHandoffJtagExit();
^
../src/ddr_init.c: 3 warnings, 0 errors
'Finished building: ../src/ddr_init.c'
' '
'Building file: ../src/ff.c'
'Invoking: ARM C Compiler'
armcc -I"D:\XSDK_SPACE\BSP_Standalone_ARMCC\ps7_cortexa9_0\include" -I"D:\XSDK_SPACE\ZynqFSBL_XSDK\src" -O0 --cpu=Cortex-A9 --fpu=VFPv3_FP16 -g -c -o "src/ff.o" "../src/ff.c"
'Finished building: ../src/ff.c'
' '
'Building file: ../src/fsbl_handoff.S'
'Invoking: ARM Assembler'
armasm --cpu=Cortex-A9 --fpu=VFPv3_FP16 -g -o "src/fsbl_handoff.o" "../src/fsbl_handoff.S"
"../src/fsbl_handoff.S", line 1: Error: A1167E: Invalid line start
1 00000000 /******************************************************************************
"../src/fsbl_handoff.S", line 41: Error: A1167E: Invalid line start
41 00000000 /*****************************************************************************/
"../src/fsbl_handoff.S", line 42: Error: A1167E: Invalid line start
42 00000000 /**
"../src/fsbl_handoff.S", line 64 (column 8): Error: A1163E: Unknown opcode FsblHandoffJtagExit , expecting opcode or Macro
64 00000000 .globl FsblHandoffJtagExit
^
"../src/fsbl_handoff.S", line 66 (column 8): Error: A1163E: Unknown opcode FsblHandoffExit , expecting opcode or Macro
66 00000000 .globl FsblHandoffExit
^
"../src/fsbl_handoff.S", line 68: Error: A1167E: Invalid line start
68 00000000 .section .handoff,"axS"
"../src/fsbl_handoff.S", line 70 (column 32): Error: A1163E: Unknown opcode Include , expecting opcode or Macro
70 00000000 /***************************** Include Files *********************************/
^
"../src/fsbl_handoff.S", line 72 (column 29): Error: A1163E: Unknown opcode Constant , expecting opcode or Macro
72 00000000 /************************** Constant Definitions *****************************/
^
"../src/fsbl_handoff.S", line 74 (column 31): Error: A1163E: Unknown opcode Type , expecting opcode or Macro
74 00000000 /**************************** Type Definitions *******************************/
^
"../src/fsbl_handoff.S", line 76 (column 20): Error: A1163E: Unknown opcode Macros , expecting opcode or Macro
76 00000000 /***************** Macros (Inline Functions) Definitions *********************/
^
"../src/fsbl_handoff.S", line 78 (column 29): Error: A1163E: Unknown opcode Function , expecting opcode or Macro
78 00000000 /************************** Function Prototypes ******************************/
^
"../src/fsbl_handoff.S", line 80 (column 29): Error: A1163E: Unknown opcode Variable , expecting opcode or Macro
80 00000000 /************************** Variable Definitions *****************************/
^
"../src/fsbl_handoff.S", line 82: Error: A1167E: Invalid line start
82 00000000 FsblHandoffJtagExit:
"../src/fsbl_handoff.S", line 83 (column 8): Error: A1577E: Bad coprocessor name symbol
83 00000000 mcr 15,0,r0,cr7,cr5,0 /* Invalidate Instruction cache */
^
"../src/fsbl_handoff.S", line 84 (column 8): Error: A1577E: Bad coprocessor name symbol
84 00000000 mcr 15,0,r0,cr7,cr5,6 /* Invalidate branch predictor array */
^
"../src/fsbl_handoff.S", line 86: Error: A1105E: Area directive missing
86 00000000 dsb
"../src/fsbl_handoff.S", line 86: Warning: A1088W: Faking declaration of area AREA |$$$$$$$|
86 00000000 dsb
"../src/fsbl_handoff.S", line 87 (column 12): Error: A1517E: Unexpected operator equal to or equivalent to /
87 00000004 isb /* make sure it completes */
^
"../src/fsbl_handoff.S", line 90 (column 8): Error: A1577E: Bad coprocessor name symbol
90 00000008 mcr 15,0,r4,cr1,cr0,0 /* disable the ICache and MMU */
^
"../src/fsbl_handoff.S", line 92 (column 12): Error: A1517E: Unexpected operator equal to or equivalent to /
92 00000008 isb /* make sure it completes */
^
"../src/fsbl_handoff.S", line 93: Error: A1167E: Invalid line start
93 00000008 Loop:
"../src/fsbl_handoff.S", line 97: Error: A1167E: Invalid line start
97 00000010 FsblHandoffExit:
"../src/fsbl_handoff.S", line 98 (column 15): Error: A1106E: Missing comma
98 00000010 mov lr, r0 /* move the destination address into link register */
^
"../src/fsbl_handoff.S", line 100 (column 8): Error: A1577E: Bad coprocessor name symbol
100 00000010 mcr 15,0,r0,cr7,cr5,0 /* Invalidate Instruction cache */
^
"../src/fsbl_handoff.S", line 101 (column 8): Error: A1577E: Bad coprocessor name symbol
101 00000010 mcr 15,0,r0,cr7,cr5,6 /* Invalidate branch predictor array */
^
"../src/fsbl_handoff.S", line 104 (column 12): Error: A1517E: Unexpected operator equal to or equivalent to /
104 00000014 isb /* make sure it completes */
^
"../src/fsbl_handoff.S", line 107 (column 8): Error: A1577E: Bad coprocessor name symbol
107 00000018 mcr 15,0,r4,cr1,cr0,0 /* disable the ICache and MMU */
^
"../src/fsbl_handoff.S", line 109 (column 12): Error: A1517E: Unexpected operator equal to or equivalent to /
109 00000018 isb /* make sure it completes */
^
"../src/fsbl_handoff.S", line 112 (column 10): Error: A1137E: Unexpected characters at end of line
112 00000018 bx lr /* force the switch, destination should have been in r0 */
^
"../src/fsbl_handoff.S", line 114: Error: A1167E: Invalid line start
114 00000018 .Ldone: b .Ldone /* Paranoia: we should never get here */
"../src/fsbl_handoff.S", line 115: Error: A1167E: Invalid line start
115 00000018 .end
"../src/fsbl_handoff.S", line 116: Warning: A1313W: Missing END directive at end of file
116 00000018
30 Errors, 2 Warnings
make: *** [src/fsbl_handoff.o] Error 1

**** Build Finished ****

0 Kudos
2 Replies
Highlighted
Visitor
Visitor
3,844 Views
Registered: ‎10-10-2013

Re: what cause the fsbl error?

how to turn *.ld file to scatter file ind ds-5?
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
3,538 Views
Registered: ‎12-18-2007

Re: what cause the fsbl error?

Please see

 

http://www.xilinx.com/support/documentation/application_notes/xapp1185-Zynq-software-development-with-DS-5.pdf

 

For guidance on DS-5 for Software Development on Zynq - this includes example scatter files.

 

Regards

0 Kudos