EBC Start Here
Embedded Linux Class by Mark A. Yoder
Contents
Overview
There are three major things that need to be done to have the BeagleBoard ready to run for class:
- Get your Beagle Hardware together
- Set up a host computer, running Linux for code development
- Clone the course git repository on both the Beagle and the host
The Hardware
Here's the hardware you will need and where you get it.
You may have, or will have to buy
We are using the BeagleBone Black this year. Since it's only $45-$55 I'll have you buy your own. There are a few other things you will need to get before the first day of class.
- BeagleBone Black. See http://beagleboard.org/ for suggestions of where to buy the Black. I suggest ordering sooner rather than later since it may take a couple of weeks.
- At least three 4G micro SD cards. I suggest you have 3 or 4 cards since it's easy to mess up one and it takes some 10 minutes to reload it.
- micro SD card reader/writer
Books
- Embedded Linux Primer The bookstore will have this.
- The BeagleBone Cookbook. It's being written at this time, so it won't be easy to find.
What you buy from the Instrument Room
- L293 Quadruple Half-H Drivers
- various input devices, sensors, displays, etc.
What you borrow from the Instrument Room
- Proto Plate with full sized breadboard
- 5V power supply
- Playstation EYE web cam
- micro HDMI to HDMI adapter
- FTDI USB to Serial Adapter Must be 3.3V version
- Bicolor LED Square Pixel Matrix with I2C Backpack
- Two (2) TMP101 temperature sensors
- PCA9306 Dual Bi-Directional I2C-Bus and SMBus Voltage Level-Translator
The Linux host computer
The above will get you ready for about the first 4 weeks of class. Around week 5 we'll start looking at the kernel and will need to cross compile. Once we start moving into Kernel development you will need a host computer. Since we are doing Linux development, it's generally agreed the host should be running Linux. I suggest you run Ubuntu 14.04 (LTS). The CSSE department has a local copy so you don't have to download some 960M. You want the desktop-amd64.iso if you have a 64-bit machine, or the desktop-i386.iso if you are running 32-bits.
There are two options as to how to run Linux.
- Native install ([1])
- Install in a virtual machine. I've been running Virtual Box recently and it seems to work fine. You can also try VMware Player. Rose students can get it free by logging on to Banner and selecting ROSEportal then VMware WebStore.
The Ubuntu site gives good instructions for a native install. I've had good success with running both VMware and Virtual Box, though my installation instructions are a bit dated. (Feel free to update them if they need it.)
I've been testing out the "Cloud" approach and it looks like it will work too. If you want to try the cloud, let me known and I'll ask CSSE to set up a machine for you.
The class git repository
Once you have an up to date OS running on your Beagle, go to EBC Getting Exercise Support Materials to learn how to clone the class git repository. Once cloned it's a single command to get the latest materials on your Beagle (or host computer for that matter).
Embedded Linux Class by Mark A. Yoder