Downloading and Preparing the Image:

Once your image has finished downloading, type the following commands into the terminal:

cd ~/

mkdir bbb

~/ is a shortcut to your home folder ~/ = /home/usrname

– To confirm that the directory “bbb” has been created, type ls You should see bbb listed after you hit the enter button.

Now type the following commands into the terminal:

cd ~/bbb

cp ~/Downloads/BBB-eMMC-flasher-2013.06.20.img.xz ./

(The ./ in the cp command defines the destination folder. The ./ destination says to copy the file into the directory(folder) we are currently in (~/bbb). If you wanted to copy the file to a different location, you would replace the ./ with the directory path you would like to copy the file into.)

unxz BBB-eMMC-flasher-2013.06.20.img.xz

Copying the Image:

Now the image is ready to be copied to the MicroSD card. Use a USB MicroSD card reader for this.

The first thing we need to do is find the device. To do so, type the following command into your terminal prior to plugging in your USB MicroSD card reader.

On my system its /dev/sdd. This, however, may very likely be different on your machine.

So now that we know the path to the USB card reader, use the following command to copy the image to the microSD.

!!! Warning: Make sure you replace the /dev/sdd with the path to your USB card reader or you could destroy one of your drives

sudo dd bs=1M if=BBB-eMMC-flasher-2013.06.20.img of=/dev/sdd

Flashing the BeagleBone Black

Make sure the BeagleBone Black is powered down. Insert the MicroSD card with the new image into the BeagleBone Black.

While holding down the BOOT Switch, plug the 5v power supply into the BeagleBone Black. (see above image for location of BOOT Switch)

Continue to hold the switch down until you see all four USRx LEDs turn on and start flashing.

This is now copying the image from the MicroSD to the BeagleBone Black. This will take approximately 45 to 60 minutes to complete.

The task of copying the image will be completed when the USRx LEDs stop flashing and all LEDs illuminated.

Once it’s completed copying the image, power down the BeagleBone Black (hold the power button down for 5-10 seconds), remove the 5v power supply, and remove the MicroSD card.

Testing the BeagleBone Black

If everything went right you should now be able to connect the BeagleBone Black to your computer via the USB cable. Also, connect the BeagleBone Black to your network via Ethernet cable. The BeagleBone Black will need access to the Internet later.

Enter the following command from the command line:

ssh root@192.168.7.2

When asked for the password hit enter as there no password by default. The command prompt should now look like this:

root@beaglebone:~#

NOTE: In some cases, the BeagleBone Black and the OS will not allow you to gain access to your BBB via the USB and 192.168.7.2 IP Address. If this is the case, you can access your BBB via the Ethernet connection.

To access your BBB through the Ethernet connection, you must first find the BBB’s IP Address. To do so, go to your web browser and type in the routers IP Address into the address bar.

*The router’s IP Address can be located on the back or bottom of most routers. If you cannot find it, a quick Google search for your router’s IP address (ie “What is the IP address for [linksys, d-link, etc.] router?”) will give you the answer.

Once you have accessed your router via the Internet, click on network settings, and find where it lists all devices currently plugged into your router. My router says “Number of Dynamic DHCP Clients: 2, and listed below that has my computer, and below that “beaglebone”.

Now that you have located your BeagleBone Black’s IP Address, go back to your command line and type in the following command:

ssh root@192.xxx.x.xxx (put your BBB IP Address in for the x’s)

If you can’t access your BBB through either of these options, your BBB might not have been properly flashed. If this is the case, restart from the top of this tutorial.

Logging on through the Ethernet connection

Before we can upgrade/patch the OS we need to login to the Beaglebone Black via the network. To do that we need to find out what the IP address is for it.

NOTE: If you couldn’t ssh through the USB hub, but were able to ssh through the Ethernet cable, skip down to “Patching the OS” section.

Find the device label eth0 and look for “inet addr: xxx.xxx.x.xxx”. That is the IP address of the network port on the Beaglebone Black. In my case, its 192.168.1.144.

From a new terminal, login to the Beaglebone Black with the following command:

ssh root@192.168.1.132

replace the 192.168.1.132 with your IP address that you just looked up.

When asked for the password hit enter there is no password by default. The command prompt should now look like this:

root@beaglebone:~#

You are now remotely logged on to the BeagleBone Black over the network.

Patching the OS

To patch the OS, use the following commands:

opkg update

opkg upgrade

This can take a really long time. If you start to see errors like “Failed to download”, don’t worry! Let it complete and then type the two commands again.
Sometime it takes a few times to get everything patched.

