KR:BeagleBone



이 페이지는 BeagleBoard.org의 TI AM335x ARM을 기반으로 하는 BeagleBone의 정보를 모았다.

= 이벤트 =
 * 진행중인 2009: 비글 스폰서 프로젝트 프로그램 - 참신한 프로젝트를 추가하고 무료로 비글보드를 얻어가세요!

= 설명 =

비글본(BeagleBone)은 BeagleBoard 제품 라인으로 저렴하며 높은 확장성을 가진다. ARM Cortex-A8 프로세서 코어를 기반으로 TI AM3358/9 SoC를 사용한다. ARMv7-A 구조를 기반으로 한다. 초기 비글보드의 목적과 유사해서 독립적으로 사용하거나 비글보드나 다른 시스템에 이더넷 연결 확장하여 사용할 수 있다. 비글본은 표준 비글보드도 작으면서도 상당한 성능과 용량을 제공한다.

비글본은 4GB 마이크로 SD카드에 Angstrom ARM Linux 배포판과 함께 제공된다.

입력 전력이 가변적이더라도 안정적인 전압을 생성할 수 있도록 TI TPS65217B PMIC를 사용한다. +5V DC는 배럴 컨넥터(barrel connector)나 미니-USB를 통해 공급된다. 이 둘은 모두 RJ45 이더넷 컨넥터 근처에 위치하고 있다.

The mini-USB type-A OTG/device client-mode socket is multi-functional. In addition to providing an alternative source of power, it gives access to an on-board front-end two-port USB client-side hub. (This is not related to the separate host-mode USB socket described later). One port of the hub goes directly to the USB0 port of the TI AM3358/9 SoC, while the other port connects to a dual-port FTDI FT2232H USB-to-serial converter to provide board-to-external-host serial communications and/or JTAG debugging. The BeagleBone's Linux serial console is available through this USB serial connection.

The SoC's USB0 connection to the front-end hub works in one of two modes, and you can toggle between them at any time: it either presents the SD card as a mountable USB storage device to the host, or it provides an Ethernet-over-USB networking interface which yields a simple method of quick-start. The Ethernet-over-USB facility is additional to the BeagleBone's normal 10/100 Ethernet interface, which is directly implemented in the SoC rather than hanging off USB as in some other designs. Full IPv4 and IPv6 networking is provided by the supplied Linux system out of the box.

In addition to the USB OTG Device or client-mode facilities already described, BeagleBone also provides one host-mode USB type-A socket on the other end of the board. This is driven from the USB1 connection on the AM3358/9 SoC, and provides access to USB host peripherals such as mice, keyboards, storage, and wifi or Bluetooth dongles, or a USB hub for further expansion.

= 스펙 =
 * 최대 720-MHz superscalar ARM Cortex-A8
 * 256-MB DDR2 RAM
 * 10/100 이더넷 RJ45 소켓, IPv4 and IPv6 네트워킹
 * 마이크로SD 슬롯과 4GB 마이크로SD 카드 제공
 * Angstrom ARM 리눅스 배포판
 * 단일 USB 2.0 타입 A 호스트 포트
 * 듀얼 USB 허브 USB 2.0 타입 mini-A OTG 장치 포트
 * On-board USB-to-serial/JTAG 하나의 공유 USB 장치 포트
 * Storage-over-USB or Ethernet-over-USB on other USB device port
 * Extensive I/O: 2 I2C, 5 UART, SPI, CAN, 66 GPIO, 8 PWM, 8 ADC
 * +5V DC power (배럴 커넥터 or USB 장치 포트)
 * 2개 46-pin 3.3-V peripheral headers with multiplexed LCD signals
 * 보드 크기 : 86.4mm x 53.3mm(3.4" × 2.1") -- Altoid tin에 적합

= 확장 커넥터 = 비글본은 2개의 46핀 2열 확장 커넥트인 "Expansion A"와 "Expansion B"로 알려진 "P9"와 "P8" 를 제공한다. 이 커넥터의 위치와 핀아웃은 아래에 나와 있다.(크게 볼려면 테이블을 클릭하라). 다른 표시가 없으면 확장 헤더에 모든 신호는 3.3V이다.

P9과 P8 - 각 2x23 pins
In addition to the two large headers above, a small 10-pin dual-row connector provides "P6" provides a "PMIC Expansion" that brings out some additional signals from the TPS65217B Power Management IC, using the following pinout:

