Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning BeagleBone
  • Table Of Contents Toc
Learning BeagleBone

Learning BeagleBone

By : Hunyue Yau
4.3 (4)
close
close
Learning BeagleBone

Learning BeagleBone

4.3 (4)
By: Hunyue Yau

Overview of this book

This book is for new BeagleBone owners who are looking to quickly get their microboard up and running. It would be helpful to have an understanding of embedded concepts or Linux but neither is essential.
Table of Contents (13 chapters)
close
close
11
B. Terms and Definitions
12
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...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning BeagleBone
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon