This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1352P: Zigbee Linux Sensor to Cloud: Startup phase 2 failed with [ERR] npi_ipc_errno 0x02030100

Part Number: CC1352P
Other Parts Discussed in Thread: , CC2652R, CC2531, UNIFLASH, FLASH-PROGRAMMER

Hi,

I am running Zigbee Linux Sensor to Cloud demo on BB Black and CC1352P-2 LaunchPad.

After the building of the gateway completed, I tried to run the zigbeeHAgw script with a CC1352P LaunchPad as ZNP. The below error appeared and the gateway went into an endless loop trying to reset the ZNP.

Please find the log as below and please advice about this issue, thanks!

Best regards,

Shuyang

==========================================================

debian@beaglebone:~/source/Projects/node$ cd ~/source/out/Precompiled/servers
debian@beaglebone:~/source/out/Precompiled/servers$ sudo ./zigbeeHAgw
Platform type selected automatically as bbb.
To override this selection, please stop this script, and then run it again,
specifying the desired platform type at the command line:
./zigbeeHAgw [help | bbb | x86 ]

running ./zigbeeHAgw on an ARM
done processing arguments, board type bbb, target arm
NPI is 'NPI_lnx_arm_server'
Zstack linux server is 'ZLSZNP_arm'
gateway server is 'GATEWAY_SRVR_arm'
network manager is 'NWKMGR_SRVR_arm'
OTA server is 'OTA_SRVR_arm'
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
Executing reset from external scripts
===================================================
starting NPI, cmd ' ./NPI_lnx_arm_server NPI_Gateway.cfg -v 0x0000010E ' on Fri Jul 24 14:13:04 UTC 2020
[14:13:04.283,660] [NPISRVR/MAIN] UNMSKBL:
[14:13:04.284,076] [NPISRVR/MAIN] UNMSKBL: ************************************************
[14:13:04.284,105] [NPISRVR/MAIN] UNMSKBL: * NPI Server v1.0.2d *
[14:13:04.284,129] [NPISRVR/MAIN] UNMSKBL: ************************************************
[14:13:04.284,150] [NPISRVR/MAIN] UNMSKBL:
Startup phase 1 completed successfully, server started (NPI_PID=2501) on Fri Jul 24 14:13:09 UTC 2020
===================================================
starting ZLSZNP, cmd ' ./ZLSZNP_arm 127.0.0.1:2533 config.ini -v 0x0000460E ' on Fri Jul 24 14:13:09 UTC 2020
[14:13:09.650,350] [Z_STACK/MAIN] UNMSKBL:
[14:13:09.653,757] [Z_STACK/MAIN] UNMSKBL: ************************************************
[14:13:09.654,692] [Z_STACK/MAIN] UNMSKBL: * ZStack Server for ZNP v1.0.2d *
[14:13:09.655,316] [Z_STACK/MAIN] UNMSKBL: ************************************************
[14:13:09.657,964] [Z_STACK/MAIN] UNMSKBL:
[14:13:09.658,986] [Z_STACK/MAIN] PKTTYPE: [ NPISRVR<<Z_STACK ] [AREQ] 08:5F:00:02:5A:5F:53:54:41:43:4B
[14:13:09.660,325] [NPISRVR/MAIN] PKT_HEX: New incoming connection from client Z_STACK (connection # 5)
[14:13:09.662,238] [Z_STACK/MAIN] PKTTYPE: [ NPISRVR<<Z_STACK ] [SREQ] 02:25:3E:FF:FF
[14:13:09.664,614] [NPISRVR/MAIN] PKT_HEX: [SOCZIGB<<NPISRVR ] [send] 02:25:3E:FF:FF
ERR:: Input/output error
[ERR] npi_ipc_errno 0x02030100
Exit socket while loop
[14:13:11.674,503] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out!
[14:13:11.674,924] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response
[14:13:11.675,082] [Z_STACK/MAIN] PKTTYPE: [ NPISRVR<<Z_STACK ] [SREQ] 01:2F:09:00
[14:13:13.675,885] [Z_STACK/MAIN] ERROR : SRSP Cond Wait timed out!
[14:13:13.676,292] [Z_STACK/MAIN] ERROR : apicSendSynchData() failed getting response
[14:13:13.676,441] [Z_STACK/MAIN] PKTTYPE: [ NPISRVR<<Z_STACK ] [SREQ] 01:2F:06:00
Startup phase 2 failed
NPI_lnx_arm_server: no process found
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
Executing reset from external scripts
===================================================

  • It seems that your CC1352P LaunchPad ZNP doesn’t work well. I suggest you to connect it to Desktop and use ZTool to verify it first.

  • Hi YiKai,

    Can you give some advice how to test the ZNP through ZTOOL? I followed the post on your blogspot to send some commands, but got nothing in response.

    The firmware on the LaunchPad is CC1352P2LP_GW_ZNP_UART.hex from the Zigbee_3_0_Linux_Gateway_1_0_1.

    Best regards,

    Shuyang

  • Hi Shuyang,

    The fact that ZTool recognizes the LaunchPad connection is a good sign.  Make sure to erase all device memory before programming the LAUNCHXL-CC1352P (-2) board, and try pressing the reset button before attempting communication.  It is Rev E silicon, correct?  https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/156/t/767774 

    Regards,
    Ryan

  • Hi Ryan,

    I flashed the LaunchPad again and it is now responsible to the ZTOOL, but the gateway still have the same error.

    I can't find the silicon REV because it is shielded, only can see the LaunchPad Rev B on the back.

    I also tried the ZNP with another CC2652R LaunchPad, and also got the error. Could it be something wrong with the gateway? Please find the building log as below.

    Thanks.

    debian@beaglebone:~/source/out/Precompiled/servers$ cd ~/source
    debian@beaglebone:~/source$ sudo dos2unix setup.sh
    dos2unix: converting file setup.sh to Unix format...
    debian@beaglebone:~/source$ sudo chmod +x setup.sh
    debian@beaglebone:~/source$ sudo ./setup.sh
    ******************* BEGIN SETUP! ********************
    This setup script will:
    - make all necessary scripts executable
    - ensure necessary files have UNIX line endings
    - remove prebuilt directories
    - install Node Modules for Node.js Zigbee Gateway
    - build Linux Zigbee Gateway
    - extract Linux Zigbee Gateway binaries
    *****************************************************
    Entered /Projets/node Directory

    Make the gateway scripts executable

    SUCCESS - gateway scripts executable
    /home/debian/source

    Remove ERROR__out or out Directory if present

    rm: cannot remove 'ERROR__out/': No such file or directory
    Removed Previous built package.

    Convert all files from dos2unix

    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/.cfignore to Unix format...
    dos2unix: Binary symbol 0x1A found at line 2
    dos2unix: Skipping binary file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/img/light_off.png
    dos2unix: Binary symbol 0x1A found at line 2
    dos2unix: Skipping binary file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/img/unlock.png
    dos2unix: Binary symbol 0x1A found at line 2
    dos2unix: Skipping binary file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/img/light_on.png
    dos2unix: Binary symbol 0x1A found at line 2
    dos2unix: Skipping binary file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/img/lock.png
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/jquery/jquery-1.12.0.min.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap-reboot.css.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap-grid.css.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap.css to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap-grid.min.css.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap-reboot.css to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/slider.css to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap-grid.css to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap.min.css.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap-reboot.min.css.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap.css.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap-grid.min.css to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap.min.css to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/css/bootstrap-reboot.min.css to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/bootstrap.bundle.min.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/Chart.min.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/bootstrap.min.js.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/bootstrap.min.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/bootstrap.bundle.js.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/popper.min.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/bootstrap.bundle.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/bootstrap.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/bootstrap.bundle.min.js.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/dist/js/bootstrap.js.map to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/webapp.html to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/webapp.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/public/zb_lib.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/cloudWebServer/cloudWebServer.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/manifest.yml to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/ibmConfig.json to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/package.json to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/app.js to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/README.html to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/README.md to Unix format...
    dos2unix: converting file ./Projects/cloud_apps/ibm-webapp/.project to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/version_query_minitool/Source/zbSocTransportUart.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/version_query_minitool/Source/main.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/version_query_minitool/Source/zbSocCmd.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/version_query_minitool/Source/zbSocCmd.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/version_query_minitool/Source/zbSocTransportUart.h to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/version_query_minitool/project/gw_soc_fw_version_query.bin
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/version_query_minitool/project/zbSocCmd.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/version_query_minitool/project/zbSocTransportUart.o
    dos2unix: converting file ./Projects/zstack/linux/version_query_minitool/project/Makefile to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/version_query_minitool/project/main.o
    dos2unix: converting file ./Projects/zstack/linux/sbl_tool/Source/zbSocTransportUart.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/sbl_tool/Source/main.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/sbl_tool/Source/zbSocCmd.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/sbl_tool/Source/zbSocCmd.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/sbl_tool/Source/zbSocTransportUart.h to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/sbl_tool/project/sbl_tool.bin
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/sbl_tool/project/zbSocCmd.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/sbl_tool/project/zbSocTransportUart.o
    dos2unix: converting file ./Projects/zstack/linux/sbl_tool/project/Makefile to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/sbl_tool/project/main.o
    dos2unix: converting file ./Projects/zstack/linux/zstackserverznp/config.ini to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackserverznp/zstack_pb_ctrl.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackserverznp/f8wConfig.h to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/ZLSZNP_arm
    dos2unix: converting file ./Projects/zstack/linux/zstackserverznp/znp_zdo.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackserverznp/znp_misc.c to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/saddr.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/pb_utils.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/trace.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/zstackpb.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/OSAL_Timers.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/ZLSZNP_arm
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/zstack.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/znp_zdo.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/hal_timer.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/OSAL_PwrMgr.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/zstack_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/osal_zstack_server_znp.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/OSAL_Memory.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/znp_af.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/configparser.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/OSAL.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/OnBoard.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/znp_misc.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/api_server.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/zmain.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/api_client.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/zstackserverznp/out/main.o
    dos2unix: converting file ./Projects/zstack/linux/zstackserverznp/zstack_pb_ctrl.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackserverznp/Makefile to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackserverznp/osal_zstack_server_znp.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackserverznp/znp_af.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gateway_config.ini to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gateway.proto to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gateway_pb_ctrl.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gatewaysrvr.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gatewayservices.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gatewayservices.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gateway_config.tlg to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/aps_groups.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gateway.pb-c.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gatewaysrvr.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/aps_groups.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gateway_pb_ctrl.h to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/gateway_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/gp_proxyTbl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/server_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/pb_utils.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/gatewayp2p.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/trace.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/nwkmgr.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/nwkmgr_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zstack.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zstack_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/gatewaysrvr.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/aps_groups.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zcl_hvac.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/configparser.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/gateway.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/api_server.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zcl_poll_control.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/GATEWAY_SRVR_arm
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zcl_lighting.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zcl_port.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/serverep.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zcl_ss.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/api_client.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/gatewayservices.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zcl_closures.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/gp_common.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zcl_general.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zcl_green_power.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/zcl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/main.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/hagateway/out/server.pb-c.o
    dos2unix: converting file ./Projects/zstack/linux/hagateway/zcl_port.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/Makefile to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/gateway.pb-c.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/zcl_port.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hagateway/zcl_ha.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/api_server.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/main.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/trace.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/configparser.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/trace.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/configparser.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/api_client.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/api_lnx_ipc_rpc.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/hal_rpc.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/api_client.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvwrapper/api_server.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackpb/zstack.pb-c.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackpb/zstackpb.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackpb/zstack.pb-c.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/zstackpb/zstackpb.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/common/npi_lnx.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/common/hal_types.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/common/npi_lnx_error.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/common/npi_lnx_ipc_rpc.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/common/hal_rpc.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/aic.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/npi_lnx_i2c.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/hal_spi.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/npi_lnx_spi.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/npi_lnx_spi.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/npi_lnx_uart.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/hal_gpio.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/hal_spi.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/hal_i2c.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/npi_lnx_ipc.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/hal_i2c.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/npi_lnx_uart.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/hal_gpio.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/ipclib/server/npi_lnx_i2c.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/NPI_Gateway.cfg to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/makefile to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/trace.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/hal_gpio.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/npi_lnx_i2c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/hal_i2c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/npi_lnx_ipc.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/npi_lnx_spi.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/NPI_lnx_arm_server
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/configparser.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/npi_lnx_uart.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost/out/hal_spi.o
    dos2unix: converting file ./Projects/zstack/linux/protobuf-c/include/google/protobuf-c/protobuf-c.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/protobuf-c/lib/arm/libprotobuf-c.la to Unix format...
    dos2unix: Binary symbol 0x00 found at line 3
    dos2unix: Skipping binary file ./Projects/zstack/linux/protobuf-c/lib/arm/libprotobuf-c.a
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/protobuf-c/lib/arm/libprotobuf-c.so.1.0.0
    dos2unix: converting file ./Projects/zstack/linux/protobuf-c/lib/arm/pkgconfig/libprotobuf-c.pc to Unix format...
    dos2unix: Binary symbol 0x00 found at line 3
    dos2unix: Skipping binary file ./Projects/zstack/linux/protobuf-c/lib/x86/libprotobuf-c.a
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/protobuf-c/lib/x86/libprotobuf-c.so.1.0.0
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/protobuf-c/lib/x86/libprotobuf-c.so
    dos2unix: converting file ./Projects/zstack/linux/zmac/zmac_internal.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/scripts/hagateway/reset/soc_reset_release to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/scripts/hagateway/reset/bbb/soc_reset_release to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/scripts/hagateway/reset/bbb/soc_reset_hold to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/scripts/hagateway/reset/soc_reset_hold to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/scripts/hagateway/zigbeeHAgw to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/scripts/hagateway/track_servers to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/scripts/package_builder_expected_content_RUNTIME_arm.txt to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/scripts/package_builder_expected_content_RUNTIME_x86.txt to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/scripts/sample_app/start_application to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/OtaServer.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/otasrvr_pb_ctrl.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/zcl_ota.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/utils.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/OtaServer_db.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/otaserver.ini to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/otasrvr.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/zcl_ota.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/aps_groups.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/OtaServer.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/ota_common.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/otasrvr.pb-c.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/OtaServer_db.h to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/otasrvr.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/server_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/pb_utils.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/gatewayp2p.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/trace.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/nwkmgr.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/nwkmgr_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/zstack.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/zstack_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/SimpleDB.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/zcl_otaserver_lnx.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/OtaServer_db.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/configparser.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/otasrvr.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/api_server.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/SimpleDBTxt.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/zcl_port.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/zcl_ota.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/api_client.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/ota_common.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/otasrvr_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/zcl_general.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/OtaServer.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/OTA_SRVR_arm
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/zcl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/main.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/out/server.pb-c.o
    dos2unix: converting file ./Projects/zstack/linux/otaserver/zcl_otaserver_lnx.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/Makefile to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/otasrvr.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/zcl_port.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/ota_sample_images/Readme.txt to Unix format...
    dos2unix: Binary symbol 0x1E found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/ota_sample_images/5678-1234-0000BBBB.zigbee
    dos2unix: Binary symbol 0x1E found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/otaserver/ota_sample_images/5678-1234-0000AAAA.zigbee
    dos2unix: converting file ./Projects/zstack/linux/otaserver/otasrvr.pb-c.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/otaserver/otasrvr_pb_ctrl.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgrsrv.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgr_pb_ctrl.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgrp2p.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgrdatabase.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgr.pb-c.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgr_pb_ctrl.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgrsrv.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/aps_groups.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgrservices.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgrdatabase.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgr.pb-c.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgrservices.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgr_config.ini to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/nwkmgrp2p.c to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/nwkmgrservices.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/nwkmgrdatabase.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/server_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/pb_utils.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/trace.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/nwkmgr.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/nwkmgr_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/zstack.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/zstack_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/SimpleDB.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/nwkmgrp2p.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/NWKMGR_SRVR_arm
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/nwkmgrsrv.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/configparser.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/api_server.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/SimpleDBTxt.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/serverep.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/api_client.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/main.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/nwkmgr/out/server.pb-c.o
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/Makefile to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/nwkmgr/zcl_ha.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvepconfig/serverep.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/srvepconfig/serverep.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/cc-rom-sbl/sblUart.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/cc-rom-sbl/main.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/cc-rom-sbl/ccxxxxdnld.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/cc-rom-sbl/ccxxxxdnld.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/cc-rom-sbl/deviceTypes.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/cc-rom-sbl/sblUart.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/cc-rom-sbl/Makefile to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/serverpb/server.pb-c.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/serverpb/server_pb_ctrl.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/serverpb/gatewayp2p.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/serverpb/server_pb_ctrl.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/serverpb/gatewayp2p.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/serverpb/server.pb-c.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hal/hal_defs.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hal/hal_types.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hal/hal_board_cfg.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hal/hal_timer.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/hal/hal_mcu.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/OSAL_Memory.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/OSAL_PwrMgr.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/OSAL_Tasks.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/OSAL_Nv.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/saddr.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/OSAL_Timers.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/comdef.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/ZComDef.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/OSAL.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/include/sdata.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/common/OSAL.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/common/OSAL_Memory.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/common/OSAL_PwrMgr.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/linux_osal/common/OSAL_Timers.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/sdb/SimpleDBTxt.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/sdb/SimpleDB.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/sdb/SimpleDB.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/sdb/SimpleDBTxt.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/usbreset/source/usbreset.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/usbreset/project/makefile to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/usbreset/project/out/usbreset.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/usbreset/project/usbreset.bin
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/network_info_engine.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/ota_engine.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/device_list_engine.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/device_list_engine.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/system_engine.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/sensor_engine.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/ota_engine.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/group_scene_engine.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/attribute_engine.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/group_scene_engine.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/state_reflector.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/actions_engine.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/commissioning_engine.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/network_info_engine.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/system_engine.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/sensor_engine.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/state_reflector.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/actions_engine.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/commissioning_engine.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/engines/attribute_engine.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/tcp_client.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/macros.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/macros.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/socket_interface.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/timer_utils.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/tcp_client.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/user_interface.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/timer_utils.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/polling.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/polling.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/types.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/data_structures.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/user_interface.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/data_structures.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/framework/socket_interface.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/demo/project/main.c to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/main.bin
    dos2unix: converting file ./Projects/zstack/linux/demo/project/makefile to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/gateway_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/otasrvr.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/device_list_engine.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/pb_utils.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/trace.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/nwkmgr.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/attribute_engine.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/nwkmgr_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/network_info_engine.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/socket_interface.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/polling.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/state_reflector.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/tcp_client.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/timer_utils.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/actions_engine.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/group_scene_engine.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/ota_engine.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/configparser.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/gateway.pb-c.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/data_structures.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/macros.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/user_interface.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/commissioning_engine.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/otasrvr_pb_ctrl.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/sensor_engine.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/system_engine.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/out/main.o
    dos2unix: converting file ./Projects/zstack/linux/demo/project/sample_app_ota.cfg to Unix format...
    dos2unix: Binary symbol 0x1E found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/images/5678-1234-AAAA0000.zigbee
    dos2unix: Binary symbol 0x1E found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/demo/project/images/5678-1234-BBBB0000.zigbee
    dos2unix: converting file ./Projects/zstack/linux/source/OnBoard.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/source/pb_utils.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/source/zmain.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/source/pb_utils.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/source/OnBoard.h to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/bbb_usbreset/source/bbb_usbreset.c to Unix format...
    dos2unix: converting file ./Projects/zstack/linux/bbb_usbreset/project/makefile to Unix format...
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/bbb_usbreset/project/out/bbb_usbreset.o
    dos2unix: Binary symbol 0x01 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/bbb_usbreset/project/bbb_usbreset.bin
    dos2unix: converting file ./Projects/zstack/linux/soc_images/CC2531_USB_Dongle/CC2531-GW-ZNP_39203_sbl39186.hex to Unix format...
    dos2unix: Binary symbol 0x02 found at line 1
    dos2unix: Skipping binary file ./Projects/zstack/linux/soc_images/CC2531_USB_Dongle/CC2531-GW-ZNP_39203.bin
    dos2unix: converting file ./Projects/zstack/OTA/Source/ota_common.h to Unix format...
    dos2unix: converting file ./Projects/node/start_local.sh to Unix format...
    dos2unix: converting file ./Projects/node/start_gateway.sh to Unix format...
    dos2unix: converting file ./Projects/node/start_ibm.sh to Unix format...
    dos2unix: converting file ./Projects/node/README.html to Unix format...
    dos2unix: converting file ./Projects/node/README.md to Unix format...
    dos2unix: converting file ./Projects/node/end.sh to Unix format...
    dos2unix: converting file ./Components/services/saddr/saddr.c to Unix format...
    dos2unix: converting file ./Components/services/saddr/saddr.h to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_closures.h to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_hvac.c to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_ezmode.h to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_poll_control.c to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_lighting.h to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_ss.h to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl.h to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_ss.c to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_general.c to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_general.h to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_lighting.c to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_green_power.c to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl.c to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_green_power.h to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_hvac.h to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_closures.c to Unix format...
    dos2unix: converting file ./Components/stack/zcl/zcl_poll_control.h to Unix format...
    dos2unix: converting file ./Components/stack/af/AF.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/APSMEDE.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/nwk.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/nwk_globals.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/reflecttrack.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/nwk_util.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/APS.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/aps_groups.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/nwk_bufs.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/rtg.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/AssocList.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/NLMEDE.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/BindingTable.h to Unix format...
    dos2unix: converting file ./Components/stack/nwk/stub_aps.h to Unix format...
    dos2unix: converting file ./Components/stack/zdo/ZDProfile.h to Unix format...
    dos2unix: converting file ./Components/stack/zdo/ZDApp.h to Unix format...
    dos2unix: converting file ./Components/stack/zdo/ZDObject.h to Unix format...
    dos2unix: converting file ./Components/stack/zdo/ZDSecMgr.h to Unix format...
    dos2unix: converting file ./Components/stack/zdo/ZDConfig.h to Unix format...
    dos2unix: converting file ./Components/stack/sys/ZGlobals.h to Unix format...
    dos2unix: converting file ./Components/stack/gp/gp_common.h to Unix format...
    dos2unix: converting file ./Components/stack/gp/gp_interface.h to Unix format...
    dos2unix: converting file ./Components/stack/gp/gp_proxyTbl.c to Unix format...
    dos2unix: converting file ./Components/stack/gp/cGP_stub.h to Unix format...
    dos2unix: converting file ./Components/stack/gp/dGP_stub.h to Unix format...
    dos2unix: converting file ./Components/stack/gp/gp_common.c to Unix format...
    dos2unix: converting file ./Components/stack/sec/ssp.h to Unix format...
    dos2unix: converting file ./Components/zmac/ZMAC.h to Unix format...
    dos2unix: converting file ./Components/hal/include/hal_led.h to Unix format...
    dos2unix: converting file ./Components/hal/include/hal_key.h to Unix format...
    dos2unix: converting file ./Components/hal/include/hal_board.h to Unix format...
    dos2unix: converting file ./Components/hal/include/hal_timer.h to Unix format...
    dos2unix: converting file ./Components/hal/include/hal_drivers.h to Unix format...
    dos2unix: converting file ./Components/hal/include/hal_uart.h to Unix format...
    dos2unix: converting file ./Components/mt/MT_RPC.h to Unix format...
    dos2unix: converting file ./Components/mt/MT.h to Unix format...
    dos2unix: converting file ./Components/mac/include/mac_api.h to Unix format...
    dos2unix: converting file ./setup.sh to Unix format...
    dos2unix: converting file ./build_all to Unix format...
    dos2unix: converting file ./scripts/package_builder to Unix format...
    SUCCESS: Converted Scripts to Unix Line endings
    Entered /Projets/node/nodejs_zb_gateway Directory

    Installing Node Modules

    npm WARN nodejs_zb_gateway@1.0.0 No repository field.
    SUCCESS: Installed all Node Modules Successfully
    /home/debian/source

    Make build_all executable

    SUCCESS: build_all script is now executable

    Make scripts/ executable

    SUCCESS: scripts/ folder is now executable

    Run ./build_all

    ./package_builder: line 22: svnversion: command not found
    SVN Version =

    Main project\'s base directory: GATEWAY=/home/debian/source (leave blank to use the detault)
    Project output subdirectory: PKGS_OUTPUT_DIR=/home/debian/source/out (leave blank to use the detault)

    Building RUNTIME package for BEAGLEBONE_BLACK platform

    ********************************************************
    Cleaning all
    if test -d out; then rm -rf out; fi
    rm -f project_file_list.txt
    ********************************************************
    Check existance of output folder
    if test ! -d out; then mkdir out; fi
    ********************************************************
    COMPILING SERVER FOR ARM BEAGLE BONE
    make[1]: Entering directory '/home/debian/source/Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost'
    Compiling ipclib/server/npi_lnx_ipc.c ...
    Compiling ipclib/server/npi_lnx_uart.c ...
    Compiling ipclib/server/npi_lnx_spi.c ...
    Compiling ipclib/server/npi_lnx_i2c.c ...
    Compiling ipclib/server/hal_gpio.c ...
    Compiling ipclib/server/hal_i2c.c ...
    Compiling ../../../../srvwrapper/trace.c ...
    Compiling ipclib/server/hal_spi.c ...
    Compiling ../../../../srvwrapper/configparser.c ...
    Building target out/NPI_lnx_arm_server ...
    ********************************************************
    make[1]: Leaving directory '/home/debian/source/Projects/zstack/linux/RemoTI-Linux-master/Projects/tools/LinuxHost'
    Cleaning up out/*
    ********************************************************
    Check existance of output folder
    if test ! -d out; then mkdir out; fi
    ********************************************************
    COMPILING APP FOR ARM
    make[1]: Entering directory '/home/debian/source/Projects/zstack/linux/zstackserverznp'
    Compiling osal_zstack_server_znp.c ...
    Compiling ../source/zmain.c ...
    Compiling znp_af.c ...
    Compiling znp_misc.c ...
    Compiling znp_zdo.c ...
    Compiling ../zstackpb/zstack.pb-c.c ...
    Compiling ../zstackpb/zstackpb.c ...
    Compiling ../srvwrapper/api_client.c ...
    Compiling ../srvwrapper/trace.c ...
    Compiling ../srvwrapper/main.c ...
    Compiling ../srvwrapper/api_server.c ...
    Compiling ../srvwrapper/configparser.c ...
    Compiling ../linux_osal/common/OSAL_Memory.c ...
    Compiling ../linux_osal/common/OSAL_PwrMgr.c ...
    Compiling ../linux_osal/common/OSAL_Timers.c ...
    Compiling ../linux_osal/common/OSAL.c ...
    Compiling ../../../../Components/services/saddr/saddr.c ...
    Compiling ../source/OnBoard.c ...
    Compiling ../hal/hal_timer.c ...
    Compiling ../source/pb_utils.c ...
    Compiling ../zstackserverznp/zstack_pb_ctrl.c ...
    Building target ZLSZNP_arm ...
    ********************************************************
    make[1]: Leaving directory '/home/debian/source/Projects/zstack/linux/zstackserverznp'
    ********************************************************
    Cleaning all
    if test -d out; then rm -rf out; fi
    /bin/rm -f project_file_list.txt
    /bin/rm -f actual_standard_project_file_list.txt
    /bin/rm -f actual_specific_project_file_list.txt
    ********************************************************
    Check existance of output folder
    if test ! -d out; then mkdir out; fi
    ********************************************************
    COMPILING APP FOR ARM
    make[1]: Entering directory '/home/debian/source/Projects/zstack/linux/nwkmgr'
    Compiling ../srvepconfig/serverep.c ...
    Compiling nwkmgrsrv.c ...
    Compiling nwkmgrdatabase.c ...
    Compiling ../srvwrapper/trace.c ...
    Compiling ../sdb/SimpleDB.c ...
    Compiling ../sdb/SimpleDBTxt.c ...
    Compiling nwkmgrservices.c ...
    Compiling nwkmgrp2p.c ...
    Compiling nwkmgr.pb-c.c ...
    Compiling ../zstackpb/zstack.pb-c.c ...
    Compiling ../serverpb/server.pb-c.c ...
    Compiling ../srvwrapper/api_client.c ...
    Compiling ../srvwrapper/main.c ...
    Compiling ../srvwrapper/api_server.c ...
    Compiling ../srvwrapper/configparser.c ...
    Compiling ../source/pb_utils.c ...
    Compiling ../zstackserverznp/zstack_pb_ctrl.c ...
    Compiling ../nwkmgr/nwkmgr_pb_ctrl.c ...
    Compiling ../serverpb/server_pb_ctrl.c ...
    Building target out/NWKMGR_SRVR_arm ...
    ********************************************************
    make[1]: Leaving directory '/home/debian/source/Projects/zstack/linux/nwkmgr'
    ********************************************************
    Cleaning all
    if test -d out; then rm -rf out; fi
    /bin/rm -f project_file_list.txt
    /bin/rm -f actual_specific_project_file_list.txt
    /bin/rm -f actual_standard_project_file_list.txt
    ********************************************************
    Check existance of output folder
    if test ! -d out; then mkdir out; fi
    ********************************************************
    COMPILING APP FOR ARM
    make[1]: Entering directory '/home/debian/source/Projects/zstack/linux/hagateway'
    Compiling ../srvepconfig/serverep.c ...
    Compiling gatewaysrvr.c ...
    Compiling ../srvwrapper/trace.c ...
    Compiling gatewayservices.c ...
    Compiling ../serverpb/gatewayp2p.c ...
    Compiling gateway.pb-c.c ...
    Compiling ../zstackpb/zstack.pb-c.c ...
    Compiling ../serverpb/server.pb-c.c ...
    Compiling ../srvwrapper/api_client.c ...
    Compiling ../srvwrapper/main.c ...
    Compiling ../srvwrapper/api_server.c ...
    Compiling ../srvwrapper/configparser.c ...
    Compiling ../../../../Components/stack/gp/gp_common.c ...
    Compiling ../../../../Components/stack/gp/gp_proxyTbl.c ...
    Compiling ../../../../Components/stack/zcl/zcl_green_power.c ...
    Compiling ../../../../Components/stack/zcl/zcl_general.c ...
    Compiling ../../../../Components/stack/zcl/zcl_poll_control.c ...
    Compiling ../../../../Components/stack/zcl/zcl_lighting.c ...
    Compiling ../../../../Components/stack/zcl/zcl_closures.c ...
    Compiling ../../../../Components/stack/zcl/zcl_hvac.c ...
    Compiling ../../../../Components/stack/zcl/zcl_ss.c ...
    Compiling ../../../../Components/stack/zcl/zcl.c ...
    Compiling aps_groups.c ...
    Compiling zcl_port.c ...
    Compiling ../source/pb_utils.c ...
    Compiling ../zstackserverznp/zstack_pb_ctrl.c ...
    Compiling ../hagateway/gateway_pb_ctrl.c ...
    Compiling ../nwkmgr/nwkmgr_pb_ctrl.c ...
    Compiling ../serverpb/server_pb_ctrl.c ...
    Compiling ../nwkmgr/nwkmgr.pb-c.c ...
    Building target out/GATEWAY_SRVR_arm ...
    ********************************************************
    make[1]: Leaving directory '/home/debian/source/Projects/zstack/linux/hagateway'
    ********************************************************
    Cleaning all
    if test -d out; then rm -rf out; fi
    /bin/rm -f project_file_list.txt
    /bin/rm -f actual_specific_project_file_list.txt
    /bin/rm -f actual_standard_project_file_list.txt
    ********************************************************
    Check existance of output folder
    if test ! -d out; then mkdir out; fi
    ********************************************************
    COMPILING APP FOR ARM
    make[1]: Entering directory '/home/debian/source/Projects/zstack/linux/otaserver'
    Compiling ../zstackpb/zstack.pb-c.c ...
    Compiling ../../../../Components/stack/zcl/zcl_general.c ...
    Compiling ../../../../Components/stack/zcl/zcl.c ...
    Compiling zcl_ota.c ...
    Compiling ../srvwrapper/api_client.c ...
    Compiling ../srvwrapper/api_server.c ...
    Compiling ../srvwrapper/main.c ...
    Compiling zcl_otaserver_lnx.c ...
    Compiling OtaServer.c ...
    Compiling OtaServer_db.c ...
    Compiling ../sdb/SimpleDB.c ...
    Compiling ../sdb/SimpleDBTxt.c ...
    Compiling ../srvwrapper/configparser.c ...
    Compiling ota_common.c ...
    Compiling otasrvr.c ...
    Compiling otasrvr.pb-c.c ...
    Compiling ../serverpb/server.pb-c.c ...
    Compiling ../srvwrapper/trace.c ...
    Compiling ../serverpb/gatewayp2p.c ...
    Compiling zcl_port.c ...
    Compiling ../source/pb_utils.c ...
    Compiling ../zstackserverznp/zstack_pb_ctrl.c ...
    Compiling ../otaserver/otasrvr_pb_ctrl.c ...
    Compiling ../nwkmgr/nwkmgr_pb_ctrl.c ...
    Compiling ../serverpb/server_pb_ctrl.c ...
    Compiling ../nwkmgr/nwkmgr.pb-c.c ...
    Building target out/OTA_SRVR_arm ...
    ********************************************************
    make[1]: Leaving directory '/home/debian/source/Projects/zstack/linux/otaserver'
    ********************************************************
    Cleaning up ./out/*
    if test -d ./out; then rm -rf ./out; fi
    rm -f main.bin
    rm -f project_file_list.txt
    ********************************************************
    Check existance of output folder
    if test ! -d ./out; then mkdir ./out; fi
    ********************************************************
    COMPILING APP FOR ARM
    make[1]: Entering directory '/home/debian/source/Projects/zstack/linux/demo/project'
    Compiling main.c ...
    Compiling ../framework/polling.c ...
    Compiling ../framework/timer_utils.c ...
    Compiling ../framework/socket_interface.c ...
    Compiling ../framework/tcp_client.c ...
    Compiling ../framework/user_interface.c ...
    Compiling ../framework/data_structures.c ...
    Compiling ../engines/network_info_engine.c ...
    Compiling ../engines/device_list_engine.c ...
    Compiling ../engines/sensor_engine.c ...
    Compiling ../engines/state_reflector.c ...
    Compiling ../engines/attribute_engine.c ...
    Compiling ../engines/actions_engine.c ...
    Compiling ../engines/commissioning_engine.c ...
    Compiling ../engines/system_engine.c ...
    Compiling ../engines/ota_engine.c ...
    Compiling ../../nwkmgr/nwkmgr.pb-c.c ...
    Compiling ../../hagateway/gateway.pb-c.c ...
    Compiling ../../otaserver/otasrvr.pb-c.c ...
    Compiling ../engines/group_scene_engine.c ...
    Compiling ../framework/macros.c ...
    Compiling ../../source/pb_utils.c ...
    Compiling ../../nwkmgr/nwkmgr_pb_ctrl.c ...
    Compiling ../../hagateway/gateway_pb_ctrl.c ...
    Compiling ../../otaserver/otasrvr_pb_ctrl.c ...
    Compiling ../../srvwrapper/trace.c ...
    In file included from ../../srvwrapper/trace.c:52:0:
    ../../srvwrapper/trace.c: In function ‘trace_init_thread’:
    ../../srvwrapper/trace.h:198:44: warning: right-hand operand of comma expression has no effect [-Wunused-value]
    #define PTHREAD_SETSPECIFIC(A,B) ((A) = (B), 0)
    ~~~~~~~~~~^~~~
    ../../srvwrapper/trace.c:187:3: note: in expansion of macro ‘PTHREAD_SETSPECIFIC’
    PTHREAD_SETSPECIFIC(thread_name_key, NULL);
    ^~~~~~~~~~~~~~~~~~~
    Compiling ../../srvwrapper/configparser.c ...
    Building main.bin for arm ...
    ********************************************************
    make[1]: Leaving directory '/home/debian/source/Projects/zstack/linux/demo/project'
    rm -rf *.o sbl_tool.bin
    arm-linux-gnueabihf-gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o main.o ../Source/main.c
    arm-linux-gnueabihf-gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocCmd.o ../Source/zbSocCmd.c
    arm-linux-gnueabihf-gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocTransportUart.o ../Source/zbSocTransportUart.c
    ********************************************************
    Compiler: arm-linux-gnueabihf-gcc
    Target platform: arm
    ********************************************************
    Building sbl_tool.bin ...
    arm-linux-gnueabihf-gcc -Wall -DVERSION_NUMBER="0.1" main.o zbSocCmd.o zbSocTransportUart.o -L.../usr/lib/ -o sbl_tool.bin
    ********************************************************
    rm -rf *.o gw_soc_fw_version_query.bin
    arm-linux-gnueabihf-gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o main.o ../Source/main.c
    arm-linux-gnueabihf-gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocCmd.o ../Source/zbSocCmd.c
    arm-linux-gnueabihf-gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocTransportUart.o ../Source/zbSocTransportUart.c
    ********************************************************
    Compiler: arm-linux-gnueabihf-gcc
    Target platform: arm
    ********************************************************
    Building gw_soc_fw_version_query.bin ...
    arm-linux-gnueabihf-gcc -Wall -DVERSION_NUMBER="0.1" main.o zbSocCmd.o zbSocTransportUart.o -L.../usr/lib/ -o gw_soc_fw_version_query.bin
    ********************************************************
    ********************************************************
    Cleaning up out/*
    if test -d out; then rm -rf out; fi
    /bin/rm -f usbreset.bin out/*
    /bin/rm -f *project_file_list.txt
    VPATH is .
    ********************************************************
    Check existance of output folder
    if test ! -d out; then mkdir out; fi
    ********************************************************
    COMPILING APP FOR ARM
    make[1]: Entering directory '/home/debian/source/Projects/zstack/linux/usbreset/project'
    /home/debian/source/Projects/zstack/linux/usbreset/project
    Compiling ../source/usbreset.c ...
    Building usbreset.bin for arm ...
    ********************************************************
    make[1]: Leaving directory '/home/debian/source/Projects/zstack/linux/usbreset/project'

    Package verification results:
    ERROR: 1 warning(s) occured during make
    diff /home/debian/source/out/content.txt /home/debian/source/out/expected_content.txt

    OK: RUNTIME package for arm created Successfully

    SUCCESS: build_all finished.
    Entered Precompiled directory.
    tar: ../Precompiled.tar: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    app/
    app/main.bin
    misc/
    misc/CC2531-GW-ZNP_39203.bin
    misc/ota_sample_images/
    misc/ota_sample_images/5678-1234-0000BBBB.zigbee
    misc/ota_sample_images/5678-1234-0000AAAA.zigbee
    protobuf/
    protobuf/libprotobuf-c.so.1.0.0
    servers/
    servers/gateway_config.ini
    servers/config.ini
    servers/ZLSZNP_arm
    servers/gateway_config.tlg
    servers/zigbeeHAgw
    servers/NWKMGR_SRVR_arm
    servers/NPI_lnx_arm_server
    servers/NPI_Gateway.cfg
    servers/track_servers
    servers/nwkmgr_config.ini
    servers/GATEWAY_SRVR_arm
    servers/sample_app_ota.cfg
    servers/OTA_SRVR_arm
    servers/start_application
    tools/
    tools/soc_reset_release
    tools/sbl_tool.bin
    tools/gw_soc_fw_version_query.bin
    tools/soc_reset_hold
    tools/usbreset.bin
    SUCCESS: Extracted binaries
    Entered servers/ directory

    Make apps exe, copy protobuf files

    SUCCESS: Made servers and applications executable
    SUCCESS: Made /tools/ folder executable

    Copy Protobuf Files to /usr/lib directory

    SUCCESS: Copied Protobuf Files

    ********** SETUP SUCCESSFUL! **********


    --------- Getting Started Tips -----------

    Navigate to Node Scripts ==> cd Projects/node

    Start Linux Zigbee Gateway and Node.js Zigbee Local Gateway ==> sudo ./start_local.sh

    Start Linux Zigbee Gateway and Node.js IBM Gateway ==> sudo ./start_ibm.sh

    Start Linux Zigbee Gateway Only ==> sudo ./start_gateway.sh

    Kill All Gateways ==> sudo ./end.sh

    ---------------------------------------------

    debian@beaglebone:~/source$

    Best regards,

    Shuyang

  • Hey Shuyang,

    The LAUNCHXLCC1352P-2 Rev B is fine, but you could have used UNIFLASH or FLASH-PROGRAMMER to determine the silicon version as well.  Your build appears successful and the ZIGBEE-LINUX-SENSOR-TO-CLOUD gateway solution has been confirmed to work on the BBB.  What BBB image did you use?  Have you tried pressing the reset button on the LP while the error occurs?

    Regards,
    Ryan

  • Hi Ryan,

    I have checked the silicon revision and it is Rev E(2.1). The debian image is bone-debian-9.3-iot-armhf-2018-03-05-4gb, and I have tried the reset button but it did not help...

    Any suggestion for debugging this issue? Thanks.

    Best regards,

    Shuyang

  • Update: the gateway works on Ubuntu virtual machine on the PC, but on beaglebone the error still exists.

    The LaunchPad used as ZNP for the PC and beaglebone is the same one.

    BR

    Shuyang

  • Hi Shuyang,

    Now that you have one working setup, you have verified that the LaunchPad ZNP works and can compare the BBB setup against the Ubuntu VM environment.  You could try re-installing the debian image and gateway software or further determine the root cause of the issue based on the logs.

    Regards,
    Ryan