BeagleBone. Created by Ladyada. Last updated on :30:32 PM EDT

Similar documents
SSH to BeagleBone Black over USB

BeagleBone Black: Installing Operating Systems

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

Setting up a Raspberry Pi as a WiFi access point

The embedded Linux quick start guide lab notes

Adafruit's Raspberry Pi Lesson 3. Network Setup

How To Connect A Raspberry Pi To The Internet On A Microsoft Moonstone 2 (Microsoft) Microsoft Powerbook 2 (Powerbook 2) (Powerboard 2) And Powerbook 3 (Powerstation 2)

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Chapter 1 Hardware and Software Introductions of pcduino

Virtual machine W4M- Galaxy: Installation guide

Intel Do-It-Yourself Challenge Lab 2: Intel Galileo s Linux side Nicolas Vailliet

Setting up WiFi with BeagleBone Black

Pwn Plug Community Edition 1.1 Installation Guide

ThinLinX TLXOS 64-bit Firmware Installation Guide for the Intel NUC Range. Materials Required

Adafruit's Raspberry Pi Lesson 6. Using SSH

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Adafruit's Raspberry Pi Lesson 7. Remote Control with VNC

SNAKE OS for Str8132-Based NAS USER MANUAL. Snake OS version ( ) Authors: Douglas Gazineu Jarko Papalitsas José Maciel Miguel Moreto

Raspberry Pi Setup Tutorial

Honeywell Internet Connection Module

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

Intro to Intel Galileo - IoT Apps GERARDO CARMONA

This document is intended to make you familiar with the ServersCheck Monitoring Appliance

Guide to Installing BBL Crystal MIND on Windows 7

Linux. Installing Linux on Power Systems servers

Reboot the ExtraHop System and Test Hardware with the Rescue USB Flash Drive

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

Getting Started with the Xilinx Zynq All Programmable SoC Mini-ITX Development Kit

Freshservice Discovery Probe User Guide

SI455 Advanced Computer Networking. Lab2: Adding DNS and Servers (v1.0) Due 6 Feb by start of class

Downloading & Installing Windows 7 on a Mac from Home

Wireless Communication With Arduino

Create a virtual machine at your assigned virtual server. Use the following specs

[HOW TO RECOVER AN INFINITI/EVOLUTION MODEM IDX ] 1

USB Flash Drive User s Manual

Hi-Speed USB Flash Disk User s Manual Guide

Raspberry Pi Android Projects. Raspberry Pi Android Projects. Gökhan Kurt. Create exciting projects by connecting Raspberry Pi to your Android phone

Connecting the DG-102S VoIP Gateway to your network

LockView CompX Database & Network Configuration & Installation Manual

MediaTek LinkIt Smart 7688 FAQ

Matrix 510/520 User Guide

Using pcduino's WiFi Dongle With the Pi a

Section 5: Installing the Print Driver

APPLICATION NOTE. How to build pylon applications for ARM

Introduction to Operating Systems

Upgrading from Windows XP to Windows 7

Note: Guide not yet tested in the SFU Surrey Linux Lab (SUR4080). Some changes may be needed.

Version 1.0. File System. Network Settings

Workshop Intel Galileo Board

c. Securely insert the Ethernet cable from your cable or DSL modem into the Internet port (B) on the WGT634U. Broadband modem

DT01 WiFi/3G VoIP PBX / ATA User Manual

SAPIP GUI INSTALLATION. Table of Contents

Setting up IO Python Library on BeagleBone Black

Raspberry Pi Webserver

Troubleshooting / FAQ


Quick Note 32. Using Digi RealPort with a Digi TransPort Router. UK Support September 2012

AutoDownload: SQL Server and Network Trouble Shooting

Wifi Web Server Module w TF Socket User s Guide

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

Hypercom Key Loading and Management (HKLM) RS232 PPP Key Injection PC Setup Guide

AR1100 Resistive Touch Screen Controller Guide

