msl.build.log 125 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225
  1. 23:58:47 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
  2. make clean
  3. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
  4. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  5. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
  6. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
  7. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
  8. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
  9. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
  10. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  11. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  12. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  13. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf ./src/gpio.o ./src/mid.o ./src/mslDev.o ./src/mslInit.o ./src/mslMain.o ./src/mslSlave.o ./src/mslTAInit.o ./src/spi.o ./src/gpio.d ./src/mid.d ./src/mslDev.d ./src/mslInit.d ./src/mslMain.d ./src/mslSlave.d ./src/mslTAInit.d ./src/spi.d
  14. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  15. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf imageInfo.c ImgInfoGen preLinkCmds _linkcmds objects.mk path.mk sources.mk v_makefile.mk config_msl.h config_msl.mk
  16. 23:58:47 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
  17. make clean
  18. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
  19. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  20. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
  21. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
  22. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
  23. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
  24. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
  25. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  26. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  27. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  28. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf ./src/gpio.o ./src/mid.o ./src/mslDev.o ./src/mslInit.o ./src/mslMain.o ./src/mslSlave.o ./src/mslTAInit.o ./src/spi.o ./src/gpio.d ./src/mid.d ./src/mslDev.d ./src/mslInit.d ./src/mslMain.d ./src/mslSlave.d ./src/mslTAInit.d ./src/spi.d
  29. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  30. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf imageInfo.c ImgInfoGen preLinkCmds _linkcmds objects.mk path.mk sources.mk v_makefile.mk config_msl.h config_msl.mk
  31. 23:58:48 **** Build of configuration ft2000aC4_mc for project msl ****
  32. make all
  33. D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
  34. Generate config files...
  35. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/hAndMkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.cfg D:/ACoreIDE
  36. .h and .mk File build success!
  37. Generate link script files...
  38. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/linkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/ram_debug.mtp preLinkCmds _linkcmds
  39. done.
  40. D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  41. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
  42. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  43. Building file: E:/code/tianmai/workspace/msl/src/gpio.c
  44. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/gpio.d" -o "src/gpio.o" "E:/code/tianmai/workspace/msl/src/gpio.c"
  45. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
  46. E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  47. printk("gpio0_porta_Func:ch %d error\n",ch);
  48. ^
  49. E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
  50. return -1;
  51. ^
  52. E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
  53. return 0;
  54. ^
  55. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
  56. E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
  57. return -1;
  58. ^
  59. E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
  60. return 0;
  61. ^
  62. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
  63. E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
  64. return -1;
  65. ^
  66. E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
  67. return 0;
  68. ^
  69. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
  70. E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
  71. spiWriteLocalBuf(0x0,&value,1);
  72. ^
  73. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
  74. E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
  75. }
  76. ^
  77. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
  78. E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
  79. }
  80. ^
  81. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
  82. E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
  83. }
  84. ^
  85. Building file: E:/code/tianmai/workspace/msl/src/mid.c
  86. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mid.d" -o "src/mid.o" "E:/code/tianmai/workspace/msl/src/mid.c"
  87. E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
  88. E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
  89. gpio_spiModeSel(0);
  90. ^
  91. E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
  92. spiReadLocalBuf(0x20,midNum,2);
  93. ^
  94. E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  95. memcpy(value,midNum,2);
  96. ^
  97. Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
  98. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslDev.d" -o "src/mslDev.o" "E:/code/tianmai/workspace/msl/src/mslDev.c"
  99. Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
  100. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslInit.d" -o "src/mslInit.o" "E:/code/tianmai/workspace/msl/src/mslInit.c"
  101. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
  102. E:/code/tianmai/workspace/msl/src/mslInit.c:195:2: warning: passing argument 1 of 'mmu_map_4KB_page' makes pointer from integer without a cast [enabled by default]
  103. mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
  104. ^
  105. In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
  106. from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
  107. D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
  108. extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
  109. ^
  110. E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
  111. arm_invalidate_tlb(); //无效当前TLB中的内容
  112. ^
  113. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
  114. E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
  115. if ( payloadBase == NULL)
  116. ^
  117. E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
  118. mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
  119. ^
  120. E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
  121. mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
  122. ^
  123. E:/code/tianmai/workspace/msl/src/mslInit.c:437:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  124. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  125. ^
  126. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  127. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  128. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  129. ^
  130. E:/code/tianmai/workspace/msl/src/mslInit.c:515:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  131. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  132. ^
  133. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  134. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  135. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  136. ^
  137. E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
  138. UINT32 payloadDataSize = 0;
  139. ^
  140. Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
  141. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslMain.d" -o "src/mslMain.o" "E:/code/tianmai/workspace/msl/src/mslMain.c"
  142. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
  143. E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
  144. ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
  145. ^
  146. In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
  147. E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
  148. extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
  149. ^
  150. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
  151. E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
  152. getStatus(&state);
  153. ^
  154. E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
  155. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
  156. mEnvLoad, /* 加载环境变量 */
  157. ^
  158. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
  159. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
  160. mEnvSave, /* 保存环境变量 */
  161. ^
  162. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
  163. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
  164. fnTA_net_getpkt, /* 打印设备号的获取 */
  165. ^
  166. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
  167. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
  168. fnTA_net_putpkt, /* 打印设备号的获取 */
  169. ^
  170. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
  171. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
  172. flashWrite, /**/
  173. ^
  174. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
  175. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
  176. memcpy,
  177. ^
  178. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
  179. Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
  180. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslSlave.d" -o "src/mslSlave.o" "E:/code/tianmai/workspace/msl/src/mslSlave.c"
  181. E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
  182. E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
  183. slaveCoreGicInit();
  184. ^
  185. E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
  186. bspTimerInit();
  187. ^
  188. E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
  189. bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
  190. ^
  191. E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
  192. BSP_Time_Enable(0);
  193. ^
  194. Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
  195. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslTAInit.d" -o "src/mslTAInit.o" "E:/code/tianmai/workspace/msl/src/mslTAInit.c"
  196. E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
  197. E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
  198. updateNetParamByShell();
  199. ^
  200. Building file: E:/code/tianmai/workspace/msl/src/spi.c
  201. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/spi.d" -o "src/spi.o" "E:/code/tianmai/workspace/msl/src/spi.c"
  202. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
  203. E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
  204. }
  205. ^
  206. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
  207. E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
  208. }
  209. ^
  210. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
  211. E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  212. printk("spi xfer timeout!\n");
  213. ^
  214. E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
  215. uint32_t max, status;
  216. ^
  217. E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
  218. E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
  219. int i = 0;
  220. ^
  221. E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
  222. E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
  223. int i = 0;
  224. ^
  225. E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
  226. UINT16 factory_613;
  227. ^
  228. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
  229. E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  230. memcpy(&sendBuf[5], buf, len);
  231. ^
  232. Invoking: GCC Archiver
  233. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
  234. D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
  235. Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  236. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  237. Invoking: GCC C Linker
  238. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -r -whole-archive E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -o checkname.o
  239. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/prelinkcmds D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  240. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  241. D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
  242. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
  243. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/catlinkcmds -Map map.txt D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  244. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  245. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  246. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  247. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/objcopy -O binary --strip-unneeded -R .note -R .comment -R .stab -R .stabstr -R .pbss E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  248. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  249. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  250. 00:25:20 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
  251. make clean
  252. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
  253. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  254. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
  255. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
  256. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
  257. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
  258. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
  259. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  260. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  261. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  262. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf ./src/gpio.o ./src/mid.o ./src/mslDev.o ./src/mslInit.o ./src/mslMain.o ./src/mslSlave.o ./src/mslTAInit.o ./src/spi.o ./src/gpio.d ./src/mid.d ./src/mslDev.d ./src/mslInit.d ./src/mslMain.d ./src/mslSlave.d ./src/mslTAInit.d ./src/spi.d
  263. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  264. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf imageInfo.c ImgInfoGen preLinkCmds _linkcmds objects.mk path.mk sources.mk v_makefile.mk config_msl.h config_msl.mk
  265. 00:25:29 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
  266. make clean
  267. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
  268. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  269. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
  270. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
  271. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
  272. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
  273. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
  274. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  275. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  276. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  277. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf ./src/gpio.o ./src/mid.o ./src/mslDev.o ./src/mslInit.o ./src/mslMain.o ./src/mslSlave.o ./src/mslTAInit.o ./src/spi.o ./src/gpio.d ./src/mid.d ./src/mslDev.d ./src/mslInit.d ./src/mslMain.d ./src/mslSlave.d ./src/mslTAInit.d ./src/spi.d
  278. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  279. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf imageInfo.c ImgInfoGen preLinkCmds _linkcmds objects.mk path.mk sources.mk v_makefile.mk config_msl.h config_msl.mk
  280. 00:25:29 **** Build of configuration ft2000aC4_mc for project msl ****
  281. make all
  282. D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
  283. Generate config files...
  284. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/hAndMkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.cfg D:/ACoreIDE
  285. .h and .mk File build success!
  286. Generate link script files...
  287. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/linkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/ram_debug.mtp preLinkCmds _linkcmds
  288. done.
  289. D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  290. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
  291. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  292. Building file: E:/code/tianmai/workspace/msl/src/gpio.c
  293. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/gpio.d" -o "src/gpio.o" "E:/code/tianmai/workspace/msl/src/gpio.c"
  294. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
  295. E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  296. printk("gpio0_porta_Func:ch %d error\n",ch);
  297. ^
  298. E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
  299. return -1;
  300. ^
  301. E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
  302. return 0;
  303. ^
  304. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
  305. E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
  306. return -1;
  307. ^
  308. E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
  309. return 0;
  310. ^
  311. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
  312. E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
  313. return -1;
  314. ^
  315. E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
  316. return 0;
  317. ^
  318. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
  319. E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
  320. spiWriteLocalBuf(0x0,&value,1);
  321. ^
  322. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
  323. E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
  324. }
  325. ^
  326. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
  327. E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
  328. }
  329. ^
  330. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
  331. E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
  332. }
  333. ^
  334. Building file: E:/code/tianmai/workspace/msl/src/mid.c
  335. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mid.d" -o "src/mid.o" "E:/code/tianmai/workspace/msl/src/mid.c"
  336. E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
  337. E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
  338. gpio_spiModeSel(0);
  339. ^
  340. E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
  341. spiReadLocalBuf(0x20,midNum,2);
  342. ^
  343. E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  344. memcpy(value,midNum,2);
  345. ^
  346. Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
  347. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslDev.d" -o "src/mslDev.o" "E:/code/tianmai/workspace/msl/src/mslDev.c"
  348. Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
  349. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslInit.d" -o "src/mslInit.o" "E:/code/tianmai/workspace/msl/src/mslInit.c"
  350. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
  351. E:/code/tianmai/workspace/msl/src/mslInit.c:195:2: warning: passing argument 1 of 'mmu_map_4KB_page' makes pointer from integer without a cast [enabled by default]
  352. mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
  353. ^
  354. In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
  355. from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
  356. D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
  357. extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
  358. ^
  359. E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
  360. arm_invalidate_tlb(); //无效当前TLB中的内容
  361. ^
  362. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
  363. E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
  364. if ( payloadBase == NULL)
  365. ^
  366. E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
  367. mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
  368. ^
  369. E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
  370. mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
  371. ^
  372. E:/code/tianmai/workspace/msl/src/mslInit.c:437:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  373. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  374. ^
  375. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  376. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  377. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  378. ^
  379. E:/code/tianmai/workspace/msl/src/mslInit.c:515:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  380. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  381. ^
  382. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  383. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  384. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  385. ^
  386. E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
  387. UINT32 payloadDataSize = 0;
  388. ^
  389. Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
  390. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslMain.d" -o "src/mslMain.o" "E:/code/tianmai/workspace/msl/src/mslMain.c"
  391. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
  392. E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
  393. ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
  394. ^
  395. In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
  396. E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
  397. extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
  398. ^
  399. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
  400. E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
  401. getStatus(&state);
  402. ^
  403. E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
  404. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
  405. mEnvLoad, /* 加载环境变量 */
  406. ^
  407. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
  408. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
  409. mEnvSave, /* 保存环境变量 */
  410. ^
  411. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
  412. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
  413. fnTA_net_getpkt, /* 打印设备号的获取 */
  414. ^
  415. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
  416. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
  417. fnTA_net_putpkt, /* 打印设备号的获取 */
  418. ^
  419. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
  420. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
  421. flashWrite, /**/
  422. ^
  423. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
  424. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
  425. memcpy,
  426. ^
  427. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
  428. Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
  429. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslSlave.d" -o "src/mslSlave.o" "E:/code/tianmai/workspace/msl/src/mslSlave.c"
  430. E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
  431. E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
  432. slaveCoreGicInit();
  433. ^
  434. E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
  435. bspTimerInit();
  436. ^
  437. E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
  438. bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
  439. ^
  440. E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
  441. BSP_Time_Enable(0);
  442. ^
  443. Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
  444. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslTAInit.d" -o "src/mslTAInit.o" "E:/code/tianmai/workspace/msl/src/mslTAInit.c"
  445. E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
  446. E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
  447. updateNetParamByShell();
  448. ^
  449. Building file: E:/code/tianmai/workspace/msl/src/spi.c
  450. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/spi.d" -o "src/spi.o" "E:/code/tianmai/workspace/msl/src/spi.c"
  451. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
  452. E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
  453. }
  454. ^
  455. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
  456. E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
  457. }
  458. ^
  459. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
  460. E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  461. printk("spi xfer timeout!\n");
  462. ^
  463. E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
  464. uint32_t max, status;
  465. ^
  466. E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
  467. E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
  468. int i = 0;
  469. ^
  470. E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
  471. E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
  472. int i = 0;
  473. ^
  474. E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
  475. UINT16 factory_613;
  476. ^
  477. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
  478. E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  479. memcpy(&sendBuf[5], buf, len);
  480. ^
  481. Invoking: GCC Archiver
  482. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
  483. D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
  484. Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  485. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  486. Invoking: GCC C Linker
  487. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -r -whole-archive E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -o checkname.o
  488. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/prelinkcmds D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  489. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  490. D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
  491. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
  492. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/catlinkcmds -Map map.txt D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  493. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  494. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  495. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  496. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/objcopy -O binary --strip-unneeded -R .note -R .comment -R .stab -R .stabstr -R .pbss E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  497. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  498. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  499. 14:53:28 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
  500. make clean
  501. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
  502. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  503. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
  504. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
  505. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
  506. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
  507. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
  508. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  509. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  510. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  511. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf ./src/gpio.o ./src/mid.o ./src/mslDev.o ./src/mslInit.o ./src/mslMain.o ./src/mslSlave.o ./src/mslTAInit.o ./src/spi.o ./src/gpio.d ./src/mid.d ./src/mslDev.d ./src/mslInit.d ./src/mslMain.d ./src/mslSlave.d ./src/mslTAInit.d ./src/spi.d
  512. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  513. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf imageInfo.c ImgInfoGen preLinkCmds _linkcmds objects.mk path.mk sources.mk v_makefile.mk config_msl.h config_msl.mk
  514. 14:53:29 **** Build of configuration ft2000aC4_mc for project msl ****
  515. make all
  516. D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
  517. Generate config files...
  518. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/hAndMkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.cfg D:/ACoreIDE
  519. .h and .mk File build success!
  520. Generate link script files...
  521. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/linkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/ram_debug.mtp preLinkCmds _linkcmds
  522. done.
  523. D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  524. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
  525. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  526. Building file: E:/code/tianmai/workspace/msl/src/gpio.c
  527. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/gpio.d" -o "src/gpio.o" "E:/code/tianmai/workspace/msl/src/gpio.c"
  528. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
  529. E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  530. printk("gpio0_porta_Func:ch %d error\n",ch);
  531. ^
  532. E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
  533. return -1;
  534. ^
  535. E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
  536. return 0;
  537. ^
  538. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
  539. E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
  540. return -1;
  541. ^
  542. E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
  543. return 0;
  544. ^
  545. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
  546. E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
  547. return -1;
  548. ^
  549. E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
  550. return 0;
  551. ^
  552. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
  553. E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
  554. spiWriteLocalBuf(0x0,&value,1);
  555. ^
  556. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
  557. E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
  558. }
  559. ^
  560. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
  561. E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
  562. }
  563. ^
  564. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
  565. E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
  566. }
  567. ^
  568. Building file: E:/code/tianmai/workspace/msl/src/mid.c
  569. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mid.d" -o "src/mid.o" "E:/code/tianmai/workspace/msl/src/mid.c"
  570. E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
  571. E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
  572. gpio_spiModeSel(0);
  573. ^
  574. E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
  575. spiReadLocalBuf(0x20,midNum,2);
  576. ^
  577. E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  578. memcpy(value,midNum,2);
  579. ^
  580. Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
  581. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslDev.d" -o "src/mslDev.o" "E:/code/tianmai/workspace/msl/src/mslDev.c"
  582. Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
  583. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslInit.d" -o "src/mslInit.o" "E:/code/tianmai/workspace/msl/src/mslInit.c"
  584. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
  585. E:/code/tianmai/workspace/msl/src/mslInit.c:195:2: warning: passing argument 1 of 'mmu_map_4KB_page' makes pointer from integer without a cast [enabled by default]
  586. mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
  587. ^
  588. In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
  589. from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
  590. D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
  591. extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
  592. ^
  593. E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
  594. arm_invalidate_tlb(); //无效当前TLB中的内容
  595. ^
  596. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
  597. E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
  598. if ( payloadBase == NULL)
  599. ^
  600. E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
  601. mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
  602. ^
  603. E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
  604. mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
  605. ^
  606. E:/code/tianmai/workspace/msl/src/mslInit.c:437:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  607. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  608. ^
  609. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  610. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  611. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  612. ^
  613. E:/code/tianmai/workspace/msl/src/mslInit.c:515:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  614. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  615. ^
  616. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  617. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  618. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  619. ^
  620. E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
  621. UINT32 payloadDataSize = 0;
  622. ^
  623. Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
  624. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslMain.d" -o "src/mslMain.o" "E:/code/tianmai/workspace/msl/src/mslMain.c"
  625. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
  626. E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
  627. ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
  628. ^
  629. In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
  630. E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
  631. extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
  632. ^
  633. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
  634. E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
  635. getStatus(&state);
  636. ^
  637. E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
  638. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
  639. mEnvLoad, /* 加载环境变量 */
  640. ^
  641. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
  642. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
  643. mEnvSave, /* 保存环境变量 */
  644. ^
  645. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
  646. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
  647. fnTA_net_getpkt, /* 打印设备号的获取 */
  648. ^
  649. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
  650. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
  651. fnTA_net_putpkt, /* 打印设备号的获取 */
  652. ^
  653. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
  654. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
  655. flashWrite, /**/
  656. ^
  657. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
  658. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
  659. memcpy,
  660. ^
  661. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
  662. Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
  663. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslSlave.d" -o "src/mslSlave.o" "E:/code/tianmai/workspace/msl/src/mslSlave.c"
  664. E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
  665. E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
  666. slaveCoreGicInit();
  667. ^
  668. E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
  669. bspTimerInit();
  670. ^
  671. E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
  672. bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
  673. ^
  674. E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
  675. BSP_Time_Enable(0);
  676. ^
  677. Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
  678. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslTAInit.d" -o "src/mslTAInit.o" "E:/code/tianmai/workspace/msl/src/mslTAInit.c"
  679. E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
  680. E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
  681. updateNetParamByShell();
  682. ^
  683. Building file: E:/code/tianmai/workspace/msl/src/spi.c
  684. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/spi.d" -o "src/spi.o" "E:/code/tianmai/workspace/msl/src/spi.c"
  685. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
  686. E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
  687. }
  688. ^
  689. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
  690. E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
  691. }
  692. ^
  693. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
  694. E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  695. printk("spi xfer timeout!\n");
  696. ^
  697. E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
  698. uint32_t max, status;
  699. ^
  700. E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
  701. E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
  702. int i = 0;
  703. ^
  704. E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
  705. E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
  706. int i = 0;
  707. ^
  708. E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
  709. UINT16 factory_613;
  710. ^
  711. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
  712. E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  713. memcpy(&sendBuf[5], buf, len);
  714. ^
  715. Invoking: GCC Archiver
  716. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
  717. D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
  718. Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  719. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  720. Invoking: GCC C Linker
  721. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -r -whole-archive E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -o checkname.o
  722. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/prelinkcmds D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  723. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  724. D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
  725. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
  726. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/catlinkcmds -Map map.txt D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  727. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  728. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  729. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  730. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/objcopy -O binary --strip-unneeded -R .note -R .comment -R .stab -R .stabstr -R .pbss E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  731. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  732. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  733. 15:35:05 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
  734. make clean
  735. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
  736. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  737. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
  738. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
  739. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
  740. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
  741. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
  742. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  743. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  744. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  745. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf ./src/gpio.o ./src/mid.o ./src/mslDev.o ./src/mslInit.o ./src/mslMain.o ./src/mslSlave.o ./src/mslTAInit.o ./src/spi.o ./src/gpio.d ./src/mid.d ./src/mslDev.d ./src/mslInit.d ./src/mslMain.d ./src/mslSlave.d ./src/mslTAInit.d ./src/spi.d
  746. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  747. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf imageInfo.c ImgInfoGen preLinkCmds _linkcmds objects.mk path.mk sources.mk v_makefile.mk config_msl.h config_msl.mk
  748. 15:35:06 **** Build of configuration ft2000aC4_mc for project msl ****
  749. make all
  750. D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
  751. Generate config files...
  752. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/hAndMkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.cfg D:/ACoreIDE
  753. .h and .mk File build success!
  754. Generate link script files...
  755. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/linkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/ram_debug.mtp preLinkCmds _linkcmds
  756. done.
  757. D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  758. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
  759. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  760. Building file: E:/code/tianmai/workspace/msl/src/gpio.c
  761. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/gpio.d" -o "src/gpio.o" "E:/code/tianmai/workspace/msl/src/gpio.c"
  762. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
  763. E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  764. printk("gpio0_porta_Func:ch %d error\n",ch);
  765. ^
  766. E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
  767. return -1;
  768. ^
  769. E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
  770. return 0;
  771. ^
  772. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
  773. E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
  774. return -1;
  775. ^
  776. E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
  777. return 0;
  778. ^
  779. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
  780. E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
  781. return -1;
  782. ^
  783. E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
  784. return 0;
  785. ^
  786. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
  787. E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
  788. spiWriteLocalBuf(0x0,&value,1);
  789. ^
  790. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
  791. E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
  792. }
  793. ^
  794. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
  795. E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
  796. }
  797. ^
  798. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
  799. E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
  800. }
  801. ^
  802. Building file: E:/code/tianmai/workspace/msl/src/mid.c
  803. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mid.d" -o "src/mid.o" "E:/code/tianmai/workspace/msl/src/mid.c"
  804. E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
  805. E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
  806. gpio_spiModeSel(0);
  807. ^
  808. E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
  809. spiReadLocalBuf(0x20,midNum,2);
  810. ^
  811. E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  812. memcpy(value,midNum,2);
  813. ^
  814. Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
  815. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslDev.d" -o "src/mslDev.o" "E:/code/tianmai/workspace/msl/src/mslDev.c"
  816. Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
  817. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslInit.d" -o "src/mslInit.o" "E:/code/tianmai/workspace/msl/src/mslInit.c"
  818. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
  819. E:/code/tianmai/workspace/msl/src/mslInit.c:195:2: warning: passing argument 1 of 'mmu_map_4KB_page' makes pointer from integer without a cast [enabled by default]
  820. mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
  821. ^
  822. In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
  823. from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
  824. D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
  825. extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
  826. ^
  827. E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
  828. arm_invalidate_tlb(); //无效当前TLB中的内容
  829. ^
  830. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
  831. E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
  832. if ( payloadBase == NULL)
  833. ^
  834. E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
  835. mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
  836. ^
  837. E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
  838. mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
  839. ^
  840. E:/code/tianmai/workspace/msl/src/mslInit.c:437:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  841. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  842. ^
  843. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  844. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  845. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  846. ^
  847. E:/code/tianmai/workspace/msl/src/mslInit.c:515:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  848. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  849. ^
  850. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  851. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  852. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  853. ^
  854. E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
  855. UINT32 payloadDataSize = 0;
  856. ^
  857. Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
  858. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslMain.d" -o "src/mslMain.o" "E:/code/tianmai/workspace/msl/src/mslMain.c"
  859. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
  860. E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
  861. ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
  862. ^
  863. In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
  864. E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
  865. extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
  866. ^
  867. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
  868. E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
  869. getStatus(&state);
  870. ^
  871. E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
  872. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
  873. mEnvLoad, /* 加载环境变量 */
  874. ^
  875. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
  876. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
  877. mEnvSave, /* 保存环境变量 */
  878. ^
  879. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
  880. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
  881. fnTA_net_getpkt, /* 打印设备号的获取 */
  882. ^
  883. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
  884. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
  885. fnTA_net_putpkt, /* 打印设备号的获取 */
  886. ^
  887. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
  888. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
  889. flashWrite, /**/
  890. ^
  891. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
  892. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
  893. memcpy,
  894. ^
  895. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
  896. Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
  897. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslSlave.d" -o "src/mslSlave.o" "E:/code/tianmai/workspace/msl/src/mslSlave.c"
  898. E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
  899. E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
  900. slaveCoreGicInit();
  901. ^
  902. E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
  903. bspTimerInit();
  904. ^
  905. E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
  906. bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
  907. ^
  908. E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
  909. BSP_Time_Enable(0);
  910. ^
  911. Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
  912. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslTAInit.d" -o "src/mslTAInit.o" "E:/code/tianmai/workspace/msl/src/mslTAInit.c"
  913. E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
  914. E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
  915. updateNetParamByShell();
  916. ^
  917. Building file: E:/code/tianmai/workspace/msl/src/spi.c
  918. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/spi.d" -o "src/spi.o" "E:/code/tianmai/workspace/msl/src/spi.c"
  919. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
  920. E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
  921. }
  922. ^
  923. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
  924. E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
  925. }
  926. ^
  927. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
  928. E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  929. printk("spi xfer timeout!\n");
  930. ^
  931. E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
  932. uint32_t max, status;
  933. ^
  934. E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
  935. E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
  936. int i = 0;
  937. ^
  938. E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
  939. E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
  940. int i = 0;
  941. ^
  942. E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
  943. UINT16 factory_613;
  944. ^
  945. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
  946. E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  947. memcpy(&sendBuf[5], buf, len);
  948. ^
  949. Invoking: GCC Archiver
  950. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
  951. D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
  952. Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  953. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  954. Invoking: GCC C Linker
  955. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -r -whole-archive E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -o checkname.o
  956. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/prelinkcmds D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  957. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  958. D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
  959. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
  960. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/catlinkcmds -Map map.txt D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  961. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  962. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  963. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  964. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/objcopy -O binary --strip-unneeded -R .note -R .comment -R .stab -R .stabstr -R .pbss E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  965. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  966. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  967. 18:47:45 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
  968. make clean
  969. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
  970. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  971. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
  972. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
  973. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
  974. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
  975. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
  976. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  977. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  978. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  979. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf ./src/gpio.o ./src/mid.o ./src/mslDev.o ./src/mslInit.o ./src/mslMain.o ./src/mslSlave.o ./src/mslTAInit.o ./src/spi.o ./src/gpio.d ./src/mid.d ./src/mslDev.d ./src/mslInit.d ./src/mslMain.d ./src/mslSlave.d ./src/mslTAInit.d ./src/spi.d
  980. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  981. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf imageInfo.c ImgInfoGen preLinkCmds _linkcmds objects.mk path.mk sources.mk v_makefile.mk config_msl.h config_msl.mk
  982. 18:47:46 **** Build of configuration ft2000aC4_mc for project msl ****
  983. make all
  984. D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
  985. Generate config files...
  986. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/hAndMkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.cfg D:/ACoreIDE
  987. .h and .mk File build success!
  988. Generate link script files...
  989. D:/ACoreIDE/host/ide/eclipse/jre/bin/java -agentlib:agentlib -jar D:/ACoreIDE/host/java/linkFileBuilder.jar E:/code/tianmai/workspace/msl/ft2000aC4_mc/ram_debug.mtp preLinkCmds _linkcmds
  990. done.
  991. D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  992. D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
  993. make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
  994. Building file: E:/code/tianmai/workspace/msl/src/gpio.c
  995. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/gpio.d" -o "src/gpio.o" "E:/code/tianmai/workspace/msl/src/gpio.c"
  996. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
  997. E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  998. printk("gpio0_porta_Func:ch %d error\n",ch);
  999. ^
  1000. E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
  1001. return -1;
  1002. ^
  1003. E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
  1004. return 0;
  1005. ^
  1006. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
  1007. E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
  1008. return -1;
  1009. ^
  1010. E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
  1011. return 0;
  1012. ^
  1013. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
  1014. E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
  1015. return -1;
  1016. ^
  1017. E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
  1018. return 0;
  1019. ^
  1020. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
  1021. E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
  1022. spiWriteLocalBuf(0x0,&value,1);
  1023. ^
  1024. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
  1025. E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
  1026. }
  1027. ^
  1028. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
  1029. E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
  1030. }
  1031. ^
  1032. E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
  1033. E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
  1034. }
  1035. ^
  1036. Building file: E:/code/tianmai/workspace/msl/src/mid.c
  1037. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mid.d" -o "src/mid.o" "E:/code/tianmai/workspace/msl/src/mid.c"
  1038. E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
  1039. E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
  1040. gpio_spiModeSel(0);
  1041. ^
  1042. E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
  1043. spiReadLocalBuf(0x20,midNum,2);
  1044. ^
  1045. E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  1046. memcpy(value,midNum,2);
  1047. ^
  1048. Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
  1049. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslDev.d" -o "src/mslDev.o" "E:/code/tianmai/workspace/msl/src/mslDev.c"
  1050. Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
  1051. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslInit.d" -o "src/mslInit.o" "E:/code/tianmai/workspace/msl/src/mslInit.c"
  1052. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
  1053. E:/code/tianmai/workspace/msl/src/mslInit.c:195:2: warning: passing argument 1 of 'mmu_map_4KB_page' makes pointer from integer without a cast [enabled by default]
  1054. mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
  1055. ^
  1056. In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
  1057. from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
  1058. D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
  1059. extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
  1060. ^
  1061. E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
  1062. arm_invalidate_tlb(); //无效当前TLB中的内容
  1063. ^
  1064. E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
  1065. E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
  1066. if ( payloadBase == NULL)
  1067. ^
  1068. E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
  1069. mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
  1070. ^
  1071. E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
  1072. mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
  1073. ^
  1074. E:/code/tianmai/workspace/msl/src/mslInit.c:437:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  1075. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  1076. ^
  1077. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  1078. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  1079. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  1080. ^
  1081. E:/code/tianmai/workspace/msl/src/mslInit.c:515:3: warning: passing argument 2 of 'mslErrorMessageShow' makes integer from pointer without a cast [enabled by default]
  1082. mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
  1083. ^
  1084. In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
  1085. D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
  1086. extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
  1087. ^
  1088. E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
  1089. UINT32 payloadDataSize = 0;
  1090. ^
  1091. Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
  1092. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslMain.d" -o "src/mslMain.o" "E:/code/tianmai/workspace/msl/src/mslMain.c"
  1093. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
  1094. E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
  1095. ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
  1096. ^
  1097. In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
  1098. E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
  1099. extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
  1100. ^
  1101. E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
  1102. E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
  1103. getStatus(&state);
  1104. ^
  1105. E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
  1106. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
  1107. mEnvLoad, /* 加载环境变量 */
  1108. ^
  1109. E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
  1110. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
  1111. mEnvSave, /* 保存环境变量 */
  1112. ^
  1113. E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
  1114. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
  1115. fnTA_net_getpkt, /* 打印设备号的获取 */
  1116. ^
  1117. E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
  1118. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
  1119. fnTA_net_putpkt, /* 打印设备号的获取 */
  1120. ^
  1121. E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
  1122. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
  1123. flashWrite, /**/
  1124. ^
  1125. E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
  1126. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
  1127. memcpy,
  1128. ^
  1129. E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
  1130. Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
  1131. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslSlave.d" -o "src/mslSlave.o" "E:/code/tianmai/workspace/msl/src/mslSlave.c"
  1132. E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
  1133. E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
  1134. slaveCoreGicInit();
  1135. ^
  1136. E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
  1137. bspTimerInit();
  1138. ^
  1139. E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
  1140. bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
  1141. ^
  1142. E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
  1143. BSP_Time_Enable(0);
  1144. ^
  1145. Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
  1146. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/mslTAInit.d" -o "src/mslTAInit.o" "E:/code/tianmai/workspace/msl/src/mslTAInit.c"
  1147. E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
  1148. E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
  1149. updateNetParamByShell();
  1150. ^
  1151. Building file: E:/code/tianmai/workspace/msl/src/spi.c
  1152. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/gcc -D__ARM__ -DACOREMCOS_MCORE -DCPU=ARMV8A -DCONFIG_BOARD=ft2000aC4 -DCONFIG_MSL_TYPE=0 -DCONFIG_TOOLS_VERSION=3 -IE:/code/tianmai/workspace/msl/ft2000aC4_mc -IE:/code/tianmai/workspace/msl -IE:/code/tianmai/workspace/msl/src -ID:/ACoreIDE/target/common/include -ID:/ACoreIDE/target/common/include/dbg -ID:/ACoreIDE/target/common/include/os -ID:/ACoreIDE/target/common/include/drv -ID:/ACoreIDE/target/common/include/fs -ID:/ACoreIDE/target/common/include/fs/bootfs -ID:/ACoreIDE/target/common/include/rtl -ID:/ACoreIDE/target/common/include/rtl/sys -ID:/ACoreIDE/target/common/include/arch -ID:/ACoreIDE/target/common/include/msl -ID:/ACoreIDE/target/common/include/dbg/ta -ID:/ACoreIDE/target/common/bsp/platform/ft2000aC4 -O0 -g -gdwarf-3 -Wall -c -fno-builtin -fno-common -fno-strict-aliasing -fno-short-enums -fmessage-length=0 -march=armv8-a -mlong-calls -mlittle-endian -mhard-float -mfpu=vfpv3 -MMD -MF"src/spi.d" -o "src/spi.o" "E:/code/tianmai/workspace/msl/src/spi.c"
  1153. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
  1154. E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
  1155. }
  1156. ^
  1157. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
  1158. E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
  1159. }
  1160. ^
  1161. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
  1162. E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
  1163. printk("spi xfer timeout!\n");
  1164. ^
  1165. E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
  1166. uint32_t max, status;
  1167. ^
  1168. E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
  1169. E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
  1170. int i = 0;
  1171. ^
  1172. E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
  1173. E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
  1174. int i = 0;
  1175. ^
  1176. E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
  1177. UINT16 factory_613;
  1178. ^
  1179. E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
  1180. E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  1181. memcpy(&sendBuf[5], buf, len);
  1182. ^
  1183. Invoking: GCC Archiver
  1184. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
  1185. D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
  1186. Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
  1187. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  1188. Invoking: GCC C Linker
  1189. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -r -whole-archive E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -o checkname.o
  1190. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/prelinkcmds D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  1191. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  1192. D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
  1193. D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
  1194. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ld -LD:/ACoreIDE/target/common/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a -LD:/ACoreIDE/target/acoreosmp/lib/mcore/gcc-4.8.1/arm/armv8a -LE:/code/tianmai/workspace/msl/ft2000aC4_mc/lib -N -T E:/code/tianmai/workspace/msl/ft2000aC4_mc/catlinkcmds -Map map.txt D:/ACoreIDE/target/common/bsp/lib/mcore/gcc-4.8.1/arm/armv8a/ft2000aC4Start.o --start-group E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a -lft2000aC4Drv -lgcc -lmslarincsha -lmaisym -lclib -lm -lmatharch -larch -lcomarch -lcheap -lmslarch -lutils -lmslshare -lmslheap -lmslmossha -lo2mclb -luo2mclb -lmoisym -lmrisym -lum2osym -lmmoisym -lmo2mclb -ltar -ltararch -ltaaux -ltpkt -lmmdoisym -lmdoisym -limds -lprintk --whole-archive -lbootsh --no-whole-archive -lbedrh --end-group -o E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  1195. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/size -A -x E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf 1>presize.txt
  1196. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
  1197. Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  1198. D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/objcopy -O binary --strip-unneeded -R .note -R .comment -R .stab -R .stabstr -R .pbss E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  1199. Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
  1200. make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'