BeagleBone Essentials
eBook - ePub

BeagleBone Essentials

Rodolfo Giometti

Buch teilen
  1. 240 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

BeagleBone Essentials

Rodolfo Giometti

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist BeagleBone Essentials als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu BeagleBone Essentials von Rodolfo Giometti im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Ciencia de la computación & Hardware. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

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

Inhaltsverzeichnis