1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225 |
- 23:58:47 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
- make clean
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 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
- 23:58:47 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
- make clean
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 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
- 23:58:48 **** Build of configuration ft2000aC4_mc for project msl ****
- make all
- D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
- Generate config files...
- 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
- .h and .mk File build success!
- Generate link script files...
- 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
- done.
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- Building file: E:/code/tianmai/workspace/msl/src/gpio.c
- 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"
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("gpio0_porta_Func:ch %d error\n",ch);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
- E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
- spiWriteLocalBuf(0x0,&value,1);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
- E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
- E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
- E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mid.c
- 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"
- E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
- E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
- gpio_spiModeSel(0);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
- spiReadLocalBuf(0x20,midNum,2);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(value,midNum,2);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
- 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"
- Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
- 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]
- mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
- ^
- In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
- from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
- D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
- extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
- arm_invalidate_tlb(); //无效当前TLB中的内容
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
- E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
- if ( payloadBase == NULL)
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
- UINT32 payloadDataSize = 0;
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
- E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
- ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
- E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
- extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
- E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
- getStatus(&state);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvLoad, /* 加载环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvSave, /* 保存环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_getpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_putpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
- flashWrite, /**/
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
- memcpy,
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
- Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
- E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
- slaveCoreGicInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
- bspTimerInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
- bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
- BSP_Time_Enable(0);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
- E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
- updateNetParamByShell();
- ^
- Building file: E:/code/tianmai/workspace/msl/src/spi.c
- 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"
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
- E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
- E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
- E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("spi xfer timeout!\n");
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
- uint32_t max, status;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
- UINT16 factory_613;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
- E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(&sendBuf[5], buf, len);
- ^
- Invoking: GCC Archiver
- D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
- D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
- Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- Invoking: GCC C Linker
- 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
- 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
- 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
- D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
- 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
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
-
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 00:25:20 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
- make clean
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 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
- 00:25:29 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
- make clean
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 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
- 00:25:29 **** Build of configuration ft2000aC4_mc for project msl ****
- make all
- D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
- Generate config files...
- 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
- .h and .mk File build success!
- Generate link script files...
- 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
- done.
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- Building file: E:/code/tianmai/workspace/msl/src/gpio.c
- 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"
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("gpio0_porta_Func:ch %d error\n",ch);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
- E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
- spiWriteLocalBuf(0x0,&value,1);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
- E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
- E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
- E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mid.c
- 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"
- E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
- E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
- gpio_spiModeSel(0);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
- spiReadLocalBuf(0x20,midNum,2);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(value,midNum,2);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
- 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"
- Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
- 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]
- mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
- ^
- In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
- from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
- D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
- extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
- arm_invalidate_tlb(); //无效当前TLB中的内容
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
- E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
- if ( payloadBase == NULL)
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
- UINT32 payloadDataSize = 0;
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
- E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
- ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
- E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
- extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
- E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
- getStatus(&state);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvLoad, /* 加载环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvSave, /* 保存环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_getpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_putpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
- flashWrite, /**/
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
- memcpy,
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
- Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
- E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
- slaveCoreGicInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
- bspTimerInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
- bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
- BSP_Time_Enable(0);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
- E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
- updateNetParamByShell();
- ^
- Building file: E:/code/tianmai/workspace/msl/src/spi.c
- 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"
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
- E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
- E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
- E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("spi xfer timeout!\n");
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
- uint32_t max, status;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
- UINT16 factory_613;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
- E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(&sendBuf[5], buf, len);
- ^
- Invoking: GCC Archiver
- D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
- D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
- Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- Invoking: GCC C Linker
- 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
- 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
- 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
- D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
- 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
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
-
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 14:53:28 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
- make clean
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 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
- 14:53:29 **** Build of configuration ft2000aC4_mc for project msl ****
- make all
- D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
- Generate config files...
- 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
- .h and .mk File build success!
- Generate link script files...
- 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
- done.
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- Building file: E:/code/tianmai/workspace/msl/src/gpio.c
- 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"
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("gpio0_porta_Func:ch %d error\n",ch);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
- E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
- spiWriteLocalBuf(0x0,&value,1);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
- E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
- E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
- E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mid.c
- 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"
- E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
- E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
- gpio_spiModeSel(0);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
- spiReadLocalBuf(0x20,midNum,2);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(value,midNum,2);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
- 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"
- Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
- 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]
- mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
- ^
- In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
- from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
- D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
- extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
- arm_invalidate_tlb(); //无效当前TLB中的内容
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
- E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
- if ( payloadBase == NULL)
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
- UINT32 payloadDataSize = 0;
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
- E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
- ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
- E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
- extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
- E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
- getStatus(&state);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvLoad, /* 加载环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvSave, /* 保存环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_getpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_putpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
- flashWrite, /**/
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
- memcpy,
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
- Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
- E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
- slaveCoreGicInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
- bspTimerInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
- bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
- BSP_Time_Enable(0);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
- E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
- updateNetParamByShell();
- ^
- Building file: E:/code/tianmai/workspace/msl/src/spi.c
- 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"
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
- E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
- E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
- E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("spi xfer timeout!\n");
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
- uint32_t max, status;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
- UINT16 factory_613;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
- E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(&sendBuf[5], buf, len);
- ^
- Invoking: GCC Archiver
- D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
- D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
- Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- Invoking: GCC C Linker
- 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
- 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
- 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
- D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
- 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
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
-
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 15:35:05 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
- make clean
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 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
- 15:35:06 **** Build of configuration ft2000aC4_mc for project msl ****
- make all
- D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
- Generate config files...
- 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
- .h and .mk File build success!
- Generate link script files...
- 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
- done.
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- Building file: E:/code/tianmai/workspace/msl/src/gpio.c
- 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"
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("gpio0_porta_Func:ch %d error\n",ch);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
- E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
- spiWriteLocalBuf(0x0,&value,1);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
- E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
- E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
- E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mid.c
- 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"
- E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
- E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
- gpio_spiModeSel(0);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
- spiReadLocalBuf(0x20,midNum,2);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(value,midNum,2);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
- 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"
- Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
- 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]
- mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
- ^
- In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
- from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
- D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
- extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
- arm_invalidate_tlb(); //无效当前TLB中的内容
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
- E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
- if ( payloadBase == NULL)
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
- UINT32 payloadDataSize = 0;
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
- E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
- ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
- E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
- extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
- E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
- getStatus(&state);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvLoad, /* 加载环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvSave, /* 保存环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_getpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_putpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
- flashWrite, /**/
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
- memcpy,
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
- Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
- E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
- slaveCoreGicInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
- bspTimerInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
- bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
- BSP_Time_Enable(0);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
- E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
- updateNetParamByShell();
- ^
- Building file: E:/code/tianmai/workspace/msl/src/spi.c
- 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"
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
- E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
- E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
- E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("spi xfer timeout!\n");
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
- uint32_t max, status;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
- UINT16 factory_613;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
- E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(&sendBuf[5], buf, len);
- ^
- Invoking: GCC Archiver
- D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
- D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
- Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- Invoking: GCC C Linker
- 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
- 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
- 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
- D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
- 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
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
-
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 18:47:45 **** Clean-only build of configuration ft2000aC4_mc for project msl ****
- make clean
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk clean
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf checkname.o
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf catlinkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf map.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf presize.txt
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- 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
- 18:47:46 **** Build of configuration ft2000aC4_mc for project msl ****
- make all
- D:/ACoreIDE/host/cygwin/c6000/bin/chmod 777 -R E:/code/tianmai/workspace/msl
- Generate config files...
- 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
- .h and .mk File build success!
- Generate link script files...
- 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
- done.
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -f E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- D:/ACoreIDE/host/cygwin/c6000/bin/make -f make.mk all
- make[1]: Entering directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
- Building file: E:/code/tianmai/workspace/msl/src/gpio.c
- 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"
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio0_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:33:3: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("gpio0_porta_Func:ch %d error\n",ch);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:34:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:99:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_porta_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:216:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:299:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio1_portb_Func':
- E:/code/tianmai/workspace/msl/src/gpio.c:315:3: warning: 'return' with a value, in function returning void [enabled by default]
- return -1;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c:384:2: warning: 'return' with a value, in function returning void [enabled by default]
- return 0;
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'selNvramPice':
- E:/code/tianmai/workspace/msl/src/gpio.c:545:2: warning: implicit declaration of function 'spiWriteLocalBuf' [-Wimplicit-function-declaration]
- spiWriteLocalBuf(0x0,&value,1);
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_dr_set':
- E:/code/tianmai/workspace/msl/src/gpio.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_read':
- E:/code/tianmai/workspace/msl/src/gpio.c:459:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/gpio.c: In function 'gpio_write':
- E:/code/tianmai/workspace/msl/src/gpio.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mid.c
- 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"
- E:/code/tianmai/workspace/msl/src/mid.c: In function 'getMid':
- E:/code/tianmai/workspace/msl/src/mid.c:16:2: warning: implicit declaration of function 'gpio_spiModeSel' [-Wimplicit-function-declaration]
- gpio_spiModeSel(0);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:17:2: warning: implicit declaration of function 'spiReadLocalBuf' [-Wimplicit-function-declaration]
- spiReadLocalBuf(0x20,midNum,2);
- ^
- E:/code/tianmai/workspace/msl/src/mid.c:18:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(value,midNum,2);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslDev.c
- 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"
- Building file: E:/code/tianmai/workspace/msl/src/mslInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'convertToRamPayload':
- 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]
- mmu_map_4KB_page(*(UINT32*)_Core_Space_MMU_Base,&mm,1);
- ^
- In file included from D:/ACoreIDE/target/common/include/os/mem.h:39:0,
- from E:/code/tianmai/workspace/msl/src/mslInit.c:31:
- D:/ACoreIDE/target/common/include/arch/archMmu.h:127:13: note: expected 'void *' but argument is of type 'UINT32'
- extern BOOL mmu_map_4KB_page(void *baseTable, Memory_Block *memoryBlock,UINT32 stage);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:197:2: warning: implicit declaration of function 'arm_invalidate_tlb' [-Wimplicit-function-declaration]
- arm_invalidate_tlb(); //无效当前TLB中的内容
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c: In function 'mslInit':
- E:/code/tianmai/workspace/msl/src/mslInit.c:264:21: warning: comparison between pointer and integer [enabled by default]
- if ( payloadBase == NULL)
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:276:4: warning: implicit declaration of function 'mslRAMPayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslRAMPayloadLoadAllImage(payloadBase, PAYLOAD_DATA_FILE_SIZE);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:304:4: warning: implicit declaration of function 'mslOnlinePayloadLoadAllImage' [-Wimplicit-function-declaration]
- mslOnlinePayloadLoadAllImage((UINT32 *)&pConfigRecord, &gRamDownConfigRecordSize);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- 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]
- mslErrorMessageShow("MSL:mmu init finished, %s %d!\n", __func__, __LINE__, 0, 0, 0, 0);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslInit.c:35:0:
- D:/ACoreIDE/target/common/include/msl/mslLib.h:72:13: note: expected 'UINT32' but argument is of type 'const char *'
- extern void mslErrorMessageShow(char *fmt,UINT32 arg0,UINT32 arg1,UINT32 arg2,UINT32 arg3,UINT32 arg4,UINT32 arg5);
- ^
- E:/code/tianmai/workspace/msl/src/mslInit.c:226:9: warning: unused variable 'payloadDataSize' [-Wunused-variable]
- UINT32 payloadDataSize = 0;
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslMain.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'mEnvSave':
- E:/code/tianmai/workspace/msl/src/mslMain.c:106:2: warning: pointer targets in passing argument 2 of 'flashWrite' differ in signedness [-Wpointer-sign]
- ret=flashWrite(CONFIG_CMD_PARAM_ADDR, buf, len);
- ^
- In file included from E:/code/tianmai/workspace/msl/src/mslMain.c:34:0:
- E:/code/tianmai/workspace/msl/src/mslProject.h:110:14: note: expected 'char *' but argument is of type 'UINT8 *'
- extern ULONG flashWrite(ADDRESS flashStart, char * buf, ULONG nbytes);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: In function 'getDefaultEnv':
- E:/code/tianmai/workspace/msl/src/mslMain.c:131:2: warning: implicit declaration of function 'getStatus' [-Wimplicit-function-declaration]
- getStatus(&state);
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c: At top level:
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvLoad, /* 加载环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:151:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvLoad') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: initialization from incompatible pointer type [enabled by default]
- mEnvSave, /* 保存环境变量 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:152:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellEnvSave') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_getpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:169:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetGetPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: initialization from incompatible pointer type [enabled by default]
- fnTA_net_putpkt, /* 打印设备号的获取 */
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:170:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellNetPutPkt') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: initialization from incompatible pointer type [enabled by default]
- flashWrite, /**/
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:178:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomWrite') [enabled by default]
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: initialization from incompatible pointer type [enabled by default]
- memcpy,
- ^
- E:/code/tianmai/workspace/msl/src/mslMain.c:179:2: warning: (near initialization for 'mslShellCallFuncTbl.mShellRomRead') [enabled by default]
- Building file: E:/code/tianmai/workspace/msl/src/mslSlave.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslSlave.c: In function 'mslSecondaryInit':
- E:/code/tianmai/workspace/msl/src/mslSlave.c:88:2: warning: implicit declaration of function 'slaveCoreGicInit' [-Wimplicit-function-declaration]
- slaveCoreGicInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:90:2: warning: implicit declaration of function 'bspTimerInit' [-Wimplicit-function-declaration]
- bspTimerInit();
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:91:2: warning: implicit declaration of function 'bspSystemClockInit' [-Wimplicit-function-declaration]
- bspSystemClockInit(msl_microseconds_per_tick); /* 初始化Tick时钟,实现tick的中断初始化 */
- ^
- E:/code/tianmai/workspace/msl/src/mslSlave.c:92:2: warning: implicit declaration of function 'BSP_Time_Enable' [-Wimplicit-function-declaration]
- BSP_Time_Enable(0);
- ^
- Building file: E:/code/tianmai/workspace/msl/src/mslTAInit.c
- 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"
- E:/code/tianmai/workspace/msl/src/mslTAInit.c: In function 'taInitDevice':
- E:/code/tianmai/workspace/msl/src/mslTAInit.c:214:5: warning: implicit declaration of function 'updateNetParamByShell' [-Wimplicit-function-declaration]
- updateNetParamByShell();
- ^
- Building file: E:/code/tianmai/workspace/msl/src/spi.c
- 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"
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_write':
- E:/code/tianmai/workspace/msl/src/spi.c:128:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_read':
- E:/code/tianmai/workspace/msl/src/spi.c:144:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spi_xfer':
- E:/code/tianmai/workspace/msl/src/spi.c:256:8: warning: implicit declaration of function 'printk' [-Wimplicit-function-declaration]
- printk("spi xfer timeout!\n");
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:190:14: warning: unused variable 'max' [-Wunused-variable]
- uint32_t max, status;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'showCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:292:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'getCpldVersion':
- E:/code/tianmai/workspace/msl/src/spi.c:333:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c:332:9: warning: variable 'factory_613' set but not used [-Wunused-but-set-variable]
- UINT16 factory_613;
- ^
- E:/code/tianmai/workspace/msl/src/spi.c: In function 'spiWriteLocalBuf':
- E:/code/tianmai/workspace/msl/src/spi.c:374:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
- memcpy(&sendBuf[5], buf, len);
- ^
- Invoking: GCC Archiver
- D:/ACoreIDE/host/gnu/gcc-4.8.1/arm/bin/ar -rc E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a @prjObjs.lst
- D:/ACoreIDE/host/cygwin/c6000/bin/echo 'Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a'
- Finished building: E:/code/tianmai/workspace/msl/ft2000aC4_mc/libmsl.a
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
- Invoking: GCC C Linker
- 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
- 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
- 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
- D:/ACoreIDE/host/cygwin/c6000/bin/gawk -f D:/ACoreIDE/host/common/script/parse.awk presize.txt > linkcmds
- D:/ACoreIDE/host/cygwin/c6000/bin/rm -rf E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf presize.txt
- 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
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.elf
-
- Building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
- 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
- Finished building target: E:/code/tianmai/workspace/msl/ft2000aC4_mc/msl.bin
-
- make[1]: Leaving directory `/cygdrive/e/code/tianmai/workspace/msl/ft2000aC4_mc'
|