Z-Stack Linux Gateway Quick Start Guide Version 1.0

Similar documents
BeagleBone Black: Installing Operating Systems

BeagleBone Black: Installing Operating Systems

Preliminary. Jetson TX1 BSP flashing guide. Version 2.1. May 2017 AUVIDEA GMBH FIRMWARE INSTALLATION 1. Auvidea GmbH Kellerberg 3 D Denklingen

MicroEmbedded Technologies, Pune. A user manual for Using the BeagleBone Black with Linux Host.

Pengwyn Documentation

Zephyr Kernel Installation & Setup Manual

μc/probe on the element14 BeagleBone Black

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

ELE409 SPRING2018 LAB0

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

Development Environment Embedded Linux Primer Ch 1&2

Kodaro s Niagara 4 Port Installation Guide

Labs instructions for Enabling BeagleBone with TI SDK 5.x

CS Fundamentals of Programming II Fall Very Basic UNIX

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

5inch HDMI LCD (B) User Manual

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Hands-on with the Sitara Linux SDK

R22 GU. Owen Kirby. Copyright 2018, Exegin Technologies Limited

Linux/Cygwin Practice Computer Architecture

Getting started with Raspberry Pi (and WebIoPi framework)

Android System Development Training 4-day session

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

System Manager Unit (SMU) Hardware Reference

Getting Started with BeagleBoard xm

Lab4 Embedded Linux. Introduction

INSTALLATION. Security of Information and Communication Systems

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011

alcasar_documentation Documentation

Installing Ubuntu 8.04 for use with ESP-r 8 May 2009 Jon W. Hand, ESRU, Glasgow, Scotland

Oxalis Getting Started

How to Deploy Axon on VMware vcenter

INSTALLATION. Security of Information and Communication Systems. Table of contents

Assignment 1: Build Environment

Dell IoT Gateway 5500 Edge MicroServer Setup Guide

Installation of the DigitalSystemsVM virtual machine

Parallel Programming Pre-Assignment. Setting up the Software Environment

Performing Maintenance Operations

Eaton LanSafe LanSafe installation and configuration guide for VMware ESX 3 virtual architecture

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University

Manual to install experimental firmware on a TYTERA MD380

DS2 Products Auto-Update Tool BSP

Installing and Upgrading Cisco Network Registrar Virtual Appliance

Installing MediaWiki using VirtualBox

Xinu on Intel Galileo User Manual

CENG 334 Computer Networks. Laboratory I Linux Tutorial

The Microdrive and CF card are electrically compatible this means that a CF card reader can be used to program a Microdrive.

Ftp Get Command Line Windows 7 Boot Into >>>CLICK HERE<<<

Installing + Configuring

Filesystem Hierarchy and Permissions

Different ways to use Kon-Boot

μc/probe on the element14 BeagleBone Black

Step by Step Installation of CentOS Linux 7 and Active Circle

LTC Data Converter Board For The Arrow SoCKit Linux Application User s Guide

Configuring the BeagleBone Black s Ethernet Port for SSH Access

Setting up 01/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

10/02/2015 PetaLinux Image with Custom Application

December 1, 2015 Jason Kridner

IoTivity Development on ARTIK 530s

BeagleLogic Documentation

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

10/02/2015 PetaLinux Linux Image Network Connection

Automatic Creation of a Virtual Network with VBoxManage [1]

1. Install a Virtual Machine Download Ubuntu Create a New Virtual Machine Seamless Operation between Windows an Linux...

A113X1 Development Kit

Yocto Project and OpenEmbedded training 3-day session

EE516: Embedded Software Project 1. Setting Up Environment for Projects

Quick Start Guide for BeagleBone. Table of Contents. by Brian Fraser Last update: Sept 24, 2017

Linux Command Line Primer. By: Scott Marshall

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers

How to Create PAR or PCA Files on the Command Line

Lenovo NE1032 and NE1032T Switch

HiveManager Virtual Appliance QuickStart

Manually Mount Usb Flash Drive Ubuntu Server

Application Note: Demo programs for PremierWave EN and PremierWave XN

Linux Development Getting Started

Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi

Docusnap X - Docusnap Script Linux. Script-based Inventory for Linux

7 inch Capacitive Touch Screen LCD, HDMI interface, resolution, supports various systems.