P6 - 2x5 pins'''
중요

P6 다이어그램은 아랫부분 PINOUT을 보여준다.

It is therefore  laterally inverted  relative to the photograph.

To obtain the top-side pinout that corresponds to the physical orientation shown in the photograph, swap the two rows of pins so that odd-numbered pins are on the left of even-numbered pins.

= 확장 보드와 악세사리 =

케이프(Capes)
A BeagleBone Cape is an expansion board which can be plugged into the BeagleBone's two 46-pin dual-row Expansion Headers and which in turns provides similar headers onto which further capes can be stacked. Up to four capes at a time can be stacked on top of a BeagleBone. An expansion board which can be fitted only at the top of a stack of capes (usually for physical reasons) is a special case of "cape", but this usage is common for display expansion boards such as LCDs (see next section).

Capes are required to provide a 32Kbyte I2C-addressed EEPROM which holds board information such as board name, serial number and revision, although this is typically omitted on simple prototyping capes. Capes are also expected to provide a 2-position DIP switch to select their address in the stack, although this too is often omitted in prototyping capes.

The Capes Registry seeks to index all existing capes and cape concepts, including private projects. A registration page is available to help add capes to the list.

This section lists only those capes which are available commercially or which are close to a production release, as well as open hardware designs.


 * CircuitCo BeagleBone DVI-D cape
 * CircuitCo BeagleBone Breadboard cape
 * CircuitCo BeagleBone Breakout cape
 * CircuitCo BeagleBone CANBus cape
 * CircuitCo BeagleBone RS232 cape
 * CircuitCo BeagleBone Battery cape
 * Adafruit Proto Cape kit for BeagleBone
 * TowerTech TT3201 Multi-Channel CAN Cape
 * Special Computing Spartan-3A FPGA cape for BeagleBone -- in development
 * Thinking Machines LCD-IO Expansion Cape -- in development
 * Open Source BeagleBone Prototyping Board -- piranha32 GitHub repository

LCD 디스플레이와 다른 확장
LCD displays for the BeagleBone are typically implemented as capes which plug in as the  top board  in a stack of capes, for reasons of visibility. Such displays are often larger than the BeagleBone itself, so the normal physical relationship in which a daughterboard is smaller than its host board is inverted. In this arrangement it is the expansion board that provides the physical support for the BeagleBone.


 * Beaglebone.jpgG Electronics BeadaFrame with BeagleBone companion board
 * Expanded Hardware Features:
 * 7" 800x480 TFT LCD screen
 * PWM Backlight control
 * Resistive touch panel
 * Plastic frame
 * 256MB Nand flash(K9F2G08)
 * RS232 serial ports(UART1 w/ CTS&RTS)
 * Stereo audio out
 * Micro-phone in
 * 6 x USER buttons
 * PWM Beeper
 * RTC with Battery(DS1302)


 * CircuitCo BeagleBone LCD3 cape and LCD display
 * 3.5" TFT LCD screen, resolution 320x240, 4-wire resistive touchscreen, seven buttons at finger-friendly positions.


 * CircuitCo BeagleBone LCD7 cape and LCD display
 * 7" TFT LCD screen, resolution 800x480, 4-wire resistive touchscreen, rear mount for BeagleBone and capes.

Cases

 * Adafruit Bone Box - Enclosure for Beagle Bone
 * SK Pang Acrylic Cover for BeagleBone
 * Special Computing Bone Acrylic Case
 * canadaduane's 3D-printable BeagleBone Case design
 * NinjaBlock's 3D-printable Beaglebone front panel design
 * builttospec's laser-cut design for BeagleBone Enclosure with DVI Cape
 * Built to Spec BeagleBone Case Update, and final product

= BeagleBone Operating Systems = BeagleBone's default operating system is Angstrom, which ships with the board. This section provides basic information on Angstrom and other operating systems commonly used on BeagleBone. This information may help in making a preliminary choice, but full details should be obtained from the home sites.

Angstrom
Ångström was started by a small group of people who worked on the OpenEmbedded, OpenZaurus and OpenSimpad projects to unify their effort to make a stable and user-friendly distribution for embedded devices like handhelds, set top boxes and network-attached storage devices. Ångström can scale down to devices with only 4MB of flash storage.
 * Home site: http://www.angstrom-distribution.org/
 * Mailing lists: angstrom-distro-devel and angstrom-distro-users
 * IRC channel: irc://irc.freenode.net/#angstrom

The Angstrom community does not provide a forum, intentionally.

Angstrom uses Busybox for many key utilities, which has both pros and cons. Advantages include requiring less storage space and a smaller memory footprint for many common utilities, which also improves system startup time and performance. The main disadvantages stem from those utilities not mirroring exactly their full-size counterparts. These differences can be annoying if one is used to standard behavior, and may also break shell scripts that rely on portable functionality.

Angstrom uses connman for network connection management, but no documentation is available for this currently. Also, man(1) and man pages are not provided by default, nor debugging utilities like strace(1) and tcpdump(1). Getting started may therefore present difficulties, depending on experience.

Debian
The ARM EABI port is the default port of the standard Debian distribution of Linux for the ARM architecture ("armel"). EABI ("Embedded ABI") is actually a family of ABIs, and one of the "subABIs" is the GNU EABI for Linux which is used for this port. A newer port targeted at newer hardware with another ABI ("armhf") is currently under development and is expected to ship with Debian 7.0 (Wheezy).
 * Home site: http://wiki.debian.org/ArmEabiPort
 * Mailing list: http://lists.debian.org/debian-arm/
 * IRC channel: irc://irc.debian.org/debian-arm

The Debian Project is strongly committed to software freedom, and has a long pedigree and a good reputation.

Ubuntu
The vision for Ubuntu is part social and part economic: free software, available free of charge to everybody on the same terms, and funded through a portfolio of services provided by Canonical.
 * See BeagleBoardUbuntu
 * Home site: https://wiki.ubuntu.com/ARM
 * IRC channel: irc://irc.freenode.net/#ubuntu-arm

The first version of Ubuntu was based on the GNOME desktop, but has since added a KDE edition, Kubuntu, and a server edition. All of the editions of Ubuntu share common infrastructure and software. In recent years, special emphasis has been placed on netbooks for lightweight, connected, mobile computing, and on the cloud as a new architecture for data centres.

Fedora
The Fedora Project is sponsored by Red Hat, which invests in its infrastructure and resources to encourage collaboration and incubate innovative new technologies. Some of these technologies may later be integrated into Red Hat products. They are developed in Fedora and produced under a free and open source license from inception, so other free software communities and projects are free to study, adopt, and modify them.
 * See BeagleBoardFedora.
 * Home site: http://fedoraproject.org/wiki/Architectures/ARM
 * Mailing list: http://lists.fedoraproject.org/pipermail/arm/
 * IRC channel: irc://irc.freenode.net/#fedora-arm

Red Hat has been a major player since the earliest days of Linux distributions, and has earned a good reputation for solidity which continues in Fedora. The Fedora ARM initiative is very active (see mailing list).

ArchLinux
Arch Linux for BeagleBone is a version of the Arch Linux ARM distribution. This carries forward the Arch Linux philosophy of simplicity and user-centrism, targeting and accommodating competent Linux users by giving them complete control and responsibility over the system. Instructions are provided to assist in navigating the nuances of installation on the varied ARM platforms; however, the system itself will offer little assistance to the user.
 * Home site: http://archlinuxarm.org/platforms/armv7/beaglebone
 * Source repository: https://github.com/archlinuxarm/PKGBUILDs
 * IRC channel: irc://irc.freenode.net/#archlinux-arm

The entire distribution is on a rolling-release cycle that can be updated daily through small packages instead of huge updates on a defined release schedule. Most packages are unmodified from what the upstream developer originally released.

Gentoo
Gentoo is a source-based  meta-distribution of Linux. Instead of distributing a standard system image built with predefined options, Gentoo gives each user the means to create their own customized system that doesn't contain unused bloat and with minimum dependencies. Upgrades are incremental and under user control, so a Gentoo system is normally always up-to-date and wholesale upgrades are avoided.
 * Home site: http://dev.gentoo.org/~armin76/arm/beaglebone/install.xml
 * IRC channel: irc://irc.freenode.net/#gentoo-embedded

Being a source-based system, the downside of Gentoo for low-power ARM systems is very long install times for large applications. Cross-compilation on x86 machines and distcc can overcome this problem, but they add complexity.

Sabayon
Sabayon Linux uses the mechanisms of Gentoo to create a pre-configured Linux distribution that can be installed as rapidly as a normal binary distribution, but still retains the benefits of Gentoo's source-based package management. Sabayon on Intel/AMD also provides the Entropy binary package management system, which could in principle greatly ease installation of packages on resource-constrained embedded Linux devices, but this is not yet available for ARM.
 * Home site: wiki.sabayon.org/Hitchhikers Guide to the BeagleBone
 * IRC channel: irc://irc.freenode.net/#sabayon

Although it is still early days for Sabayon on ARM (and hence on BeagleBone), there is regular progress reported on lxnay's blog, and contributions from the community would probably accelerate the work.

Buildroot
Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system. Buildroot can generate any or all of a cross-compilation toolchain, a root filesystem, a kernel image and a bootloader image. Buildroot is useful mainly for people working with small or embedded systems, using various CPU architectures (x86, ARM, MIPS, PowerPC, etc.) : it automates the building process of your embedded system and eases the cross-compilation process.
 * Home site: http://www.zoobab.com/beaglebone
 * Source repository: https://github.com/fhunleth/buildroot-beaglebone
 * Buildroot project site: http://buildroot.uclibc.org/

The resulting root filesystem is mounted read-only, but other filesystems can be mounted read/write for persistence. Although user accounts can be created, in practice almost everything is done as root. Buildroot uses no package manager. Instead, package selection is managed through make menuconfig.

Nerves Erlang/OTP
Erlang is a programming language used to build massively scalable soft realtime systems with high availability requirements (5-9’s). Some of its uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang’s runtime system has built-in support for concurrency, distribution and fault tolerance.
 * Home site: http://nerves-project.org/
 * Source repository: https://github.com/nerves-project/bbone-erlang-buildroot
 * Erlang project site: http://www.erlang.org/

OTP is a set of Erlang libraries and design principles providing middle-ware to develop these systems. It includes its own distributed database, applications to interface towards other languages, debugging and release handling tools.

The Nerves project provides an embedded Linux-based environment for running Erlang and an easy-to-use API to access common I/O interfaces, based on Buildroot (see above). If you are interested in running an Erlang node on a low power ARM-based board such as BeagleBone, this project can get you started.

= Board recovery =
 * See BeagleBoardRecovery --- (*) Check applicability

= Software Development = Software development on the BeagleBone is normally no different to any other Linux platform, and typically varies with language and with the IDE used, if any. This section deals only with development issues that are specific to BeagleBone, or mostly so.

Cloud9 IDE and Bonescript
..... description here .....
 * Source repository: https://github.com/jadonk/bonescript
 * Language documentation: http://nodejs.org/

BeagleBone JTAG Debugging
..... description here .....

= FAQ =

For BeagleBoard frequently asked questions (FAQ) see community FAQ and "official" BeagleBoard.org FAQ.

= Links =

Home page and Community

 * beagleboard.org -- home for BeagleBoard and BeagleBone products
 * irc://irc.freenode.net/#beagle -- official combined IRC channel
 * Google Groups forums/mailing list -- English, Japan, Brasil, Turkey
 * BeagleBoard and BeagleBone projects list
 * Capes Registry and its registration page
 * BeagleBone articles at Adafruit blog -- products, projects and tutorials
 * Use Google to search beagleboard.org (including IRC logs) using site:beagleboard.org 

Tutorials and Videos

 * BeagleBone: BeagleBoard-101 Intro -- slides (turn off Javascript for single page)
 * BeagleBone Intro, video by Jason Kridner, Texas Instruments
 * How-To: Get Started with the BeagleBone, video by Matt Richardson, MakeMagazine
 * The Beaglebone - Unboxing, Introduction Tutorial and First Example, video by Derek Molloy, DCU/EE
 * Beaglebone: C/C++ Programming Introduction for ARM Embedded Linux Development using Eclipse, video by Derek Molloy, DCU/EE
 * Beaglebone: GPIO Programming on ARM Embedded Linux, video by Derek Molloy, DCU/EE
 * First steps with the Beaglebone, introductory HOWTO by octavio at borderhack

Manuals and resources

 * BeagleBone System Reference Manual (rev. A3_1.0).
 * Texas Instruments - Sitara ARM Cortex-A8 Microprocessor overview.
 * ARM/ARMv7-AR Architecture -- ARM Cortex-A8 architecture overview
 * ARM Cortex-A8 Technical Reference Manual r2p1
 * ARM Cortex-A Development Platforms -- ARM page on Beagle boards
 * TI TPS65217 Power Management IC, TPS65217 PMIC datasheet
 * FTDI FT2232H Hi-Speed Dual USB UART/FIFO IC overview, FT2232H datasheet
 * Linux-USB Gadget API Framework and USB OTG, and kernel config -- Ethernet-over-USB

Errata
= Subpages = 