Tool/software: Linux
gcc -Wall -DVERSION_NUMBER="0.1" main.o zbSocCmd.o zbSocTransportUart.o -L.../usr/lib/ -o gw_soc_fw_version_query.bin cp: cannot stat '/home/securifi/ti/Zigbee_3_0_Linux_Gateway_1_0_0/source/Projects/zstack/linux/scripts/hagateway/reset/x86/soc_reset_hold': No such file or directory cp: cannot stat '/home/securifi/ti/Zigbee_3_0_Linux_Gateway_1_0_0/source/Projects/zstack/linux/scripts/hagateway/reset/x86/soc_reset_release': No such file or directory cp: cannot stat '/home/securifi/ti/Zigbee_3_0_Linux_Gateway_1_0_0/source/Projects/zstack/linux/protobuf-c/lib/x86/libprotobuf-c.so.0.0.0': No such file or directory Package verification results: ERROR: 2 error(s) occured during make ERROR: 110 warning(s) occured during make sort: cannot read: /home/securifi/ti/Zigbee_3_0_Linux_Gateway_1_0_0/source/Projects/zstack/linux/scripts/package_builder_expected_content_RUNTIME_x86.txt: No such file or directory diff /home/securifi/ti/Zigbee_3_0_Linux_Gateway_1_0_0/source/out/content.txt /home/securifi/ti/Zigbee_3_0_Linux_Gateway_1_0_0/source/out/expected_content.txt 1,29d0 < . < ./content.txt < ./Precompiled < ./Precompiled/app < ./Precompiled/app/main.bin < ./Precompiled/misc < ./Precompiled/misc/CC2531-GW-ZNP_39203.bin < ./Precompiled/misc/ota_sample_images < ./Precompiled/misc/ota_sample_images/5678-1234-0000AAAA.zigbee < ./Precompiled/misc/ota_sample_images/5678-1234-0000BBBB.zigbee < ./Precompiled/protobuf < ./Precompiled/servers < ./Precompiled/servers/config.ini < ./Precompiled/servers/gateway_config.ini < ./Precompiled/servers/gateway_config.tlg < ./Precompiled/servers/GATEWAY_SRVR_x86 < ./Precompiled/servers/NPI_Gateway.cfg < ./Precompiled/servers/NPI_lnx_x86_server < ./Precompiled/servers/nwkmgr_config.ini < ./Precompiled/servers/NWKMGR_SRVR_x86 < ./Precompiled/servers/OTA_SRVR_x86 < ./Precompiled/servers/sample_app_ota.cfg < ./Precompiled/servers/start_application < ./Precompiled/servers/track_servers < ./Precompiled/servers/zigbeeHAgw < ./Precompiled/servers/ZLSZNP_x86 < ./Precompiled/tools < ./Precompiled/tools/gw_soc_fw_version_query.bin < ./Precompiled/tools/sbl_tool.bin ERROR: Content verification failed mv: target 'directory.tar' is not a directory ERROR: RUNTIME package for x86 creation failed. See details above. Output folder/tar name prefixed with "ERROR_."
The build says failed but it generated servers as I see in this folder "source/ERROR__out/Precompiled/servers". I tried to run the generated servers using "zigbeeHAgw" script. It always failed and says "Could not initialize SoC... exiting".
$ ./zigbeeHAgw x86 running ./zigbeeHAgw on an x86 done processing arguments, board type x86, target x86 NPI is 'NPI_lnx_x86_server' Zstack linux server is 'ZLSZNP_x86' gateway server is 'GATEWAY_SRVR_x86' network manager is 'NWKMGR_SRVR_x86' OTA server is 'OTA_SRVR_x86' Starting the ZigBee gateway subsystem making sure there are no lingering servers... there are 0 NPI servers there are 0 ZLS servers there are 0 GATEWAY servers there are 0 NWKMGR servers there are 0 OTA servers (total 0) done =================================================== starting NPI, cmd ' ./NPI_lnx_x86_server NPI_Gateway.cfg ' on Sat May 11 12:29:20 IST 2019 [12:29:20.533,786] [NPISRVR/MAIN] UNMSKBL: [12:29:20.533,821] [NPISRVR/MAIN] UNMSKBL: ************************************************ [12:29:20.533,824] [NPISRVR/MAIN] UNMSKBL: * NPI Server v1.0.2d * [12:29:20.533,826] [NPISRVR/MAIN] UNMSKBL: ************************************************ [12:29:20.533,827] [NPISRVR/MAIN] UNMSKBL: getaddrinfo error: Servname not supported for ai_socktype Startup phase 1 completed successfully, server started (NPI_PID=16910) on Sat May 11 12:29:20 IST 2019 =================================================== starting ZLSZNP, cmd ' ' on Sat May 11 12:29:20 IST 2019 [12:29:20.558,930] [Z_STACK/MAIN] UNMSKBL: [12:29:20.558,997] [Z_STACK/MAIN] UNMSKBL: ************************************************ [12:29:20.559,001] [Z_STACK/MAIN] UNMSKBL: * ZStack Server for ZNP v1.0.2d * [12:29:20.559,003] [Z_STACK/MAIN] UNMSKBL: ************************************************ [12:29:20.559,005] [Z_STACK/MAIN] UNMSKBL: [12:29:22.559,123] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:22.559,145] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:24.559,257] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:24.559,298] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:26.559,443] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:26.559,476] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:28.559,609] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:28.559,628] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:30.559,749] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:30.559,771] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:32.559,877] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:32.559,894] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:34.560,035] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:34.560,078] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:36.560,221] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:36.560,245] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:38.560,374] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:38.560,388] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response Startup phase 2 completed successfully, server started (ZLSZNP_PID=16918) on Sat May 11 12:29:38 IST 2019 =================================================== starting NETWORK_MGR, cmd ' ./NWKMGR_SRVR_x86 127.0.0.1:2536 ' on Sat May 11 12:29:38 IST 2019 [12:29:38.562,932] [NWK_MGR/MAIN] UNMSKBL: [12:29:38.562,960] [NWK_MGR/MAIN] UNMSKBL: ************************************************ [12:29:38.562,963] [NWK_MGR/MAIN] UNMSKBL: * Network Manager Server v1.0.2d * [12:29:38.562,965] [NWK_MGR/MAIN] UNMSKBL: ************************************************ [12:29:38.562,967] [NWK_MGR/MAIN] UNMSKBL: [12:29:40.560,745] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:40.560,781] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:40.563,256] [NWK_MGR/MAIN] ERROR : SRSP Cond Wait timed out! [12:29:40.563,288] [NWK_MGR/MAIN] ERROR : apicSendSynchData() failed getting response [12:29:40.563,568] [NWK_MGR/MAIN] ERROR : Reading Local Network Information Failed [12:29:40.563,582] [NWK_MGR/MAIN] UNMSKBL: Initialization failed. Quitting now. Startup phase 3 failed waiting for Zstack linux to exit waiting for NPI to exit making sure there are no lingering servers... there are 0 NPI servers there are 0 ZLS servers there are 0 GATEWAY servers there are 0 NWKMGR servers there are 0 OTA servers (total 0) done *************************************************************** Please unplug the ZigBee USB dongle (/dev/ttyACM0) to continue... Please wait... Please plug in the ZigBee USB dongle to continue... Please wait... =================================================== starting NPI, cmd ' ./NPI_lnx_x86_server NPI_Gateway.cfg ' on Sat May 11 12:30:01 IST 2019 [12:30:01.731,957] [NPISRVR/MAIN] UNMSKBL: [12:30:01.732,074] [NPISRVR/MAIN] UNMSKBL: ************************************************ [12:30:01.732,087] [NPISRVR/MAIN] UNMSKBL: * NPI Server v1.0.2d * [12:30:01.732,095] [NPISRVR/MAIN] UNMSKBL: ************************************************ [12:30:01.732,102] [NPISRVR/MAIN] UNMSKBL: [12:30:01.732,635] [NPISRVR/MAIN] ERROR : Could not initialize SoC... exiting Startup phase 1 failed making sure there are no lingering servers... there are 0 NPI servers there are 0 ZLS servers there are 0 GATEWAY servers there are 0 NWKMGR servers there are 0 OTA servers (total 0) done *************************************************************** Please unplug the ZigBee USB dongle (/dev/ttyACM0) to continue...