Difference between revisions of "KR:BeagleBoardBeginners"

From eLinux.org
Jump to: navigation, search
(비글보드 타입)
(BeagleBoard xM)
Line 24: Line 24:
===BeagleBoard xM===
===BeagleBoard xM===
[http://www.ibm.com/developerworks/linux/library/l-beagleboard-xm/  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.
[http://www.ibm.com/developerworks/linux/library/l-beagleboard-xm/  이 사이트는] 비글보드xM에서 돌아가는 Angstrom, Android 및 우분투 OS뿐만 아니라  필요한 케이블 리스트까지 제공합니다. 원조 비글보드에서는 약간 차이가 날 수 있습니다.
===원조 BeagleBoard와 BeagleBoard xM과 차이점===
===원조 BeagleBoard와 BeagleBoard xM과 차이점===

Revision as of 21:27, 8 August 2012

이 페이지는 "커뮤니티" 초급자 가이드로서 TI's ARM기반 OMAP3 Beagle Board에 관한 정보를 제공합니다. 공식 초급자 가이드로는 My Beagle Board Out of the box experience가 있습니다. 만약 문제가 있거나 이 가이드의 범위를 벗어난 이야기에 대해서는 IRC or mailing list에서 자유롭게 질문하면 됩니다. 하지만 질문하기 전에 먼저 FAQs를 읽기를 권합니다.

이 작은 보드를 손에 넣었네요, 이제 무엇을 할까요?

비글보드 타입

현재 비글보드는 2개의 주요 타입이 있습니다. 하나는 BeagleBoard이고 다른 하나는 BeagleBoard-xM입니다. BeagleBoard-xM이 최근에 나온 것입니다. 결론적으로 구글 검색시 BeagleBoard로 검색된 자료는 초기 버전의 비글보드를 의미하며 xM이 붙어 있지 않은 경우입니다. 이 두보드의 차이점은 아래와 같습ㄴ다.

  • 1. 입력부가 다릅니다. 따라서 주변 장치가 달라지게 됩니다.
  • 2. 원조 비글보드는 flash NAND 메모리를 가지고 있습니다. 하지만 비글보드xM은 flash NAND메모리가 없으며 SD카드를 이용해서 부팅을 합니다. MLO, u-boot.bin, uImage 이렇게 3개의 파일이 필요합니다. 원조 비글보드는 NAND flash 메모리에서 로드되는 u-boot를 가집니다.

비글보드xM은 여러 서브버전을 가집니다 : RevA, Rev B, Rev C. 각각 서브버전들은 약간의 차이가 있습니다. 각 revison의 노트를 참고하세요.

정확한 하드웨어 고르기

원조 BeagleBoard

Links to the recommended collection of peripherals can be found on the bottom of BeagleBoard.org/hardware, but a slightly more detailed comprehensive shopping list can be found on the Beagle Board Shopping List.

BeagleBoard xM

이 사이트는 비글보드xM에서 돌아가는 Angstrom, Android 및 우분투 OS뿐만 아니라 필요한 케이블 리스트까지 제공합니다. 원조 비글보드에서는 약간 차이가 날 수 있습니다.

원조 BeagleBoard와 BeagleBoard xM과 차이점

필요한 주변기기 원조 BeagleBoard BeagleBoard xM
Power Source 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) 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.
SD cards (for putting the operating system on) Full sized SD cards of at least 4 GBs Micro SD cards

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 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. 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).

보드와 첫번째 연결

시리얼 케이블을 beagleboard의 COM포트에 연결하고 다른 쪽 끝을 PC의 COM포트에 연결한다.

GNU 스크린을 이용한 완전히 쉬운 방법

root나 sudo로 실행 : "screen /dev/ttyS0 115200"

Minicom을 이용한 엄청 옛날 방식

호스트 컴퓨터에서 root 계정으로 minicom 설정을 실행한다.

$ sudo minicom -s

아래와 같은 화면을 보게 된다:

           | Filenames and paths      |                                        
           | File transfer protocols  |                                        
           | Serial port setup        |                                        
           | Modem and dialing        |                                        
           | Screen and keyboard      |                                        
           | Save setup as dfl        |                                        
           | Save setup as..          |                                        
           | Exit                     |                                        
           | Exit from Minicom        |                                        

