123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986 |
- 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'
|