Once there are no more errors type the following commands.

reboot

Log back in using the ssh command and Ethernet IP Address.

Congratulations! You have now flashed your BeagleBone Black with a new OS.

[…]Wonderful story, reckoned we could combine some unrelated data, nonetheless definitely really worth taking a search, whoa did a single understand about Mid East has got extra problerms at the same time […]

[…]Wonderful story, reckoned we could combine several unrelated data, nonetheless definitely really worth taking a look, whoa did 1 learn about Mid East has got additional problerms at the same time […]

[…]Wonderful story, reckoned we could combine a handful of unrelated information, nonetheless genuinely worth taking a search, whoa did 1 master about Mid East has got more problerms at the same time […]

[…]Wonderful story, reckoned we could combine a few unrelated data, nonetheless actually worth taking a appear, whoa did one particular learn about Mid East has got additional problerms at the same time […]

[…]Wonderful story, reckoned we could combine some unrelated data, nonetheless really really worth taking a search, whoa did a single study about Mid East has got far more problerms at the same time […]

[…]Wonderful story, reckoned we could combine a handful of unrelated information, nonetheless actually really worth taking a search, whoa did a single find out about Mid East has got more problerms too […]

[…]Wonderful story, reckoned we could combine a number of unrelated information, nonetheless seriously really worth taking a search, whoa did one study about Mid East has got much more problerms too […]

[…]Wonderful story, reckoned we could combine a handful of unrelated information, nonetheless actually really worth taking a search, whoa did 1 study about Mid East has got much more problerms also […]

[…]Wonderful story, reckoned we could combine a couple of unrelated data, nonetheless really really worth taking a search, whoa did one particular discover about Mid East has got far more problerms at the same time […]

[…]Wonderful story, reckoned we could combine several unrelated information, nevertheless truly worth taking a look, whoa did 1 understand about Mid East has got much more problerms at the same time […]

[…]Wonderful story, reckoned we could combine several unrelated information, nevertheless definitely worth taking a search, whoa did a single master about Mid East has got extra problerms at the same time […]

[…]Wonderful story, reckoned we could combine a handful of unrelated information, nonetheless seriously really worth taking a appear, whoa did a single study about Mid East has got much more problerms also […]

[…]Wonderful story, reckoned we could combine a handful of unrelated information, nevertheless genuinely really worth taking a search, whoa did a single study about Mid East has got a lot more problerms at the same time […]

[…]Wonderful story, reckoned we could combine several unrelated data, nonetheless definitely worth taking a search, whoa did one particular understand about Mid East has got much more problerms also […]

[…]Wonderful story, reckoned we could combine several unrelated data, nevertheless definitely worth taking a search, whoa did one master about Mid East has got a lot more problerms at the same time […]

[…]Wonderful story, reckoned we could combine a couple of unrelated information, nevertheless really really worth taking a look, whoa did one particular learn about Mid East has got a lot more problerms too […]

[…]Wonderful story, reckoned we could combine several unrelated information, nevertheless definitely really worth taking a appear, whoa did one find out about Mid East has got extra problerms as well […]

[…]Wonderful story, reckoned we could combine a couple of unrelated data, nevertheless truly worth taking a search, whoa did one particular understand about Mid East has got much more problerms too […]

[…]Wonderful story, reckoned we could combine a number of unrelated information, nonetheless seriously really worth taking a search, whoa did a single master about Mid East has got extra problerms as well […]

[…]Wonderful story, reckoned we could combine a number of unrelated data, nevertheless really worth taking a appear, whoa did a single study about Mid East has got a lot more problerms at the same time […]

[…]Wonderful story, reckoned we could combine a couple of unrelated information, nevertheless really really worth taking a look, whoa did a single learn about Mid East has got a lot more problerms as well […]

[…]Wonderful story, reckoned we could combine a couple of unrelated information, nevertheless really really worth taking a look, whoa did 1 discover about Mid East has got a lot more problerms at the same time […]

[…]Wonderful story, reckoned we could combine a number of unrelated data, nevertheless definitely worth taking a look, whoa did one particular study about Mid East has got a lot more problerms at the same time […]

[…]Wonderful story, reckoned we could combine a couple of unrelated information, nevertheless seriously really worth taking a look, whoa did 1 learn about Mid East has got a lot more problerms at the same time […]

[…]Wonderful story, reckoned we could combine a few unrelated data, nevertheless actually really worth taking a look, whoa did one understand about Mid East has got extra problerms at the same time […]