bigbluebutton Open Source Web Conferencing

User Manual. Thermo Scientific Orion

How to Install Applications (APK Files) on Your Android Phone

User Manual. 2 ) PNY Flash drive 2.0 Series Specification Page 3

Getting started with ARM-Linux

Using a Tablet with the AIM and VNA

Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14

Test instructions & HW/SW specifications Contents

SBC6245 Single Board Computer

Getting Started Using Project Photon on VMware Fusion/Workstation

User s Manual CONTENT. Nano NAS Server for USB storages. 1. Product Information Product Specifications System requirements..

Addonics T E C H N O L O G I E S. NAS Adapter. Model: NASU Key Features

7inch HDMI LCD (B) User Manual

Machine Edition USB Hardware License Key did not get recognize inside Virtual Machine

USB Bare Metal Restore: Getting Started

Software Installation Guide

Wireless Mobile Broadband Setup Guide for Linux OS

How to Setup and Connect to an FTP Server Using FileZilla. Part I: Setting up the server

USER MANUAL for USB to serial converter (PL2303)

MFC7840W Windows Network Connection Repair Instructions

InventoryControl for use with QuoteWerks Quick Start Guide

Backups. Backup Plan. How to use the Backup utility to back up files and folders in Windows XP Home Edition

Operating System Installation Guidelines

Software Prerequisites Linux Ubuntu LTS. Estimated completion time: 15min. The goal of this hands-on is to:

Additional Requirements for ARES-G2 / RSA-G2. One Ethernet 10 Base T/100 Base TX network card required for communication with the instrument.

You can find the installer for the +Cloud Application on your SanDisk flash drive.

Lab 3 Routing Information Protocol (RIPv1) on a Cisco Router Network

Upgrading from Windows XP to Windows 7

Hands-on MESH Network Exercise Workbook

Network Monitoring User Guide Pulse Appliance

Debugging Network Communications. 1 Check the Network Cabling

Changing Password for Ingate Firewalls/SIParators Rickard Nilsson

Software Installation Guide

Quick Start Guide. Quick Start Guide. taskit GmbH. for Portux920T EU / SW Portux Mini-PC Portux Panel-PC Panel-Card MoLUX Stamp

Adafruit NFC/RFID on Raspberry Pi

W2CBW0011u (Marvell 88W8786 based Wi-Fi b/g/n 1 x1 Module, Chip Antenna) Development Kit Quick Start Guide V1.10

Verizon Wireless 4G LTE USB Modem 551L Software Upgrade

Transcription:

BeagleBone Created by Ladyada Last updated on 2013-07-25 06:30:32 PM EDT

Guide Contents Guide Contents Overview Installing Drivers Download & Install Connect! Ethernet Terminal Software dmesg Ethernet Test WiFi Power and WiFi Driver Install Troubleshooting Buy a BeagleBone Adafruit Forums 2 3 4 4 5 9 9 11 12 15 15 16 19 20 21 http://learn.adafruit.com/beaglebone Page 2 of 21

Overview New from the fine people who have brought us the Beagle Board, we now have a smaller, lighter, but powerful single board linux computer, Beagle Bone! We like this move to a more compact and integrated SBC. For example, there is onboard Ethernet and USB host, as well as a USB client interface (a FTDI chip for shell access). It even comes preloaded with Angstrom Linux on the 4 GB microsd card! The Beagle Bone is a great step up from micro co ntro llers (such as AVR, PIC, ARM Cortex M3, 8051, Propeller, etc) to microcomputers. Unlike a microcontroller, where the FLASH, EEPROM, RAM, etc is all in one chip, a microcomputer has them separated out, like a classic computer such as a desktop or laptop machine. The Beagle Bone has a main processor core running at 700MHz, a chunk of 256M DDR RAM, and permanent storage onto a microsd card. This makes for a powerful machine, that has no problems running Linux, a webserver, Python, FTP clients, SSH, etc. The Bone also has great accessories built in, such as onboard Ethernet with 10/100M connectivity, mini USB port with TTL serial converter, JTAG debugger for advanced hacking, USB A host port for connecting a hub/wifi/etc, power management IC that keeps the board safe from a misplugged adapter, and tons of 0.1" spaced breakouts One of the powerful abilities of the Bone is that it has I2C, SPI, and GPIO at a hobbyist-friendly 3.3V level (instead of the more difficult to interface 1.8V) while also running complex applications such as a webserver. This allows for more complex projects that would tax an Arduino. http://learn.adafruit.com/beaglebone Page 3 of 21

