Beagles are tiny computers ideal for learning and prototyping with electronics. Read the step-by-step getting started tutorial below to begin developing with your Beagle in minutes. This step may or may not be necessary, depending on how old a software image you already have, but executing this, the longest, step will ensure the rest will go as smooth as possible. Download the lastest Debian image from beagleboard. The "IoT" images provide more free disk space if you don't need to use a graphical user interface GUI. The Debian distribution is provied for the boards.
|Published (Last):||10 February 2019|
|PDF File Size:||10.49 Mb|
|ePub File Size:||8.62 Mb|
|Price:||Free* [*Free Regsitration Required]|
For "official" beginners guide see My Beagle Board Out of the box experience. If something doesn't work or isn't covered in these guides, please feel free to ask at IRC or mailing list. But before you ask there, make sure you read the FAQs. The xM was released rather recently. Consequentially, much of the online documentation that will come up on Google searches for "BeagleBoard" refers to the original version, and not the xM.
Typically, the word "BeagleBoard", when used alone without modifiers, refers specifically to the original BeagleBoard and not to the BeagleBoard xM.
Major differences between the two are:. Each of these are slightly different, so make a note of which revision you have. Links to the recommended collection of peripherals can be found on the bottom of BeagleBoard. This website has a list of required cables for xM and as well as a guide to getting the Angstrom, Android, and Ubuntu OSs running on the xM, which require slightly different processes than to do the same thing on the original BB.
Be sure to buy at least one additional SD card. The demo features the Midori web browser and a full GUI desktop. Additionally, all of the USB ports work with no additional setup. The demo Angstrom OS is surprisingly fast, even though it might sound like it has a lot of stuff on it. On the demo image everything is set up correctly for the version of BeagleBoard that you bought. Writing your own SD card even when using a prebuilt image can lead to a surprising number of difficulties, partly due to the many different revisions of BeagleBoard which exist.
It is best if you can simply keep the original card unchanged, and do your experiments on other ones. Be wary of thinking that you can simply back up the information on your desktop machine. While it is certainly possible to back up this information, some difficulties can arise since the card needs to be formatted a certain way Also, it's easy to accidentally only partially partial copy the root filesystem files off of the SD card onto your desktop machine because of the varying permissions which the different files have.
First of all you might want to check it for possible defects. To do so, connect a 5-pin Mini-USB cable to the board and to a computer at the other end. Also, if you connect some speakers or headphones to the audio output you should hear a burst noise when starting the board.
C boards, . For a more complete validiation of the rev. C hardware, see . It is important to plug in the power last, because plugging in the monitor while it is powered up can cause damage. Applying power should make it boot up, first showing the BeagleBoard logo in the top of the screen, then an Angstrom loading splash screen, then to a screen saying "Automatic login", and if you do nothing, you should soon be dragging desktop icons around and surfing the Web with Midori.
Or you could drill out the plug. I used a hot needle for this purpose and it worked. The advantage to breaking off the pin on the BeagleBoard is that now your cable is keyed, and can't be plugged in backwards.
Connect the serial cable to the COM port in the beagleboard, and connect the other end to the COM port in the computer. You should have this now:. If you don't, check the serial port. You'll have to go back to the config minicom -s and get to this screen:.
In my case it was 0. If you still don't get the beagleboard shell, try using other serial terminal program like GtkTerm. If at some point you cannot enter text any more, verify that you have turned off flow control F and G should be set to No.
Also if after a reboot you do not see anything exit ctrl-A q and restart minicom. You should know that you are not dealing with an x86 processor, this is a completely different architecture called ARM, so don't even try to install a normal distro here.
Since the steps for getting this to work are already written down in the wikis, I'll copy the information, pointing out some extra things you should take care of. First of all, we want to set up the SD card to be used as a boot disk, let's plug it into our PC card reader and see what the wiki page says:. MMC boot format. There are two ways of doing this, with a script or, through the fdisk "Expert mode". NOTE: Be especially careful in the next step. First calculate the number of cylinders as follows:.
When you get the number, you round it DOWN. Thus, if you got Numbers there are heads, 63 sectors, bytes per sector. So far so good, now we wanna create two partitions. One for the boot image, one for our distro. Let's check what another wiki page has to say about it:. Linux boot disk format. Linux will now be able to detect the new partitions. If there's no label, the new mount point will most likely be a long hex string, so assigning a label makes manual mounting on the host more convenient.
Now we have these two partitions. Additionally, download the modules modules Without these module files some peripherals, such as webcams, will not function. For certain images such as the images generated by the Narcissus build system , no separate uImage exists. Just copy the uImage-x. Now you must copy MLO, u-boot. Do it in this strict order, since MLO must be in the first sectors of the card. Do not untar somewhere else and then copy to the SD :.
If you get "permission denied" errors while copying or untarring it to the SD Card then issue that command using 'sudo' e. If you downloaded the modules If you are running a current version of U-boot you can skip to the next section. The newer versions have bootargs and bootcmd set to the correct values. Ok, we're almost done. Now we need to tell our BeagleBoard that we want it to boot from the SD card. Let's go back to our almost-forgotten minicom shell:.
You might also want to configure your screen resolution at this time. Now we want to save these variables into the NAND Flash so we don't have to type them in every time we reboot:. The Angstrom demo image for the beagleboard comes with USB networking support. The only thing you have to do is to enable it by issuing the following commands on your beagleboard via the terminal.
The beagleboard will now show up as Auto usb0 on Ubuntu. You can add it automatically by making some udev rules. You can now connect to your beagleboard using any VNC viewer and you should be able to access the internet from your beagleboard. Note: if your beagleboard can't resolve external URLs ping elinux. From Ubuntu:. This allows the Beagle to operate as either a peripheral attached to a host computer e.
To operate the Beagle as an OTG Host , you need a special cable -- plus you will need a power brick to power the Beagle, because it is now the host and must supply power to the peripherals. This can be used for connecting e.
If you're using a USB hub, be sure it's a self-powered one. That means it should have a power input which you can connect to a power socket. And the rest of the people in the beagle IRC channel, if you cannot go through some of the steps, don't hesitate to ask there, there's always somebody willing to help you! From eLinux. Jump to: navigation , search. So I got this little board, what do I do now?
When you buy BeagleBone Black, pretty much everything you need to get going comes with it. You can just plug it into the USB of a host computer, and it works. The goal of this chapter is to show what you can do with your Bone, right out of the box. For someone new to the BeagleBoard. Many of the recipes in this book will work on the other Beagles too, but the Black is where to begin.
BeagleBone Cookbook by Mark A. Yoder, Jason Kridner
Get started with this small, open platform for device development. The BeagleBoard is an inexpensive platform for hobbyists, academics, and professionals who are learning Linux and small systems. Figure 1 shows the BeagleBoard-xM. View image at full size. The following sections show you how to source required components, set up, and test the console.