Serial port setup을 선택한다:

   | A -    Serial Device      : /dev/ttyS1                                |   
   | B - Lockfile Location     : /var/lock                                 |   
   | C -   Callin Program      :                                           |   
   | D -  Callout Program      :                                           |   
   | E -    Bps/Par/Bits       : 9600 8N1                                  |   
   | F - Hardware Flow Control : Yes                                       |   
   | G - Software Flow Control : No                                        |   
   |                                                                       |   
   |    Change which setting?                                              |   
           | Screen and keyboard      |                                        
           | Save setup as dfl        |                                        
           | Save setup as..          |                                        
           | Exit                     |                                        
           | Exit from Minicom        |                                        

설정을 변경하기 위해 E를 누른다:

                   +-----------[Comm Parameters]------------+                  
   +---------------|                                        |--------------+   
   | A -    Serial | Current: 115200 8N1                    |              |   
   | B - Lockfile L|                                        |              |   
   | C -   Callin P|   Speed          Parity          Data  |              |   
   | D -  Callout P|                                        |              |   
   | E -    Bps/Par| A: 300           L: None         S: 5  |              |   
   | F - Hardware F| B: 1200          M: Even         T: 6  |              |   
   | G - Software F| C: 2400          N: Odd          U: 7  |              |   
   |               | D: 4800          O: Mark         V: 8  |              |   
   |    Change whic| E: 9600          P: Space              |              |   
   +---------------| F: 19200                      Stopbits |--------------+   
           | Screen| G: 38400                         W: 1  |                  
           | Save s| H: 57600                         X: 2  |                  
           | Save s| I: 115200        Q: 8-N-1              |                  
           | Exit  | J: 230400        R: 7-E-1              |                  
           | Exit f|                                        |                  
           +-------|                                        |                  
                   | Choice, or <Enter> to exit?            |                  

You should get 115200 8N1, press keys I, L, V and W. When you're done, press Enter.

Now in the previous screen, press F to set Hardware Flow Control to Off. You should have this now:

   | A -    Serial Device      : /dev/ttyS1                                |   
   | B - Lockfile Location     : /var/lock                                 |   
   | C -   Callin Program      :                                           |   
   | D -  Callout Program      :                                           |   
   | E -    Bps/Par/Bits       : 115200 8N1                                |   
   | F - Hardware Flow Control : No                                        |   
   | G - Software Flow Control : No                                        |   
   |                                                                       |   
   |    Change which setting?                                              |   
           | Screen and keyboard      |                                        
           | Save setup as dfl        |                                        
           | Save setup as..          |                                        
           | Exit                     |                                        
           | Exit from Minicom        |                                        

Press Enter to leave this screen, select Save setup as dfl and finally select Exit from Minicom.

Now run minicom as root:

$ sudo minicom

You should get the following screen:

Welcome to minicom 2.2

Compiled on Sep  8 2008, 17:03:34.                                           
Port /dev/ttyS0                                                              
              Press CTRL-A Z for help on special keys                       
Texas Instruments X-Loader 1.41                                              
Starting OS Bootloader...                                                    
U-Boot 1.3.3 (Jul 10 2008 - 16:33:09)   
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz   
OMAP3 Beagle Board + LPDDR/NAND         
DRAM:  128 MB                           
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Audio Tone on Speakers  ... complete
OMAP3 beagleboard.org # 

If you don't, check the serial port. You'll have to go back to the config (minicom -s) and get to this screen:

   | A -    Serial Device      : /dev/ttyS1                                |   
   | B - Lockfile Location     : /var/lock                                 |   
   | C -   Callin Program      :                                           |   
   | D -  Callout Program      :                                           |   
   | E -    Bps/Par/Bits       : 115200 8N1                                |   
   | F - Hardware Flow Control : No                                        |   
   | G - Software Flow Control : No                                        |   
   |                                                                       |   
   |    Change which setting?                                              |   
           | Screen and keyboard      |                                        
           | Save setup as dfl        |                                        
           | Save setup as..          |                                        
           | Exit                     |                                        
           | Exit from Minicom        |                                        

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 카드 설정

(For a BeagleBoard xM specific step-by-step guide to setting up your SD card and installing Angstrom, click here.)

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:

