BeagleBone Essentials
eBook - ePub

BeagleBone Essentials

Rodolfo Giometti

Partager le livre
  1. 240 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

BeagleBone Essentials

Rodolfo Giometti

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que BeagleBone Essentials est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  BeagleBone Essentials par Rodolfo Giometti en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Ciencia de la computaciĂłn et Hardware. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
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...

Table des matiĂšres