Errata

BeagleBone Cookbook

Errata for BeagleBone Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed, PDF, ePub, Mobi, , Other Digital Version Page Page 176 1st code block
1st code block

To build libsoc automake needs to be updated. The version that was installed was automake (GNU automake) 1.9.6. this can be solved by installing a newer version (currently 1.11.6) which can be done through the use of the following commands

$ sudo apt-get update
$ sudo apt-get install automake

James Hice  Jun 01, 2015 
Other Digital Version Section 1.5 Discussion

The link to "Bread Board Basics For Absolution Beginners" returns a Bitly error. The full correct URL is http://www.instructables.com/id/Breadboard-Basics-for-Absolute-Begginers/

Mr. Y  Sep 27, 2015 
ePub Page 19
Section: Solution

Per the authors recommendation to upgrade the BB OS to the source URL provided ( http://rcn-ee.net/deb/testing/ ) does not contain the to 2014-11-11 Debian images as reflected in the remaining section text and as presented in Figures 1-25, 26 & 27. Only version 2014-05-14 exists at this web location. (URL accessed using FireFox @ 5-Mar-2015 16:30 AEST)

Referring to ( http://elinux.org/Beagleboard:BeagleBoneBlack_Debian ) 2014-11-11 image was not a "official release". The latest release is 2015-03-01 accessible from ( http://beagleboard.org/latest-images )

The author may want to change text accordingly to align with this version and refer to BeagleBoard URL in subsequent updates to the book

Anonymous  Mar 04, 2015 
PDF Page 153
United States

BOOK HAS IT INCOMPLETE for updating the hostname.
Excerpt from book:
-------------------
Setting your Bone’s hostname

If you are on a network with other BeagleBones, it’s a good idea to give your Bone a unique name. The default name is beaglebone. A new name is a easy as running the following command:

bone# echo "newname" > /etc/hostname

This changes the network name to newname. When picking a name, don’t use punctu‐ ation or other special characters. Even _ isn’t allowed. The new name will appear once you reboot.
-------------------

Also need to change /etc/hosts to get proper hostname functionality. "newname" needs to be substituted for beaglebone for entry 127.0.1.1 in /etc/hosts

debian@bbbc1:~$ cat /etc/hosts

127.0.0.1 localhost

127.0.1.1 beaglebone

Anonymous  Feb 15, 2015 
PDF Page 168
bottom


Additional helpful space reclaim for recipe 5.18 I found after noticing the issue with the helpful ncdu program. For those of us who have the REV A or B BBB with only eMMC 2GB flash, every little bit counts.


sudo apt-get install localepurge

When you install it you need to configure which locales you wish to _keep_. The first pass of it running its purge reclaimed 160 MB of space on my eMMC Debian 7.7 install! I keep only the "en" and "en_US.UTF-8" locales on my system since I do not require any others.

---------------------------
5.18. Freeing Space on the Onboard Flash or MicroSD Card
Problem
You are starting to run out of room on your microSD card (or onboard flash) and have removed several packages you have previously installed (Recipe 5.16), but still need to free up more space.
---------------------------

Anonymous  Feb 15, 2015 
Printed, PDF, ePub, Mobi, , Other Digital Version Page 176
1st code block

the issue is in the repository for libsoc which is used in recipe 5.21.
I have also placed an issue on the github page for the libsoc repository.

repository: https://github.com/jackmitch/libsoc

There is an error in configure after running autogen.sh.
There is a trailing ")" in the auto-generated configure file. After manually removing the parenthesis, ./configure runs successfully (as far as I can tell) and make runs successfully after running ./configure

the last several lines when running ./configure before the manual removal of the parenthesis
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for library containing pthread_create, pthread_cancel... -lpthread
./configure: line 11353: syntax error near unexpected token `)'
./configure: line 11353: `)'

James Hice  May 29, 2015