All the way back in Chapter 1, Setting Up for the First Time, we used a set of tools that came with our Debian distro. In that case, we used a tool (a bash script) to expand our partition. In this case, we'll use another script from that toolset that runs a routine to update our kernel image. Let's go get it. With developer Robert Nelson's slick scripts (https://eewiki.net/display/linuxonarm/BeagleBone+Black), the process to update or build the kernel on Debian for the BBB has become a snap.
As in our preceding recipe, connect your board via USB to your host computer, boot up, and then open a terminal window.
Let's get started! To do this, perform the following steps:
# sudo -i
Following this, check the current version of your kernel through the following command:
# uname -a Linux beaglebone 3.8.13-bone67 #1 SMP Wed Sep 24 01:36:09 UTC 2014 armv7l GNU/Linux
$ cd /opt/scripts/tools
git
command to update your local files:$ git pull
$ ./update_kernel.sh
$ ./update_kernel.sh --beta-kernel
Running this script installs a version of the kernel that is still in the test phase. Although technically not a release, the testing versions of the kernel can still be quite stable and robust, albeit with some bugs.
rcn-ee.net
):$ ./update_kernel.sh --kernel v.0.00-bone00
For the custom option, you can replace the version number with the exact version you want to run. These versions would be available at Robert C. Nelson's site at http://www.rcn-ee.net/deb/.
debian@beaglebone:~$ uname -a Linux beaglebone 3.8.13-bone[xx] #1 SMP [day mo date time UTC year] armv7l GNU/Linux
18.216.32.116