User Guide Linux for AT91CAP9-STK Version 1.1. User Guide LINUX FOR AT91CAP9-STK VERSION: 1.1 1/11

Quick Start Guide V NLX-microUCS APPLIANCE Unified Communications Server

Matrix 500 Quick Installation Guide

B&B Spectre LTE Edge MicroServer Setup Guide

Manual Update Ubuntu To Using Iso

Vantron VT-M2M-TC-VM ThingWorx Setup Guide

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.

ZBG 100 Gateway Recovery Guide Version 02 ZBG pikkerton GmbH ZBG Gateway Recovery Guide.docx Page 1/11

Apache Manually Install Ubuntu From Usb

Bitnami MEAN for Huawei Enterprise Cloud

Guide to your Plug Computer

Bitnami HHVM for Huawei Enterprise Cloud

Introduction to Linux Environment. Yun-Wen Chen

XLink Kai Raspberry Pi Beginners Tutorial

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box

Bitnami Piwik for Huawei Enterprise Cloud

Masternode Setup Guide

IoT Edge Router Getting Started Guide Published on Silver Spring Networks STAGE (

GUT. GUT Installation Guide

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.

Quick Start Guide V NLX-microUCS APPLIANCE Unified Communications Server

Transcription:

Z-Stack Linux Gateway Quick Start Guide Version 1.0 Texas Instruments, Inc. San Diego, California USA Copyright 2014 Texas Instruments, Inc. All rights reserved.

Table of Contents 1. INSTALL THE SDK PACKAGE... 3 2. BEAGLEBONE SETUP... 3 3. RUNNING Z-STACK LINUX GATEWAY ON BEAGLEBONE... 5 4. Z-STACK LINUX GATEWAY SAMPLE APPLICATION COMMANDS... 5 5. TROUBLESHOOTING / FREQUENTLY ASKED QUESTIONS... 5 2 Copyright 2014 Texas Instruments, Inc. All rights reserved.

1. Install the SDK Package File Name: Z-Stack_Linux_Gateway-1.0.1-linux-installer This is a self-extracting archive file, to be run on an x86 Linux machine. Once executed, following acceptance of the license agreement, it extracts the following content into the specified <INSTALL> directory: Default <INSTALL> directory, when you execute the self-extracting installer, is set to: Z-Stack_Linux_Gateway-1.0.1. BeagleBone Z-Stack Linux Gateway Binaries: <INSTALL>/Precompiled_arm Sample App Source code: <INSTALL>/Source Firmware: <INSTALL>/Firmware Proto Files: Firmware: <INSTALL>/Proto_files Documents: <INSTALL>/Documents 2. BeagleBone Setup Install the latest Beaglebone Black Debian software image. Instructions (follow ALL steps): http://beagleboard.org/getting%20started Beaglebone Black Debian Image is available for both SD card and emmc: http://beagleboard.org/latest-images Note: Use micro SD 2GB or larger SD card Image: Select the Debian image link under the section BeagleBone (Runs on BeagleBone Black as well without flashing the emmc) emmc Image: Select the Debian image link under the section BeagleBone Black (emmc flasher). Getting Started link has details on how to program SD or emmc image on Beaglebone Black. After Beaglebone setup is complete, connect the board to Host PC using mini USB cable. Host PC should have network-over-usb access to the Beaglebone board. IP address of the BeagleBone Black over this network interface is 192.168.7.2. o Windows Host PC After BeagleBone boots, new Ethernet interface is created on Host PC with the name Linux USB Ethernet/RNDIS Gadget. PC Local IP address 192.168.7.1 should get assigned to the new network interface. In case not, assign static IP address 192.168.7.1 and netmask 255.255.255.0 to the new network interface. o Linux Host PC PC local IP address 192.168.7.1 should get automatically assigned to the new network interface (network over USB). For VirtualBox (or similar) hosted Linux Host OS s, make sure the guest Linux OS has access to the BeagleBone over the USB interface. In the VirtualBox menus, select Devices->USB Devices->CircuitCo BeagleboneBlack as shown below: 3 Copyright 2014 Texas Instruments, Inc. All rights reserved.

Beaglebone Login credentials: user: root password: BeagleBone Black Insert TI CC2531 USB dongle in Beaglebone USB Host slot. In case dongle is not pre-flashed with correct image, use CC Debugger to flash Firmware/CC2531-GW-ZNP_<revision>.hex. Note: the flash-able firmware image can be found in <INSTALL>/Firmware Install Z-Stack Linux Gateway binaries on Beaglebone The installed package comes with pre-built Z-Stack Linux Gateway binaries for Beaglebone. Using scp or similar protocol, transfer binaries to Beaglebone: $ cd <INSTALL>/Precompiled_arm $ scp z-stack_linux_gateway_arm_binaries_<version>.tar root@192.168.7.2:/root Note: If you get an error when you attempt to transfer additional files to the Beaglebone: No space left on device Please follow the instructions at this link to grow the root file system partition: http://elinux.org/beagleboard:beagleboneblack_debian#expanding_file_system_partition_on_a_microsd 4 Copyright 2014 Texas Instruments, Inc. All rights reserved.

3. Running Z-Stack Linux Gateway on Beaglebone Open 2 SSH client shells on your host PC Note: you can use whatever preferred terminal application you chose. eg. Gnome Terminal for Linux, Putty for Windows, etc. Connect to port 22 and login as user root Untar Z-Stack Linux Gateway Binaries $ cd ~ $ mkdir z-stack_linux_gateway_arm_binaries $ tar xvf z-stack_linux_gateway_arm_binaries_<version>.tar -C z-stack_linux_gateway_arm_binaries On one shell, run following commands to start Z-Stack Linux Gateway servers $ cd ~/z-stack_linux_gateway_arm_binaries $ cp protobuf/libprotobuf-c.so.0 /usr/lib/ $ cd servers $ chmod +x./zigbeehagw $./zigbeehagw beaglebone This script will start and monitor following servers: NPI_lnx_arm_server ZLSZNP_arm NWKMGR_SRVR_arm GATEWAY_SRVR_arm OTA_SRVR_arm On the second shell, run following commands to start Z-Stack Linux Gateway application $ cd ~/z-stack_linux_gateway_arm_binaries/servers $ chmod +x./start_application $./start_application Stopping Gateway Servers Aborting the script zigbeehagw (Ctrl + C) will kill all the Gateway servers Stopping Gateway Application Use Quit / q to quit the sample application 4. Z-Stack Linux Gateway Sample Application Commands For more details on the features of the sample application, please refer to Z-Stack Linux Gateway User Guide. You can also find more BeagleBone specific details in Z-Stack Linux Gateway User Guide BeagleBone Addendum. 5. Troubleshooting / Frequently Asked Questions I m installing/updating my Beaglebone to the latest Debian image, which image should I download? SD card Image: Select the Debian image link under the section BeagleBone (Runs on BeagleBone Black as well without flashing the emmc) emmc Image: Select the Debian image link under the section BeagleBone Black (emmc flasher). Consult section 2 BeagleBone Setup for more details 5 Copyright 2014 Texas Instruments, Inc. All rights reserved.

Writing the new Debian image with the Ubuntu tool recommended by Beagleboard.org doesn t seem to finish? It is recommend to use the Windows SDCard writing tool if possible. When writing the Debian image to the SDCard, the MD5 generated by the Windows SDCard writing tool does not match the MD5 string displayed on the Beagleboard website. This discrepancy can be ignored. I need to (re)flash the CC2531. What is a CC-Debugger? Please visit the following link for more information regarding the CC-Debugger: http://www.ti.com/tool/cc-debugger No space left on device? If you get an error when trying to copy files to the BeagleBone indicating that there s no space left on the device, this is due to the fact that the process to write the new Debian image to the SD Card does not resize the partition on the SD Card to take full advantage of any surplice space. You can confirm this by entering the following command, while logged into the Beaglebone: $ df h If the output of the above command indicates no free space on the root device, please follow the instructions at this link to grow the root file system partition: http://elinux.org/beagleboard:beagleboneblack_debian#expanding_file_system_partition_on_a_microsd Tar is complaining about the timestamp of the.tar file being in the future? This indicates that the date and time on the BeagleBone are not set. You have two options to deal with this: 1. Set the date and time manually: $ date s 2014-MM-DD HHMM Note: Substitute the numbers for MM (month, ie. April = 04), DD (day of the month), and HHMM (hours and minutes). 2. Setup ntp (network time protocol client). Configuring ntp is outside the scope of this guide. Please consult your favorite Debian and/or BeagleBone Black web sites for more help with this. 6 Copyright 2014 Texas Instruments, Inc. All rights reserved.