BeagleBone Essentials
eBook - ePub

BeagleBone Essentials

Rodolfo Giometti

Compartir libro
  1. 240 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

BeagleBone Essentials

Rodolfo Giometti

Detalles del libro
Vista previa del libro
Índice
Citas

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es BeagleBone Essentials un PDF/ePUB en línea?
Sí, puedes acceder a BeagleBone Essentials de Rodolfo Giometti en formato PDF o ePUB, así como a otros libros populares de Ciencia de la computación y Hardware. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2015
ISBN
9781784393526

BeagleBone Essentials


Table of Contents

BeagleBone Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Software prerequisites
Hardware prerequisites
Who this book is for
Conventions
Codes and command lines
Kernel and logging messages
File modifications
Other conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Installing the Developing System
Embedded world terms
A system overview
The first login
Checking out the preloaded tools
The SSH tool
The Apache web server
Setting up a developing system
The LAMP suite
Apache
PHP
MySQL
The compiler
(Re)Installing Debian
The virtual machine
Setting up the host
The serial connection
The Ethernet connection
The developing tools
Summary
2. Managing the System Console
Getting access to the serial console
Basic system management
File manipulation tools and friends
Package management
Managing the kernel messages
A quick tour of the bootloader
GPIOs management
The environment
Managing the storage devices
The kernel command line
Summary
3. Compiling versus Cross-compiling
Native compilation versus cross-compilation
Compiling a user-space software package
Native compilation
Cross-compilation
Compiling the kernel
The Linux kernel
Device drivers
Summary
4. Quick Programming with Scripts
The GPIO subsystem
The GPIOs on the BeagleBone Black
The sysfs API
Managing an LED in PHP
The LAMP solution
The built-in server solution
Managing an LED in Python
Managing an LED in Bash
Summary
5. Device Drivers
What is a device driver?
Char, block, and net devices
The modutils
Writing our own device driver
Summary
6. Serial Ports and TTY Devices
What is a serial port?
The electrical lines
Implementation of serial ports
The serial ports in Linux
The communication parameters
A simple serial echo
Managing a real device
Summary
7. Universal Serial Bus – USB
What is the Universal Serial Bus?
The electrical lines
The USB bus in Linux
Acting as a host
Acting as a device
Accessing the raw bus
Summary
8. Inter-integrated Circuit – I2C
What is the I2C bus?
The electrical lines
The I2C bus in Linux
Getting access to I2C devices
The EEPROM
The ADC chip
Accessing the bus directly
Summary
9. Serial Peripheral Interface – SPI
What is the SPI bus?
The electrical lines
The SPI bus in Linux
Getting access to the SPI devices
Accessing the raw bus
Summary
10. 1-Wire Bus – W1
What is the 1-Wire bus?
The electrical lines
The 1-Wire bus in Linux
Getting access to 1-Wire devices
Summary
11. Useful System Daemons
What is a daemon?
Useful and ready-to-use daemons
Syslogd
Using in Bash
Using in C
Using in PHP
Using in Python
Cron
MySQL
Getting access in Bash
Getting access in C
Getting access in PHP
Getting access in Python
Writing a custom daemon
Using C
Using PHP
Using Python
Using Bash
Summary
Index

BeagleBone Essentials

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: May 2015
Production reference: 1260515
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-352-6
www.packtpub.com
Cover image by Andrea Dovichi ()

Credits

Author
Rodolfo Giometti
Reviewers
Kumar Abhishek
Luca Belluomini
Richard Bottoms
Antonio Tringali
Commissioning Editor
Pramila Balan
Acquisition Editor
Subho Gupta
Content Development Editor
Samantha Gonsalves
Technical Editor
Siddhi Rane
Copy Editor
Rashmi Sawant
Project Coordinator
Kinjal Bari
Proofreaders
Stephen Copestake
Safis Editing
Indexer
Hemangini Bari
Graphics
Sheetal Aute
Production Coordinator
Komal Ramchandani
Cover Work
Komal Ramchandani

About the Author

Rodolfo Giometti is an engineer, IT specialist, GNU/Linux expert, and software libre evangelist.
He is the maintainer of LinuxPPS projects (Linux's Pulse Per Second subsystem). He also actively c...

Índice