Links to the recommended collection of peripherals can be found on the bottom of [http://beagleboard.org/hardware BeagleBoard.org/hardware], but a slightly more detailed comprehensive shopping list can be found on the [http://code.google.com/p/beagleboard/wiki/BeagleBoardShoppingList Beagle Board Shopping List].

+

Links to the recommended collection of peripherals can be found on the bottom of

| Can take either mini-a male to standard-a male OTG (On-The-Go) USB cable OR a standard type 5V AC-to-DC power brick with a 2.1mm barrel plug. || Use a standard-type 5V AC-to-DC power brick with 2.1mm barrel plug. OTG USB cable '''will not work''' (well) as a power source for BB xM because #1: USB is insufficient to power the xM and #2: when booting xM with USB OTG cable you will get a "kernel panic" error message and the board will not boot properly.

| Can take either mini-a male to standard-a male OTG (On-The-Go) USB cable OR a standard type 5V AC-to-DC power brick with a 2.1mm barrel plug. || Use a standard-type 5V AC-to-DC power brick with 2.1mm barrel plug. OTG USB cable '''will not work''' (well) as a power source for BB xM because #1: USB is insufficient to power the xM and #2: when booting xM with USB OTG cable you will get a "kernel panic" error message and the board will not boot properly.

|-

|-

−

|Serial cable (for talking to BB on your desktop machine)

+

|시리얼 케이블 (PC와 통신 목적)

−

| DB9M to IDC10F AT/Everex Serial Adapter + '''null modem''' serial cable || Female to male DB9 '''straight through''' cable. ''(This will only work if you have an ancient desktop machine. If not, get USB-to-DB9 male straight through cable.)'' Null modem cable will not work. BB xM has a full-sized female DB9 port so it does not need the IDC10F adapter that BB Original needs.

xM is shipped with a micro SD card containing a demo operating system. To test if it works just click the included micro SD card into the slot, plug in a wired ethernet cable, a USB mouse, a USB keyboard, a DVI-D monitor, and THEN plug in the 5V barrel power cable. (It is important to plug in the power last, because plugging in the monitor while it is powered up can cause damage. <!-- I believe this would cause damage to the port, but I can't remember right now. It might also be dangerous to plug the USB cable into the port while it is powered on. --> 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.

(It is important to plug in the power last, because plugging in the monitor while it is powered up can cause damage. <!-- I believe this would cause damage to the port, but I can't remember right now. It might also be dangerous to plug the USB cable into the port while it is powered on. --> 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.

BeagleBoard xM

원조 BeagleBoard와 BeagleBoard xM과 차이점

필요한 주변기기

원조 BeagleBoard

BeagleBoard xM

전원

Can take either mini-a male to standard-a male OTG (On-The-Go) USB cable OR a standard type 5V AC-to-DC power brick with a 2.1mm barrel plug.

Use a standard-type 5V AC-to-DC power brick with 2.1mm barrel plug. OTG USB cable will not work (well) as a power source for BB xM because #1: USB is insufficient to power the xM and #2: when booting xM with USB OTG cable you will get a "kernel panic" error message and the board will not boot properly.

Be sure to buy at least one additional SD card. Currently, the BeagleBoard xM is shipped with a micro SD card included that has an Angstrom demo loaded on it. 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.

시작하기

원조 BeagleBoard

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. If everything's all right you should see one LED light up and, after a short while,
two more LEDs coming up too. Also, if you connect some speakers or headphones to the audio output you should hear a burst noise when starting the board. (you won't hear a noise on Rev.C boards, [1]). For a more complete validiation of the rev. C hardware, see [2]

BeagleBoard xM

비글보드xM의 경우 구입시 데모 OS가 들어있는 마이크로 SD카드가 제공된다. 마이크로 SD카드를 슬롯에 끼우고, 이더넷 케이블, USB마우스/키보드, DVI-D 모니터를 연결하고 5V 전원을 연결하면 된다.
(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.

데스크탑과 BeagleBoard를 시리얼 연결 설정하기

(This section refers specifically to the original BeagleBoard)

Connect a serial (COM port) cable (known as the AT/Everex Cable) to the 10-pin header on the board: it's next to the power input. Actually, pin number 10 is not used on either end of the cable, so if you have an AT/Everex Cable with a plug in the hole for Pin 10, you can use needle-nose pliers to break off pin 10 on the Beagle Board. 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. For additional information on IDC to DB9 pin connections see FAQ Serial Connection.

Now you need a Null-Modem DB9 male-male serial cable (that you can also buy from Digikey).

Now press A and change /dev/ttyS1 for /dev/ttyS0, or 2 or 3, depending on which port you have it connected. In my case it was 0. If you use a usb to serial adapter it is probably /dev/ttyUSB0 or perhaps /dev/ttyUSB1.

If you still don't get the beagleboard shell, try using other serial terminal program like GtkTerm.

Now we got the beagleboard shell! Congratulations!

First command we wanna try is "help":

OMAP3 beagleboard.org # help

If you get some output, you're happy!

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

SD 카드 설정

Now we want to use an SD card to install some GNU/Linux distro in it and get more space for our stuff. You can use either an SD or SDHC card. In the latter case of course take care that your PC card reader also supports SDHC.
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:

In order to create a bootable SD/MMC card under Linux compatible with OMAP3 boot ROM, you have to set a special geometry in the partition table. There are two ways of doing this, with a script or, through the fdisk "Expert mode".

mkcard.txt 스크립트를 이용한 SD 카드 포맷하기

$ sudo ./mkcard.txt /dev/sdx, Where x is the letter of the card. You can find this by inserting your card and then running dmesg | tail. You should see the messages about the device being mounted in the log. Mine mounts as sdc.

일단 실행되면, 카드는 포맷해야만 한다.

fdisk "Expert mode"를 이용한 SD 카드 포맷하기

먼저, 파티션 테이블 삭제:

================================================================================
$ sudo fdisk /dev/sdb
Command (m for help): o
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
================================================================================

NOTE: For convenience, you can add the -L option to the mkfs.ext3 command to assign a volume label to the new ext3 filesystem. If you do that, the new (automatic) mount point under /media when you insert that SD card into some Linux hosts will be based on that label. 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.

Get the latest Ångström demo image (Angstrom-Beagleboard-demo-image......), MLO, u-boot.bin and uImage. Additionally, download the modules (modules-2.6.X-rX-beagleboard.tgz) file that correspond with the kernel version you download. 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. You can find the uImage in the /boot directory of the root filesystem. Just copy the uImage-x.xx... to the vfat partition and rename it.

Now you must copy MLO, u-boot.bin and uImage into the first partition (the FAT32 one) of your SD card. Do it in this strict order, since MLO must be in the first sectors of the card.

boot관련 인자 설정

Beagle xM을 사용하고 있다면 이 부분은 생략하자

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. Note the newest version requires kernel parameters to be passed to the g_ether module:

beagleboard에서 USB로 VNC나 이더넷 사용하기

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. Note: you can use your own MAC and IP addresses, but maintain consistency.

The beagleboard will now show up as Auto usb0 on Ubuntu. You can add it automatically by making some udev rules.

As a precaution, first enable packet forwarding in your computer:

# sudo vi /etc/sysctl.conf
Uncomment the line net.ipv4.ip_forward=1 , to enable forwarding of packets.
# sudo sysctl -p
# sudo cat /proc/sys/net/ipv4/ip_forward
To check that the change has been made and routing is enabled

Now create /etc/udev/ruled.d/80-beagleboard.rules

# This file causes programs to be run on device insertion.
# See udev(7) for syntax.
# http://www.reactivated.net/writing_udev_rules.html#example-netif
KERNEL=="usb[0-9]*", DRIVERS=="cdc_ether", ACTION=="add", RUN+="/usr/local/sbin/beagleboard-usb-add.sh %k"
# For newer kernels, e.g. in Ubuntu 11.04, use DRIVERS=="cdc_eem" instead of DRIVERS=="cdc_ether"

Ångström으로 개발

중요 USB 케이블 정보

The BeagleBoard has a 5-pin USB OTG Mini-AB Female connector on the board. This allows the Beagle to operate as either a peripheral attached to a host computer (e.g. a PC) or as a host computer itself with peripherals attached.

To operate the Beagle as a peripheral, just use any USB A-male to Mini-B-male cable and you're good to go. Plus, you will not need a power brick for the Beagle as the Host PC will be able to power the board through the A to Mini-B cable.

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. The key is that the cable needs to have a USB Mini-A-male (NOT a Mini-B) to connect to the Beagle. If you have cables with USB male mini connectors, the overwhelming chance is that they are Mini-B. While both Mini-A and Mini-B fit in the Mini-AB connector on the BeagleBoard, there is an internal wiring difference in the Mini-A and Mini-B connectors that allows the BeagleBoard to sense the type; Mini-A have pin 4 connected to GND, whereas Mini-B leave the pin unconnected.

One source for a USB Standard A-female to Mini-A-male Adapter is Serial I/O. This can be used for connecting e.g. a USB hub to the Beagle.

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. The BeagleBoard by itself cannot power multiple USB devices and if you hook up too many it goes into a continuous disconnect/reconnect cycle.