Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning BeagleBone

You're reading from  Learning BeagleBone

Product type Book
Published in Dec 2014
Publisher
ISBN-13 9781783982905
Pages 206 pages
Edition 1st Edition
Languages
Author (1):
Hunyue Yau Hunyue Yau
Profile icon Hunyue Yau

Table of Contents (18) Chapters

Learning BeagleBone
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Introducing the Beagle Boards Software in the BeagleBone Building an LED Flasher Refining the LED Flasher Connecting the BeagleBone to Mobile Devices Recovering from the Mistakes Interfacing with the BeagleBone Advanced Software Topics Expansion Boards and Options The Boot Process Terms and Definitions
Index

Device trees on the BeagleBone


One feature that was introduced in the Linux kernel is the concept of a device tree. The goal of the device tree is to allow one kernel binary to support different hardware by changing the device tree. A device tree is a data structure used by the kernel to describe the underlying hardware.

The device tree data informs the kernel about the following:

  • Physical address of the hardware blocks, for example, the I2C block on the BeagleBone is supported by the same driver as the one on the original Beagle boards. However, they differ by the address.

  • Any hardware revision differences.

  • Name of the driver the hardware uses. This is often specified as a compatible attribute.

  • Hardware resources such as interrupts and DMA resources used.

  • Register settings specific to the hardware.

The device tree information depends on the driver using it. There can be other attributes such as GPIOs to enable functions.

Like building a kernel, the device tree is an advanced topic. We will go through...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}