MMC boot format

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 카드 포맷하기

  1. Download mkcard.txt from here.
  2. $ chmod +x mkcard.txt
  3. $ 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) 

카드 정보 출력:

Command (m for help): p

Disk /dev/sdb: 128 MB, 128450560 bytes

카드의 용량은 byte임을 명심하자. 뒤에 아래에서 필요하다.

다음으로 "Expert mode"로 들어간다:

Command (m for help): x

이제 geometry를 255 head, 63 sector로 설정하고 SD/MMC카드에 필요한 실린더의 수를 계산하자.

Expert command (m for help): h
Number of heads (1-256, default 4): 255

Expert command (m for help): s
Number of sectors (1-63, default 62): 63
Warning: setting sector offset for DOS compatiblity

주의: 특히 다음 단계에서 주의가 필요하다. 다음과 같이 먼저 실린더의 수를 계산하자.

  • B = 카드 용량(byte로) (you got it before, in the second step when you printed the info out)
  • C = 실린더의 수

숫자가 구해지면 소숫점 이하는 버린다. 따라서 108.8일 경우, 108 실린더가 된다.

Expert command (m for help): c
Number of cylinders (1-1048576, default 1011): 15

위의 경우 128MB(128450560 bytes by fdisk) 카드인 경우라면, 128450560 / 255 / 63 / 512 = 15.6가 되며 소숫점을 버리게 되면 15 실린더가 된다. 따라서 255 heads, 63 sectors, 512 bytes per sector가 된다.

좋다. 이제 2개 파티션을 만들자. 하나는 부트 이미지(boot image)고 다른 하나는 distro 용이다.

리눅스 부트 디스크 포맷

윈도우에서 부팅과 파일 전송을 위해 FAT32 파티션을 생성한다. bootable로 표시하자.

Expert command (m for help): r
Command (m for help): n
Command action
  e   extended
  p   primary partition (1-4)
Partition number (1-4): 1
First cylinder (1-245, default 1): (press Enter)
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-245, default 245): +50

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): c
Changed system type of partition 1 to c (W95 FAT32 (LBA))

Command (m for help): a
Partition number (1-4): 1

root 파일 시스템을 위해 리눅스 파티션을 생성한다.

Command (m for help): n
Command action
  e   extended
  p   primary partition (1-4)
Partition number (1-4): 2
First cylinder (52-245, default 52): (press Enter)
Using default value 52
Last cylinder or +size or +sizeM or +sizeK (52-245, default 245):(press Enter)
Using default value 245

새로운 파티션 기록을 출력하고 저장한다.

Command (m for help): p

Disk /dev/sdc: 2021 MB, 2021654528 bytes
255 heads, 63 sectors/track, 245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1          51      409626    c  W95 FAT32 (LBA)
/dev/sdc2              52         245     1558305   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot.

WARNING: If you have created or modified any DOS 6.x partitions, please see the fdisk manual page for additional information.
Syncing disks.

이제 2개 파티션이 나왔고, 다음으로 포맷하자. Now we got both partitions, next step is formatting them.

주의: 만약 파티션(/dev/sdc1과 /dev/sdc2)이 존재하지 않는다면, 카드를 뽑고 나중에 꼽자. 리눅스는 이제 새로운 파티션을 익식할 것이다.

$ sudo mkfs.msdos -F 32 /dev/sdc1 -n LABEL
mkfs.msdos 2.11 (12 Mar 2005)

