BeagleBone : Ubuntu OS & LXDE GUI by waymond91
BeagleBone_small.png
lxde-logo.png
cof_orange_hex.png
beaglebone_pcb_layout.png
Hey all! The last major instructable I posted was the rc glider drone. Major process underway, testing the system in a powered model airplane now. In the meantime, I would like to post the progress I have made with the beaglebone. 

I think this project is very cool and has nearly countless applications!! We are going to be setting up our own single board, fanless computer using the beaglebone. We will setup a mini SD card so that we can boot Ubuntu onto the beaglebone, we will setup a a lightweight GUI (graphical user interface - a desktop environment vs terminal) and just for kicks we will install the arduino programming environment.

Even though this board is heavy on linux, I included this in the microcontroller section in the hopes of more arduino fans giving this board a whirl..,
I chose ubuntu because there is already an existing image to format your sd card. Also, I have been running ubuntu on my laptop to program arduino, so it seems natural that you would try and match the os from your board and your computer.
I do not know if this instructable is really tailored to any one specific project. However, it should really get you going. I do not know much about javascript or web hosting, but this feels like the perfect time to learn. Maybe later I will set up some kind of VPN connection so that I can control and monitor any project from anywhere with internet access...

I would recommend joining the group "beagleboard" on google groups. The beagleboard is much more complicated than an 8bit microcontroller.
https://groups.google.com/forum/?fromgroups#!forum/beagleboard

This instructable is basically an editorialized repost from the linux website: http://elinux.org/BeagleBoardUbuntu

If you have any knowledge or interest with linux, or beagleboard, please sign up and contribute to the beaglebone group on instructables. There is a lot to do here folks!! http://www.instructables.com/group/beaglebone/

At the end I have included how to set up a lightweight GUI so that you can SSH in from your laptop and set up a "virtual desktop." I also show how to install and run the arduino IDE so that you can use the beaglebone to program any arduino NOTE: I HAVE NOT CONFIGURED A DEDICATED SCREEN OR A KEYBOARD TO THE BEAGLEBONE. I JUST WANT TO ILLUSTRATE THAT THE PROCESSING POWER OF THIS BOARD IS MUCH CLOSER TO A COMPUTER THAN TO AN ARDUINO.
A good next step would be to figure out the HDMI cape so that you can run the LXDE desktop on any hdmi monitor. 
 
Remove these adsRemove these ads by Signing Up

Step 1: Download the Disk Image

Screenshot from 2012-08-26 15:41:38.png
I am going to strongly suggest running some form of linux on your computer. Since the BeagleBone is a linux based development platform (it comes preloaded with Angstrom - linux- and most of the other precompiled images are also linux). It makes sense to run linux on your computer. If you are still anxious about making the switch, you can dual boot a linux OS from a disc or thumbdrive. However, I think it will be most convenient to use  "wubi" to dual boot Ubuntu from your laptop.

If you are already running ubuntu on your computer, these next steps ~should~ be very easy. Get ready to copy and paste!
Make sure you are uploading the most recent release

From your computer terminal:
$ wget http://rcn-ee.net/deb/rootfs/precise/ubuntu-12.04-r5-minimal-armhf-2012-07-29.tar.xz
$ wget http://ynezz.ibawizard.net/beagleboard/precise/ubuntu-12.04-r5-minimal-armhf-2012-07-29.tar.xz

This will download the disc image for your SD card straight to your computer. If you are running something other than Ubuntu, the links following the wget command will dowload the image to your computer also.

To verify that the images have downloaded correctly:
$ md5sum ubuntu-12.04-r5-minimal-armhf-2012-07-29.tar.xz

This should return:
5446d6e47a5d286f94ae3fa30db2a56b ubuntu-12.04-r5-minimal-armhf-2012-07-29.tar.xz

YoungOne64 says: Nov 17, 2012. 8:41 AM
Hi, I tried sshing to the beaglebone and it asks for the password for root@my_ip_address. But then when i try to typei n the password i set when i connected via minicom, it says its wrong. And...at the bottom when i've tried incorrectly three times, it says Permission Denied(publickey,password). Do you have any idea about what the problem could be? Thanks
waymond91 (author) says: Nov 17, 2012. 12:00 PM
what ubuntu distro are you running?
waymond91 (author) says: Nov 17, 2012. 12:08 PM
are you using ubuntu on your laptop and the beaglebone?
run ssh again, only this time
$ sudo ssh -v root@your_ip_address
and post the results here
\
I suspect that you have not copied the private key into your .ssh/authorized_keys file on your laptop (assuming its running ubuntu)
amandaghassaei says: Aug 29, 2012. 10:47 AM
cool! I've never heard of beaglebone, how does it compare to raspberry pi?
waymond91 (author) says: Aug 29, 2012. 5:23 PM
I have never used the raspberry pi. I was going back and forth for a while trying to decide which one to go with. A couple of factors for me:
Pros
1)Beaglebone is smaller (fits into an altoid tin)
2)Beaglebone's processor is better
3) There are a lot of promising externals for the beaglebone - primarily the touch screen.
4)Beaglebone has an arduino style IO panel

Cons
1)Beaglebone is more expensive -costs $80-90, raspi is about $30
2) Raspi already has an hdmi output - I bought a hdmi cape for the bone but still have not got it working - although normal beagleboard has the hdmi output and more usb hubs
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!