https://elinux.org/index.php?title=EBC_Exercise_02_Out-of-the-Box,_Bone_3.2_Kernel&feed=atom&action=historyEBC Exercise 02 Out-of-the-Box, Bone 3.2 Kernel - Revision history2024-03-28T19:10:37ZRevision history for this page on the wikiMediaWiki 1.31.0https://elinux.org/index.php?title=EBC_Exercise_02_Out-of-the-Box,_Bone_3.2_Kernel&diff=281330&oldid=prevYoder: Moved to Fall 2013 category2013-08-24T01:16:10Z<p>Moved to Fall 2013 category</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:16, 24 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:ECE497Fall2012]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Kernel 3.2 ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Kernel 3.2 ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{EBC3.2}}'''These instructions are for the 3.2 kernel.''' [[EBC Exercise 02 Out-of-the-Box, Bone]] has instructions for the 3.8 kernel.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{EBC3.2}}'''These instructions are for the 3.2 kernel.''' [[EBC Exercise 02 Out-of-the-Box, Bone]] has instructions for the 3.8 kernel.</div></td></tr>
<!-- diff cache key elinux:diff::1.12:old-281282:rev-281330 -->
</table>Yoderhttps://elinux.org/index.php?title=EBC_Exercise_02_Out-of-the-Box,_Bone_3.2_Kernel&diff=281282&oldid=prevYoder: This came from the Out-of-Box Bone for 3.8 kernel pare2013-08-23T21:29:57Z<p>This came from the Out-of-Box Bone for 3.8 kernel pare</p>
<p><b>New page</b></p><div>== Kernel 3.2 ==<br />
{{EBC3.2}}'''These instructions are for the 3.2 kernel.''' [[EBC Exercise 02 Out-of-the-Box, Bone]] has instructions for the 3.8 kernel.<br />
<br />
The BeagleBone can do many neat things right out of the box using just the USB cable and SD card that come with it. Before hooking up anything, if you are running Linux or OSX on your host computer, open a terminal at run:<br />
<br />
host$ '''ls /dev/tty* > /tmp/tty'''<br />
<br />
This will record what devices are present on you host computer. Once you plug the bone in it will create a new device. Windows users don't have to do anything here.<br />
<br />
Install the SD card (not the one that says Linux SDK on it) and attach the Bone to a host computer via the USB cable. The little USB connector goes to the Beagle in the connector on the bottom of the board near the Ethernet connector. Connect the large end of the USB cable to a host computer. The host can be either Linux, Mac, or Windows (though if you are doing development, consider running Linux on the host.) I give instructions for each.<br />
<br />
The Beagle, powered via the USB, will boot up. You should initially see two LEDs blinking, near the Ethernet connector. The one labeled '''0''' blinks a heartbeat pattern. LED '''1''' blinks when the SD card is being accessed. After about 30 seconds LED 1 will stop blinking. The Bone is booted.<br />
<br />
Here are some of the things it can do.<br />
<br />
== YouTube Introduction ==<br />
<br />
[http://www.youtube.com/watch?v=z6b4zlh0IrE&feature=bf_next&list=UUf_sAmhBw7Tj7-2ujmLFoQg Here's] a nice overview of the BeagleBone. It shows how to work with it using a Windows host.<br />
<br />
== USB Drive ==<br />
<br />
On your host you will notice a new folder appearing. On Linux and OSX it's call '''BEAGLE_BONE'''. On Windows it's '''Beagle Bone Getting Started'''. Open it up and look around. The '''README.html''' gives lots of information about getting going with the Bone. Look at it in detail after going though this page.<br />
<br />
When you are doing exploring the files, eject the drive (don't select ''SAFELY REMOVE DRIVE''). Once the drive is ejected, the network will start up over the USB.<br />
<br />
== Built in USB to serial adapter ==<br />
<br />
The Beagle xM has a serial port connector on board, but the Bone doesn't. Instead you access the serial port through the USB connector. The trick is figuring out how to access it. <br />
<br />
=== Linux, OSX ===<br />
<br />
Run the following:<br />
host$ '''ls /dev/tty* > /tmp/tty2'''<br />
host$ '''diff /tmp/tty*'''<br />
ttyUSB1<br />
host$ '''screen /dev/''ttyUSB1'' 115200''' (Linux)<br />
host$ '''screen /dev/tty.usb*B 115200''' (OSX)<br />
<br />
The first line lists what devices are out there. The second compares that list to the list made earlier. What appears is the USB to serial device on the Bone. The last line starts a serial port program that attaches to that device. Notice the ''ttyUSB1'' is the same string as returned by the diff command.<br />
<br />
=== Windows ===<br />
To find where the serial port appears in Windows, click on the start menu and search for '''Device Manager''' and run it.<br />
<br />
[[File:Device_Manager.png|300px]]<br />
<br />
Select '''Ports''' and look for USB Serial Port. In my case the port appears at '''COM6'''.<br />
<br />
[[File:Port.png|300px]]<br />
<br />
Start up a [[ECE497_Tips_and_Tricks#Serial_Port serial port]] program and connect. The baud rate is 115200.<br />
<br />
=== Logging in ===<br />
<br />
Hit RETURN and you'll see the following. Login as '''root''' and look around.<br />
<br />
.---O---. <br />
| | .-. o o <br />
| | |-----.-----.-----.| | .----..-----.-----.<br />
| | | __ | ---'| '--.| .-'| | |<br />
| | | | | |--- || --'| | | ' | | | |<br />
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'<br />
-' |<br />
'---' <br />
<br />
The Angstrom Distribution beaglebone ttyO0 <br />
<br />
Angstrom v2012.01-core - Kernel 3.2.5+<br />
<br />
beaglebone login: '''root'''<br />
Last login: Fri Jul 13 01:28:06 UTC 2012 on ttyO0<br />
root@beaglebone:~#</div>Yoder