BeagleBone Essentials
eBook - ePub

BeagleBone Essentials

Rodolfo Giometti

Condividi libro
  1. 240 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

BeagleBone Essentials

Rodolfo Giometti

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
BeagleBone Essentials è disponibile online in formato PDF/ePub?
Sì, puoi accedere a BeagleBone Essentials di Rodolfo Giometti in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Ciencia de la computación e Hardware. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
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...

Indice dei contenuti