Installing Drivers This section will detail how to install drivers for the USB/Serial connection (and the other USB devices) from the Bone onto your Windows computer. We'll try to have more documentation on using the Bone with a Mac & Linux at some point but since so many people use Windows and its tougher to install the drives on Win than other OS's we'll start here! For this tutorial you will need: Beagle Bo ne (http://adafru.it/513) Pick these parts up at the Adafruit shop! Download & Install First, we'll install the Windows driver package. Download this link to BONE_DRV.exe (http://adafru.it/all) and double click it. When prompted/warned about the software, click Co ntinue Anyways - you'll need to do it 3 times - once for each driver. http://learn.adafruit.com/beaglebone Page 4 of 21

Connect! Start by opening up your Bone packaging, and finding the MiniB USB cable Plug the minib side into the Bone, and the A side into your Windows computer. You'll see a popup saying the computer found a USB serial converter. And then an install popup. Click Install the so ftware auto matically and Next. http://learn.adafruit.com/beaglebone Page 5 of 21

Click Co ntinue Anyway when it warns you. You should finish successfully. http://learn.adafruit.com/beaglebone Page 6 of 21

Next you'll go through the same process for the Disk Drive and Beaglebone devices. Follow the same instructions, installing Auto matically and clicking Co ntinue Anyways. Finally, you will have the new USB serial port. Go to the Device Manager on your computer to find the name of the COM port. In my case its COM17. http://learn.adafruit.com/beaglebone Page 7 of 21

That's it, you've installed the drivers! Next up we'll connect via serial and log in. http://learn.adafruit.com/beaglebone Page 8 of 21

Ethernet This mini tutorial will show you how to connect to the Bone via the serial connection to determine the IP address, test the network connection and DNS. You'll need to know the COM serial port address, see the Drivers (http://adafru.it/alm) tutorial on how to determine the COM and install drivers. For this tutorial you will need: Beagle Bo ne (http://adafru.it/513) Ethernet Cable (http://adafru.it/730) Pick these parts up at the Adafruit shop! Terminal Software To connect via the USB cable, you'll need a terminal program. Built into Windows is Hyperterm. You can google around to find another good terminal program. Connect to the Bone's COM port at 115200 baud, 8 bit, No parity, 1 stop bit, no flow control. http://learn.adafruit.com/beaglebone Page 9 of 21

Hit return a few times, to show the login screen. http://learn.adafruit.com/beaglebone Page 10 of 21

Log in with the user name root and no password. That's it you're logged in! dmesg Now we can try out the Ethernet connection. Plug a standard straight-through cable from the Bone to your Ethernet router. Our favorite tool is dmesg - this will tell you all the system messages, such as what hardware was found. Type dmesg and hit return at the ro o t@beaglebo ne: ~# prompt. http://learn.adafruit.com/beaglebone Page 11 of 21

As you can see the last part of boot up is to bring the ethernet connection eth0 up. Ethernet Test You can verify the ethernet connection by typing in ifco nfig -a http://learn.adafruit.com/beaglebone Page 12 of 21

You can see under inet addr: the internet address of the Bone - it uses DHCP to automatically get an IP address and this is what the router gave us back. If you don't see anything, try rebooting the system by typing in rebo o t and hitting return. Make sure your Ethernet cable is well connected to both the Bone and the router. Now you can test the outgoing connection. Type in ping 18.70.0.160 and hit return. If it works, you'll see the above. You can type Control-C to cancel. Next you can test the DNS system, by pinging www.google.com (http://adafru.it/aln), which should also succeed. http://learn.adafruit.com/beaglebone Page 13 of 21

http://learn.adafruit.com/beaglebone Page 14 of 21

WiFi This tutorial may not work on beaglebone black or the latest versions of Angstrom (kernel 3.8+) due to changes in the OS. We're working on a new/updated tutorial, but we don't have an ETA - we'll post it as soon as we can! Thank you for your patience. Now that you have your Bone up and running, and Ethernet works, wouldn't it be nice to get rid of that Ethernet cable? Yeah, let's go WiFi! This tutorial is specifically for the verified WiFi adapter fo r Beagle Bo ne (http://adafru.it/814) adapter in the Adafruit shop. It will not work with other WiFi adapters, as they all have different chipsets! For this tutorial you will need: Beagle Bo ne (http://adafru.it/513) WiFi adapter (http://adafru.it/814) 5V 2000mA Po wer Adapter (http://adafru.it/276) Pick these parts up at the Adafruit shop! Power and WiFi The BeagleBone has the neat ability to power itself just through the mini USB port. However, this can cause some problems because the USB port cannot supply enough power for BOTH the Bone and a WiFi adapter. http://learn.adafruit.com/beaglebone Page 15 of 21

An external power supply is required to use WiFi, due to the power requirements. Flaky behavior, crashes, etc will result if you do not plug in a 5V 2000mA adapter! If you're still having problems, try an external powered USB hub! Driver Install You'll need to have Internet connectivity using Ethernet (http://adafru.it/cku), and also be logged into the terminal to install the WiFi adpater's driver, so make sure to complete those tutorials first! While logged in with Internet working, run o pkg update Then run mkdir /home/root/tmp to make a new temp directory then run opkg -t /ho me/ro o t/tmp upgrade then type in o pkg list 'linux-firmware-rt*' and hit return. Finally type in o pkg install linux-firmware-rtl8192cu and press return. Plug in the WiFi dongle, then type in rebo o t and return to reboot the machine. Now that its rebooted, check dmesg - you should see the following And if you type in ifco nfig wlan0 there should be a link, it wont be connected yet so there's a http://learn.adafruit.com/beaglebone Page 16 of 21

lot of 0's and no inet addr Now we can set up the connection manager to automatically manage the wifi. Edit /var/lib/co nnman/settings (I use vi but nano is also installed) and change WiFi from false to true, save it. Create a file /var/lib/co nnman/wifi.co nfig with your settings as shown below, starting with the [service_ho me] line and with a return after the Passphrase line, of course this should match your home network, not the adafruit one! Restart connman to get it to accept the new settings: ro o t@beaglebo ne: ~# systemctl restart co nnman.service http://learn.adafruit.com/beaglebone Page 17 of 21

After less than 30 seconds or so, you should be connected: root@beaglebone:~# ifconfig wlan0 There should now be an inet addr You can then test pinging an IP address and a domain name. Finally, if you want more detailed information about your link you can o pkg install wirelesstools to get the iwconfig command, which will give you tons of details. http://learn.adafruit.com/beaglebone Page 18 of 21

Troubleshooting If you get an error device descriptor read/64, error -71, reboot and stop the boot process with the space bar. Then add the following boot option with the follow at the U-Boot prompt setenv bootargs irqpoll RETURN boot RETURN http://learn.adafruit.com/beaglebone Page 19 of 21

Buy a BeagleBone Buy a BeagleBone (http://adafru.it/alp) http://learn.adafruit.com/beaglebone Page 20 of 21

Adafruit Forums Adafruit Forums (http://adafru.it/forums) Last Updated: 2013-07-25 06:30:34 PM EDT Page 21 of 21