Open On-Chip Debugger: Openocd User's Guide

Total Page:16

File Type:pdf, Size:1020Kb

Open On-Chip Debugger: Openocd User's Guide Open On-Chip Debugger: OpenOCD User's Guide for release 0.7.0 4 May 2013 This User's Guide documents release 0.7.0, dated 4 May 2013, of the Open On-Chip De- bugger (OpenOCD). • Copyright c 2008 The OpenOCD Project • Copyright c 2007-2008 Spencer Oliver [email protected] • Copyright c 2008-2010 Oyvind Harboe [email protected] • Copyright c 2008 Duane Ellis [email protected] • Copyright c 2009-2010 David Brownell Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled \GNU Free Documentation License". i Short Contents About :::::::::::::::::::::::::::::::::::::::::::::::::: 1 1 OpenOCD Developer Resources:::::::::::::::::::::::::: 3 2 Debug Adapter Hardware :::::::::::::::::::::::::::::: 5 3 About Jim-Tcl :::::::::::::::::::::::::::::::::::::: 10 4 Running:::::::::::::::::::::::::::::::::::::::::::: 11 5 OpenOCD Project Setup :::::::::::::::::::::::::::::: 13 6 Config File Guidelines :::::::::::::::::::::::::::::::: 20 7 Daemon Configuration :::::::::::::::::::::::::::::::: 35 8 Debug Adapter Configuration :::::::::::::::::::::::::: 39 9 Reset Configuration :::::::::::::::::::::::::::::::::: 51 10 TAP Declaration ::::::::::::::::::::::::::::::::::::: 56 11 CPU Configuration ::::::::::::::::::::::::::::::::::: 62 12 Flash Commands :::::::::::::::::::::::::::::::::::: 71 13 Flash Programming :::::::::::::::::::::::::::::::::: 86 14 NAND Flash Commands :::::::::::::::::::::::::::::: 87 15 PLD/FPGA Commands ::::::::::::::::::::::::::::::: 94 16 General Commands :::::::::::::::::::::::::::::::::: 95 17 Architecture and Core Commands :::::::::::::::::::::: 101 18 JTAG Commands ::::::::::::::::::::::::::::::::::: 114 19 Boundary Scan Commands ::::::::::::::::::::::::::: 117 20 TFTP :::::::::::::::::::::::::::::::::::::::::::: 118 21 GDB and OpenOCD::::::::::::::::::::::::::::::::: 119 22 Tcl Scripting API ::::::::::::::::::::::::::::::::::: 123 23 FAQ :::::::::::::::::::::::::::::::::::::::::::::: 125 24 Tcl Crash Course ::::::::::::::::::::::::::::::::::: 130 A The GNU Free Documentation License. ::::::::::::::::: 136 OpenOCD Concept Index :::::::::::::::::::::::::::::::: 143 Command and Driver Index :::::::::::::::::::::::::::::: 145 ii Table of Contents About ::::::::::::::::::::::::::::::::::::::::::::::: 1 What is OpenOCD? ::::::::::::::::::::::::::::::::::::::::::::::::: 1 OpenOCD Web Site ::::::::::::::::::::::::::::::::::::::::::::::::: 2 Latest User's Guide:::::::::::::::::::::::::::::::::::::::::::::::::: 2 OpenOCD User's Forum::::::::::::::::::::::::::::::::::::::::::::: 2 OpenOCD User's Mailing List ::::::::::::::::::::::::::::::::::::::: 2 OpenOCD IRC:::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 1 OpenOCD Developer Resources ::::::::::::::: 3 1.1 OpenOCD GIT Repository ::::::::::::::::::::::::::::::::::::: 3 1.2 Doxygen Developer Manual :::::::::::::::::::::::::::::::::::: 3 1.3 OpenOCD Developer Mailing List :::::::::::::::::::::::::::::: 3 1.4 OpenOCD Bug Database::::::::::::::::::::::::::::::::::::::: 4 2 Debug Adapter Hardware:::::::::::::::::::::: 5 2.1 Choosing a Dongle ::::::::::::::::::::::::::::::::::::::::::::: 5 2.2 Stand alone Systems ::::::::::::::::::::::::::::::::::::::::::: 5 2.3 USB FT2232 Based :::::::::::::::::::::::::::::::::::::::::::: 5 2.4 USB-JTAG / Altera USB-Blaster compatibles :::::::::::::::::: 7 2.5 USB JLINK based ::::::::::::::::::::::::::::::::::::::::::::: 7 2.6 USB RLINK based ::::::::::::::::::::::::::::::::::::::::::::: 7 2.7 USB ST-LINK based ::::::::::::::::::::::::::::::::::::::::::: 8 2.8 USB TI/Stellaris ICDI based ::::::::::::::::::::::::::::::::::: 8 2.9 USB Other::::::::::::::::::::::::::::::::::::::::::::::::::::: 8 2.10 IBM PC Parallel Printer Port Based::::::::::::::::::::::::::: 8 2.11 Other... ::::::::::::::::::::::::::::::::::::::::::::::::::::::: 9 3 About Jim-Tcl ::::::::::::::::::::::::::::::::: 10 4 Running :::::::::::::::::::::::::::::::::::::::: 11 4.1 Simple setup, no customization :::::::::::::::::::::::::::::::: 11 4.2 What OpenOCD does as it starts ::::::::::::::::::::::::::::: 12 5 OpenOCD Project Setup ::::::::::::::::::::: 13 5.1 Hooking up the JTAG Adapter:::::::::::::::::::::::::::::::: 13 5.2 Project Directory ::::::::::::::::::::::::::::::::::::::::::::: 14 5.3 Configuration Basics :::::::::::::::::::::::::::::::::::::::::: 14 5.4 User Config Files:::::::::::::::::::::::::::::::::::::::::::::: 14 5.5 Project-Specific Utilities::::::::::::::::::::::::::::::::::::::: 16 5.6 Target Software Changes :::::::::::::::::::::::::::::::::::::: 17 5.7 Target Hardware Setup ::::::::::::::::::::::::::::::::::::::: 18 iii 6 Config File Guidelines :::::::::::::::::::::::: 20 6.1 Interface Config Files ::::::::::::::::::::::::::::::::::::::::: 24 6.2 Board Config Files :::::::::::::::::::::::::::::::::::::::::::: 25 6.2.1 Communication Between Config files:::::::::::::::::::::: 25 6.2.2 Variable Naming Convention ::::::::::::::::::::::::::::: 26 6.2.3 The reset-init Event Handler ::::::::::::::::::::::::::::: 26 6.2.4 JTAG Clock Rate :::::::::::::::::::::::::::::::::::::::: 27 6.2.5 The init board procedure::::::::::::::::::::::::::::::::: 27 6.3 Target Config Files:::::::::::::::::::::::::::::::::::::::::::: 28 6.3.1 Default Value Boiler Plate Code :::::::::::::::::::::::::: 29 6.3.2 Adding TAPs to the Scan Chain:::::::::::::::::::::::::: 29 6.3.3 Add CPU targets :::::::::::::::::::::::::::::::::::::::: 30 6.3.4 Define CPU targets working in SMP:::::::::::::::::::::: 30 6.3.5 Chip Reset Setup :::::::::::::::::::::::::::::::::::::::: 31 6.3.6 The init targets procedure:::::::::::::::::::::::::::::::: 32 6.3.7 ARM Core Specific Hacks :::::::::::::::::::::::::::::::: 33 6.3.8 Internal Flash Configuration:::::::::::::::::::::::::::::: 33 6.4 Translating Configuration Files :::::::::::::::::::::::::::::::: 33 7 Daemon Configuration :::::::::::::::::::::::: 35 7.1 Configuration Stage ::::::::::::::::::::::::::::::::::::::::::: 35 7.2 Entering the Run Stage ::::::::::::::::::::::::::::::::::::::: 35 7.3 TCP/IP Ports :::::::::::::::::::::::::::::::::::::::::::::::: 36 7.4 GDB Configuration ::::::::::::::::::::::::::::::::::::::::::: 36 7.5 Event Polling ::::::::::::::::::::::::::::::::::::::::::::::::: 37 8 Debug Adapter Configuration :::::::::::::::: 39 8.1 Interface Configuration :::::::::::::::::::::::::::::::::::::::: 39 8.2 Interface Drivers :::::::::::::::::::::::::::::::::::::::::::::: 40 8.3 Transport Configuration::::::::::::::::::::::::::::::::::::::: 49 8.3.1 JTAG Transport ::::::::::::::::::::::::::::::::::::::::: 49 8.3.2 SWD Transport :::::::::::::::::::::::::::::::::::::::::: 49 8.3.3 SPI Transport:::::::::::::::::::::::::::::::::::::::::::: 49 8.4 JTAG Speed :::::::::::::::::::::::::::::::::::::::::::::::::: 49 9 Reset Configuration ::::::::::::::::::::::::::: 51 9.1 Types of Reset :::::::::::::::::::::::::::::::::::::::::::::::: 51 9.2 SRST and TRST Issues ::::::::::::::::::::::::::::::::::::::: 51 9.3 Commands for Handling Resets ::::::::::::::::::::::::::::::: 52 9.4 Custom Reset Handling ::::::::::::::::::::::::::::::::::::::: 54 iv 10 TAP Declaration ::::::::::::::::::::::::::::: 56 10.1 Scan Chains ::::::::::::::::::::::::::::::::::::::::::::::::: 56 10.2 TAP Names ::::::::::::::::::::::::::::::::::::::::::::::::: 57 10.3 TAP Declaration Commands ::::::::::::::::::::::::::::::::: 57 10.4 Other TAP commands ::::::::::::::::::::::::::::::::::::::: 59 10.5 TAP Events ::::::::::::::::::::::::::::::::::::::::::::::::: 59 10.6 Enabling and Disabling TAPs :::::::::::::::::::::::::::::::: 60 10.7 Autoprobing ::::::::::::::::::::::::::::::::::::::::::::::::: 61 11 CPU Configuration :::::::::::::::::::::::::: 62 11.1 Target List :::::::::::::::::::::::::::::::::::::::::::::::::: 62 11.2 Target CPU Types and Variants ::::::::::::::::::::::::::::: 63 11.3 Target Configuration ::::::::::::::::::::::::::::::::::::::::: 64 11.4 Other $target name Commands :::::::::::::::::::::::::::::: 66 11.5 Target Events:::::::::::::::::::::::::::::::::::::::::::::::: 68 12 Flash Commands ::::::::::::::::::::::::::::: 71 12.1 Flash Configuration Commands :::::::::::::::::::::::::::::: 71 12.2 Erasing, Reading, Writing to Flash ::::::::::::::::::::::::::: 72 12.3 Other Flash commands :::::::::::::::::::::::::::::::::::::: 74 12.4 Flash Driver List::::::::::::::::::::::::::::::::::::::::::::: 74 12.4.1 External Flash :::::::::::::::::::::::::::::::::::::::::: 74 12.4.2 Internal Flash (Microcontrollers) :::::::::::::::::::::::: 75 12.4.3 str9xpec driver :::::::::::::::::::::::::::::::::::::::::: 83 12.5 mFlash :::::::::::::::::::::::::::::::::::::::::::::::::::::: 85 12.5.1 mFlash Configuration ::::::::::::::::::::::::::::::::::: 85 12.5.2 mFlash commands :::::::::::::::::::::::::::::::::::::: 85 13 Flash Programming :::::::::::::::::::::::::: 86 14 NAND Flash Commands :::::::::::::::::::: 87 14.1 NAND Configuration Commands::::::::::::::::::::::::::::: 87 14.2 Erasing, Reading, Writing to NAND Flash ::::::::::::::::::: 88 14.3 Other NAND commands ::::::::::::::::::::::::::::::::::::: 90 14.4 NAND Driver List ::::::::::::::::::::::::::::::::::::::::::: 91 15 PLD/FPGA Commands ::::::::::::::::::::: 94 15.1 PLD/FPGA Configuration and Commands ::::::::::::::::::: 94 15.2 PLD/FPGA Drivers, Options, and Commands ::::::::::::::: 94 v 16 General Commands ::::::::::::::::::::::::::
Recommended publications
  • Debian 1 Debian
    Debian 1 Debian Debian Part of the Unix-like family Debian 7.0 (Wheezy) with GNOME 3 Company / developer Debian Project Working state Current Source model Open-source Initial release September 15, 1993 [1] Latest release 7.5 (Wheezy) (April 26, 2014) [±] [2] Latest preview 8.0 (Jessie) (perpetual beta) [±] Available in 73 languages Update method APT (several front-ends available) Package manager dpkg Supported platforms IA-32, x86-64, PowerPC, SPARC, ARM, MIPS, S390 Kernel type Monolithic: Linux, kFreeBSD Micro: Hurd (unofficial) Userland GNU Default user interface GNOME License Free software (mainly GPL). Proprietary software in a non-default area. [3] Official website www.debian.org Debian (/ˈdɛbiən/) is an operating system composed of free software mostly carrying the GNU General Public License, and developed by an Internet collaboration of volunteers aligned with the Debian Project. It is one of the most popular Linux distributions for personal computers and network servers, and has been used as a base for other Linux distributions. Debian 2 Debian was announced in 1993 by Ian Murdock, and the first stable release was made in 1996. The development is carried out by a team of volunteers guided by a project leader and three foundational documents. New distributions are updated continually and the next candidate is released after a time-based freeze. As one of the earliest distributions in Linux's history, Debian was envisioned to be developed openly in the spirit of Linux and GNU. This vision drew the attention and support of the Free Software Foundation, who sponsored the project for the first part of its life.
    [Show full text]
  • How-To Build Meteohub on Sheevaplug (The Easy Way)
    How-To Build Meteohub on SheevaPlug (the easy way) The SheevaPlug is a low power, small form factor device that can be seen as the successor of the famous NSLU2. Meteohub has now been experimentally ported to the SheevaPlug. Please be aware that this port is rather alpha, but it seems to work. At the moment Meteohub on SheevaPlug has these limitations: ● no WebCam support: This is also not planned for the future ● no WLAN support: Might be added via USB WLAN sticks in the future (low priority) ● no Labjack support: unclear if this can be added by a home-brew kernel module, low priority Meteohub on SheevaPlug makes use of a SD card where operating system, Meteohub application and data are stored. Capacity is 4GB. It should be a SLC based card. As not all SD cards are working with the plug, you might have some experiments in front of you. SLC-based SD card that is proven to be working ● Transcend SDHC Class 6 150x: TS4GSDHC150 Weather stations are connected to the Meteohub by USB connector. This one USB port can be extended with an USB hub. It looks like it can be a passive USB hub, as the Meteohub provides the 500mA on USB and this should be enough to drive a few weather station USB connections and/or RS232-USB converter. Meteohub on SheevaPlug consumes about 5 watts , which is really effective. Meteohub's performance looks fine. It can do about 900 records per second during recomputation (NSLU2 is about 200, x86 Geode platforms are up to 2000).
    [Show full text]
  • A Monitoring System for Intensive Agriculture Based on Mesh Networks and the Android System ⇑ Francisco G
    Computers and Electronics in Agriculture 99 (2013) 14–20 Contents lists available at ScienceDirect Computers and Electronics in Agriculture journal homepage: www.elsevier.com/locate/compag A monitoring system for intensive agriculture based on mesh networks and the android system ⇑ Francisco G. Montoya a, , Julio Gómez a, Alejandro Cama a, Antonio Zapata-Sierra a, Felipe Martínez a, José Luis De La Cruz b, Francisco Manzano-Agugliaro a a Department of Engineering, Universidad de Almería, 04120 Almería, Spain b Department of Applied Physics, Universidad de Córdoba, Córdoba, Spain article info abstract Article history: One of the most important changes in the southeast Spanish lands is the switch from traditional agricul- Received 12 April 2013 ture to agriculture based on the exploitation of intensive farmlands. For this type of farming, it is impor- Received in revised form 12 July 2013 tant to use techniques that improve plantation performance. Web applications, databases and advanced Accepted 31 August 2013 mobile systems facilitate real-time data acquisition for effective monitoring. Moreover, open-source sys- tems save money and facilitate a greater degree of integration and better application development based on the system’s robustness and widespread utility for several engineering fields. This paper presents an Keywords: application for Android tablets that interacts with an advanced control system based on Linux, Apache, Wireless sensor network MySQL, PHP, Perl or Python (LAMP) to collect and monitor variables applied in precision agriculture. TinyOS 6LoWPAN Ó 2013 Elsevier B.V. All rights reserved. TinyRPL Android 1. Introduction real-time applications that operate using large datasets processed by the device or a cloud server.
    [Show full text]
  • News@UK the Newsletter of UKUUG, the UK’S Unix and Open Systems Users Group Published Electronically At
    news@UK The Newsletter of UKUUG, the UK’s Unix and Open Systems Users Group Published electronically at http://www.ukuug.org/newsletter/ Volume 19, Number 1 ISSN 0965-9412 March 2010 Contents News from the Secretariat 3 Chairman’s report 3 UKUUG – Spring Conference 2010 4 OpenTech 2010 – 11th September, London 5 OggCamp10 announcement 5 Erlang Factory London 2010 5 News from the ODF Alliance 6 PHP Conference 2010 8 A Note On Setting Up the SheevaPlug Linux Plug Computer 9 Book review: The Art of SEO 16 Book review: SEO Warrior 16 Book review: Programming Google App Engine 17 Book review: Inside Cyber Warfare 18 Book review: flex & bison 19 Book review: Core Data: Apple’s API for Persisting Data on Mac OS X 20 Book review: CSS the missing manual (2nd edition) 21 Book review: The Art of Community 21 Book review: Learning Python (4th edition) 23 Book review: Head First Programming 23 Book review: The Sustainable Network 24 Contributors 26 Contacts 27 news@UK UKUUG Newsletter News from the Secretariat Jane Morrison Thank you to everyone who has kindly sent in their subscription payments promptly. We have received a number of early payments. Those remaining outstanding will be chased this month and any members who have not paid by the end of April will not receive the next issue (June) Newsletter. We now have everything in place for the UKUUG Spring Conference and Tutorials, being held in Manch- ester (23rd - 25th March). The event will again be sponsored by Google and Bytemark which has enabled us to organise a Conference Dinner at the famous Yang Sing restaurant.
    [Show full text]
  • Pen Testing with Pwn Plug
    toolsmith ISSA Journal | March 2012 Pen Testing with Pwn Plug By Russ McRee – ISSA Senior Member, Puget Sound (Seattle), USA Chapter Prerequisites one who owns a Sheevaplug: “Pwn Plug Community Edition does not include the web-based Plug UI, 3G/GSM support, Sheevaplug1 NAC/802.1x bypass.” 4GB SD card (needed for installation) For those of you interested in a review of the remaining fea- tures exclusive to commercial versions, I’ll post it to my blog Dedicated to the memory of Tareq Saade 1983-2012: on the heels of this column’s publishing. Dave provided me with a few insights including the Pwn This flesh and bone Plug’s most common use cases: Is just the way that we are tied in But there’s no one home • Remote, low-cost pen testing: penetration test cus- I grieve for you –Peter Gabriel tomers save on travel expenses; service providers save on travel time. • Penetration tests with a focus on physical security and s you likely know by now given toolsmith’s position social engineering. at the back of the ISSA Journal, March’s theme is • Data leakage/exfiltration testing: using a variety of co- A Advanced Threat Concepts and Cyberwarfare. Well, vert channels, the Pwn Plug is able to tunnel through dear reader, for your pwntastic reading pleasure I have just many IDS/IPS solutions and application-aware fire- the topic for you. The Pwn Plug can be considered an ad- walls undetected. vanced threat and useful in tactics that certainly resemble Information security training: the Pwn Plug touches cyberwarfare methodology.
    [Show full text]
  • Plugcomputer
    Fakultat¨ Informatik Institut f ¨urTechnische Informatik, Professur f ¨urVLSI-Entwurfssysteme, Diagnostik und Architektur PLUGCOMPUTER Alte Idee, Neuer Ansatz Thomas Gartner¨ Dresden, 14.7.2010 Ubersicht¨ Motivation Alte Idee: NSLU2 Neuer Ansatz: PlugComputer Quellen TU Dresden, 14.7.2010 PlugComputer Folie 2 von 24 Motivation Problemstellung Wie kann ich meine personlichen¨ Daten und Dateien moglichst¨ effizient, f ¨urmich und ausgewahlte¨ Personen, ¨uberallund immer verf ¨ugbarmachen? • Soziale Netzwerke • Hostingdienste wie z.B. Flickr, Google Suite, YouTube . • Server anmieten Probleme: • Daten ¨ubergabean Dritte • Dienste wegen ihrer Große¨ f ¨urAngreifer attraktiv TU Dresden, 14.7.2010 PlugComputer Folie 3 von 24 Motivation Losungsansatz¨ Idee: Eigener Server im eigenen, sicheren Netz das inzwischen meistens ohnehin standig¨ mit dem Internet verbunden ist. Vorteile: • Beschrankter¨ physikalischer Zugang f ¨urDritte • Voll anpassbar Nachteile: • Konfigurationsaufwand • Energieverbrauch • Larm¨ • Verantwortung f ¨urdie eigenen Daten TU Dresden, 14.7.2010 PlugComputer Folie 4 von 24 Motivation Losungsansatz¨ TU Dresden, 14.7.2010 PlugComputer Folie 5 von 24 Alte Idee: NSLU2 Allgemein Mit dem Network Storage Link von Linksys konnen¨ Sie die Speicherkapazitat¨ Ihres Netzwerks schnell und einfach um viele Gigabyte erweitern. Dieses kleine Netzwerkgerat¨ verbindet USB2.0-Festplatten direkt mit Ihrem Ethernet- Netzwerk. [Lina] TU Dresden, 14.7.2010 PlugComputer Folie 6 von 24 Alte Idee: NSLU2 Außen • 130 mm x 21 mm x 91 mm • 1x 10/100-RJ-45-Ethernet-Port • 2x USB 2.0-Port • 1x Stromanschluss TU Dresden, 14.7.2010 PlugComputer Folie 7 von 24 Alte Idee: NSLU2 Innen • Intel IXP420 (ARMv5TE) • 133 MHz, spater¨ 266 MHz • 8 MB Flash • 32 MB SDRAM TU Dresden, 14.7.2010 PlugComputer Folie 8 von 24 Alte Idee: NSLU2 Modifikationen • NSLU2 Firmware basiert auf Linux! • Ersetzbar durch Debian, OpenWrt, SlugOS .
    [Show full text]
  • The Bolzano Raspberry Pi Cloud Cluster Experiment
    This is the author's version of the work. The definite version was published in Abrahamsson, P., Helmer, S., Phaphoom, N., Nicolodi, L., Preda, N., et al. 2013, December. Affordable and energy-efficient cloud computing clusters: the bolzano raspberry pi cloud cluster experiment. In Cloud Computing Technology and Science (CloudCom), 2013 IEEE 5th International Conference on (Vol. 2, pp. 170-175). IEEE. Affordable and Energy-Efficient Cloud Computing Clusters: The Bolzano Raspberry Pi Cloud Cluster Experiment Pekka Abrahamsson, Sven Helmer, Nattakarn Phaphoom, Lorenzo Nicolodi, Nick Preda, Lorenzo Miori, Matteo Angriman, Juha Rikkilä, Xiaofeng Wang, Karim Hamily, Sara Bugoloni Free University of Bozen-Bolzano Piazza Domenicani 3, 39100 Bolzano, Italy {firstname.surname}@unibz.it Abstract—We present our ongoing work building a are lacking the financial means and the infrastructure to deploy Raspberry Pi cluster consisting of 300 nodes. The unique large and costly data centers. Unless this is addressed, the characteristics of this single board computer pose several global digital divide will increase even further. Another issue challenges, but also offer a number of interesting we are interested in is the mobility of computing clusters. opportunities. On the one hand, a single Raspberry Pi can Getting a huge amount of data to a data center can be a prob- be purchased cheaply and has a low power lem, due to bottlenecks in the communication infrastructure. In consumption, which makes it possible to create an some cases it may be more cost-efficient to move a computing affordable and energy-efficient cluster. On the other hand, center to the data as illustrated by the ICE Cube modular data it lacks in computing power, which makes it difficult to run computationally intensive software on it.
    [Show full text]
  • Building a Networked Appliance
    Building a Networked Appliance John Sellens [email protected] @jsellens USENIX LISA 27, 2013 November 6, 2013 Notes PDF at http://www.monbox.com/notes/ Building a Networked Appliance A tale of designing and building a small networked computing appliance product. c 2013JohnSellens USENIXLISA27,2013 1 Notes: • Happy ending is still under development • But so far so good Building a Networked Appliance Not This: c 2013JohnSellens USENIXLISA27,2013 2 Building a Networked Appliance I had an idea for a thing . c 2013JohnSellens USENIXLISA27,2013 3 Building a Networked Appliance And over time, the idea changed . c 2013JohnSellens USENIXLISA27,2013 4 Building a Networked Appliance And I learned a lot. c 2013JohnSellens USENIXLISA27,2013 5 Building a Networked Appliance This is the story of the thing. c 2013JohnSellens USENIXLISA27,2013 6 Notes: • I’m not going to tell you much, if anything, about this particular thing • This is meant to be a technical talk, and not a marketing talk • I will of course be happy to tell you everything about this particular thing – Just as soon as I step away from the podium Building a Networked Appliance What’s the big idea? c 2013JohnSellens USENIXLISA27,2013 7 Notes: • A small, mostly self-contained network device • Intended to be deployed in remote or hard to reach net- works • Central management server • Usually no hands-on setup Building a Networked Appliance Original Final Idea Idea c 2013JohnSellens USENIXLISA27,2013 8 Notes: • I originally thought about and started working on a larger, more ambitious project/product
    [Show full text]
  • Sheevaplug ?????????? Linux ???????CPU ?? Marvell ??????? ARM ??????????
    SheevaPlug SheevaPlug ?????????? Linux ???????CPU ?? Marvell ??????? ARM ?????????? • CPU ????Marvell RISC Architecture ARM 1.2 GHz • RAM ????DDR2 512MB • NAND FLASH?512MB • ????????USB2.0 x1, SDHC x1 • 1000/100 ?? • ?????? 5W • ???? Linux 2.6.x • ?????? Ubuntu • ?????Gigabit Network x1, JTAG mini USB • ?????110mm (L) x 69.5mm (W) x 48.5 mm (H) Plug Computer ????????? Linux???????????????????????????????????????????????????? IP PBX ?????????? Marvell ??????????????? Plug Computer????????????????????????? "free your imagination"?????? http://plugcomputer.org/ ? ???? Plug Computer ???????????????????????? ARM CPU ???????? x86 ??????? ???????? Plug Computer ??? Asterisk ????????? FreePBX ???????????????? http://www.plugpbx.org/ ??????? 1 SheevaPlug SheevaPlug ????? • [Blog@OSSLab]????5W????IP PBX?? • SheevaPlug ??? ???? • Install Debian on sheevaplug • Install ubuntu • Plug Computer Console • PlugPBX • PlugPBX ???? - Sipp • SheevaPlug ??? • U-Boot ?? • ??uboot • Install Asterisk/FreePBX on SheevaPlug 2 SheevaPlug ???? ???? SheevaPlug ????????? Ubuntu ??????????? 512MB NAND Flash? SSH Login: root / nosoup4u ?? mini-USB ?? SheevaPlug ?? SheevaPlug ????????????????????????? Ubuntu??????? 1. ???? DHCP Server????????? IP ?????? Ubuntu ???????? DHCP ??????????? DHCP Server ? IP ??????? SheevaPlug ??? IP ??????? PuTTY ? SSH ???? SheevaPlug? 2. ? Windows ??????? FTDI 2232 ?????? Windows ???? mini-USB cable ? RS232 ???? SheevaPlug?? Linux ????????? Serial terminal? ????????????????????????????? // ?? FTDI 2232 Driver SheevaPlug_Host_SWsupportPackageWindowsHost1.2.zip
    [Show full text]
  • Sheevaplug Dev Kit Graham Morrison Looks at a Complete Linux Machine Housed in What Appears to Be a PSU…
    Linux box Reviews SheevaPlug Dev Kit Graham Morrison looks at a complete Linux machine housed in what appears to be a PSU… he name ‘SheevaPlug’ In brief... presumably comes from the Tfact that this small white box is Complete Linux little bigger than the average PSU, and machine that’s no with the correct connector, it will attach larger than a box directly to a power socket. But instead used to hold a single teacup. of transforming voltages, this box Other options contains a complete Linux machine include the Lintop with 512MB flash storage, 512MB or the Bubba RAM and a 1.2GHz ARM CPU. Home Server. There’s standard USB port, a hosting USB port, an SD memory card slot and an RJ45 Ethernet connector, and the whole box comes with the latest ARM build of Ubuntu pre-installed. Connect the SheevaPlug to an Ethernet cable and you’re ready to go. It’s called a Development Kit because it was envisaged that equally well suited as a media player, by the small box’s performance, even if embedded developers could use these using the USB port to pump music to a it wouldn’t survive a Slashdotting. devices to build their products, after USB-compatible set of speakers, as the We also installed the generic ARM which black-box appliances could be hub for a home automation system or package of Logitech’s Squeezebox deployed based around the same even as a network time server with a music streaming server. We found it hardware. This is certainly true, but it suitable USB GPS unit.
    [Show full text]
  • Ported Plan 9
    Recent Plan 9 Work at Bell Labs Geoff Collyer [email protected]−labs.com *All L=>oH=JoHEAI MKHH=O0Ell,NAM JAHIAO%'%" 75) ABSTRACT *All L=>I HA?AnJlO FoHJA@ 2l=n ' Jo nAM IOIJAmI MEJD non-2+ =H?DE­ JA?JKHAI. 6DEI EI = IJ=JKI HAFoHJ on JDoIA FoHJI =n@ = IKmm=HO oB MD=J DAlFA@,MD=J @E@nߣJ =n@MD=J ?oKl@. 1. Introduction 1n mO CHoKF oB 2l=n ' @ALAloFAHI =n@ KIAHI =J *All L=>I En MKHH=O 0Ell @KHEnC JDA l=IJ JMo OA=HI &ߞ oH Io, mK?D oB oKH MoHk D=I >AAn >=IA@ on FoHJI oB 2l=n ' Jo m=?DEnAI oJDAH JD=n JDA 1*M 2+. 6DEI J=lk MEll @AI?HE>A JDA FoHJI, MD=J MA KIA JDAm oHFl=nJoKIA JDAmBoH,=n@MD=J MA lA=HnA@. )I KIK=l, JDA >Klk oB 2l=n ' ?o@A EI IKBBE?EAnJlO FoHJ=>lA JD=J onlO JDA kAHnAl nAA@I Jo >A moLA@ Jo = nAM IOIJAm, =n@ ALAn JD=J onlO EnLolLAI FoFKl=JEnC = IK>@EHA?JoHO oB /sys/src/9 =n@ FoIIE>lO ?HA=JEnC = >ooJIJH=F FHoCH=m En /sys/src/boot.) FoHJ Jo = IOIJAm BoH MDE?D MA D=LA no ?omFElAH =n@ no IEmEl=H kAHnAl MoKl@ HAGKEHA IK>IJ=nJE=llOmoHA MoHk,=I@AI?HE>A@EnHABAHAn?A [$]. 2. Non−PC Ports: Common Problems and Techniques 9A FoHJA@ 2l=n ' Jo 2oMAH2+ "#, "" =n@ "# m=?DEnAI =n@ Jo )4M ' $ =n@ +oHJAN-)&m=?DEnAI. 6DAO=ll ID=HA ?AHJ=En?l=IIAIoB o>IJ=?lAI.
    [Show full text]
  • Tao Liu Email: [email protected] Tel: (209) 201-5447
    Tao Liu Email: [email protected] Tel: (209) 201-5447 Research Interest Efficient communication in low-power wireless networks, wireless links modeling and quality prediction, wireless sensor networks (WSNs) and Internet of Things (LoTs), machine learning. Education University of California – Merced, Merced, CA August 2007 – August 2013 Ph.D. in Computer Science • Advisor: Alberto Cerpa • Dissertation: Efficient Radio Communication for Energy Constrained Sensor Networks London South Bank University, London, UK November 2005 – December 2006 M.Sc. inInternetandMultimediaEngineering Graduationwith Distinction Wuhan University, Wuhan, China August 1996 – July 2000 B.Eng. in Power System and Its Automation Work Experience University of California – Merced Research Assistant Merced, CA 2008 – 2013 Responsibilities: Conduct research in the area of distributed systems and wireless sensor net- works. Additional Responsibilities include administration of the local network infrastructure the research group, as well as a wireless sensor network testbed with more than 80 sensor nodes. Yangtze River Scientific Research Institute Assistant Engineer Wuhan, China September 2000 – June 2005 Responsibilities: GUI development for finite element analysis (OpenGL and C++); administra- tion of the department computer network. Teach Experience University of California – Merced Teaching Assistant Merced, CA Fall 2007 – 2008, Summer 2010 and 2011 Courses: Introduction to Computer Science and Engineering I/II (Java) Qualifications Programming Languages: C, C++, Java,
    [Show full text]