$ sudo mkfs.ext3 /dev/sdc2
mke2fs 1.40-WIP (14-Nov-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
195072 inodes, 389576 blocks
19478 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=402653184
12 block groups
32768 blocks per group, 32768 fragments per group
16256 inodes per group
Superblock backups stored on blocks: 
       32768, 98304, 163840, 229376, 294912

Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: 

모든게 완료되었다!

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.

NOTE: XorA created a script to automate SD card formatting

Ångström 이미지를 SDcard에 쓰고 최종 GNU/Linux 부팅하기

Now we have these two partitions. In the first one we're going to write the Linux boot image and other stuff, while in the other one we're going to write our Ångström root filesystem.

First of all, let's download the files we're going to need from:

Ångström demo images

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.

Mount both partitions somewhere -- I'll assume they're mounted in /mnt/sda1 and /mnt/sda2, respectively.

$ cp MLO /mnt/sda1
$ cp u-boot.bin /mnt/sda1
$ cp uImage /mnt/sda1

Now let's copy the root filesystem into the other partition (the ext3 one):

$ sudo cp Angstrom-Beagleboard-demo-image..... /mnt/sda2

and untar it. (IMPORTANT: You must untar directly onto the SD card. Do not untar somewhere else and then copy to the SD):

$ cd /mnt/sda2
$ sudo tar -jxvf Angstrom-Beagleboard-demo-image....

(If you get "permission denied" errors while copying or untarring it to the SD Card then issue that command using 'sudo' e.g "sudo cp Angstrom-Beagleboard-demo-image..... /mnt/sda2")

Once that's done, delete the tarball:

$ sudo rm Angstrom-Beagleboard-demo-image....

If you downloaded the modules-2.6.X-rX-beagleboard.tgz modules file you'll need to copy and untar it:

$ sudo cp modules-2.6.X-rX-beagleboard.tgz /mnt/sda2
$ sudo tar -xvf modules-2.6.X-rX-beagleboard.tgz 

Again delete the module tarball:

$ sudo rm modules-2.6.X-rX-beagleboard.tgz

and unmount both partitions.

$ sudo umount /mnt/sda1
$ sudo umount /mnt/sda2

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:

# setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait g_ether.host_addr=16:0F:15:5A:E1:21  g_ether.dev_addr=16:0F:15:5A:E1:20'

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:

OMAP3 beagleboard.org #

The commands to set it up for booting from SD are:

# setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait'
# setenv bootcmd 'mmc init;fatload mmc 0 80300000 uImage;bootm 80300000'

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:

# saveenv

And, YES, we're done.

Beagle에 선 연결 및 전원 주기

Connect the BeagleBoard to a screen using a DVI cable and press the RESET button while holding down the USER button. Now you've got to be PATIENT, first boot takes a looooong time.

gcohler has also provided a write-up on getting Angstrom running.

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.

Optional if g_ether module not compiled into older kernels :

#cd /lib/modules/2.6.29-omap1/kernel/drivers/usb/gadget
#modprobe g_ether host_addr=16:0F:15:5A:E1:21 dev_addr=16:0F:15:5A:E1:20

Configure networking

#ifconfig usb0 netmask
#route add default gw
#cat >> /etc/resolv.conf
Ctrl + D

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"

Next create /usr/local/sbin/beagleboard-usb-add.sh

busNum=$( printf %.2d $( expr match "$1" "usb\([0-9]*\)") )
ip link set "$1" address 16:0F:15:5A:E1:21:$busNum &> /dev/null
iptables -A POSTROUTING -t nat -j MASQUERADE -s
echo 1 > /proc/sys/net/ipv4/ip_forward
) &
exit 0

Finally run "chmod +x /usr/local/sbin/beagleboard-usb-add.sh" to make it executable and now you can use network-manager with mac specific settings to automatically connect to the beagleboard.

  • Plug your beagle into your computer's usb port.
  • Note the mac address from "ifconfig usb0"
  • Right-click the network manager icon in the panel.
  • Click "Edit Connections..."
  • Delete the "Auto usb0" entry.
  • Add a new connection named 'beagleboard'
  • Enter the mac address from above.
  • Click the "IPv4 Settings" tab.
  • Change "Method" to "Manual"
  • Add an address of, (address and netmask respectively).
  • Click "Ok"
  • Enter your system password (if prompted) to allow changing of this system setting.

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.org) you might need to replace the resolv.conf settings with those from your host. From Ubuntu:

 # scp /etc/resolv.conf root@
 root@'s password: [ENTER]

Note: if you fail to ping host or beagle and is on revision C4 you might want to try adding 'g_ether.use_eem=0' as a boot argument (See BeagleBoardBeginners#Setting_up_the_boot_args)

Ångström으로 개발

Ångström를 직접 빌드할려면 OpenEmbedded on Beagle를 참조하자.

중요 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.

더 읽을꺼리

주요 BeagleBoard 자료들은:

다른 BeagleBoard 사용 설명서:

Thanks to

  • _vlad
  • jkridner
  • ds2

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!

Written by Nabax