Kernel:BeagleBoard Quick Start

From akaWolf-Wiki
Jump to: navigation, search
35px Symbian on BeagleBoard
 > BeagleBoard in a Nutshell > BeagleBoard Quick Start > Extending the BeagleBoard > The Wild Ducks Project

This is a brief guide to help you get the Symbian platform running the BeagleBoard.

This is a brief guide to help you get the Symbian platform running the BeagleBoard. It is intended for developers who are interested in working with the Symbian platform on hardware.

What You'll Need

To get started with a BeagleBoard you need the following hardware:

  • BeagleBoard
  • Memory card (MMC or SD) and card reader
  • Windows, Mac or Linux computer with an RS-232 serial port or a serial-to-USB cable
  • Monitor with DVI-D connection or a TV with HDMI and a DVI to HDMI cable
  • Cables:
    • USB to USB mini 5-pin cable
    • AT/Everex cable (IDC10 to DB9 serial cable)
    • RS232 null-modem cable (DB9-F to DB9-F)
    • HDMI to DVI-D cable (for monitor)

And you'll need the following software:

Connecting the Components

To connect your BeagleBoard to your PC do the following in order (i.e. connect the power last to avoid damaging your BeagleBoard or the serial port on your PC):

  1. Connect the RS232 port on the BeagleBoard to the serial port of your PC as follows: (If your PC does not have a serial port you also need a serial to USB connector or cable)
    1. Plug the AT/Everex cable to the BeagleBoard's RS232 serial port, with the red strand of the ribbon cable connecting to pin 1 on the RS232 connector.
    2. Connect the null modem cable between the other end of the AT/Everex cable and the PC's parallel port.
    3. If your PC does not have a parallel port connect the loose end of the null modem cable to a USB port on your PC using a serial to USB cable.
  2. Connect the HDMI to DVI-D cable between the HDMI port on the BB and a DVI-D monitor.
  3. Finally, connect the USB mini cable to the BeagleBoard and your PC or USB hub.

Here is a video of this connection process.

Configuring your terminal software

The setup for your terminal software depends on the software itself, your operating system and your hardware.

One piece of information is specific to your PC: The ID of the serial port you are using.

  • On Windows this is a COM port, such as COM5. To find out which, open the Windows Device Manager and check under "Ports (COM & LPT)". If you're using a USB to serial converter you need to plug it in and install the driver first. (NOTE: Changing to a different USB port usually changes which COM port is assigned).
  • On Linux the serial port is typically something like /dev/ttyS0 or /dev/ttyUSB0 for a USB to serial converter. /dev/ttyS0 corresponds to COM1 in Windows, with /dev/ttyS1 being COM2 and so on.

The remaining settings for the terminal program are common across hardware and operating systems:

  • Baud rate: 115200
  • Data: 8 bit
  • Parity: None
  • Stop: 1 bit
  • Flow control: None

With your BeagleBoard connected up, start your terminal program with this configuration.

Loading the ROM Image

Transfer your ROM image onto your memory card. Copy it to the root of the memory card using your card reader.

Put the memory card into the slot on the BeagleBoard and press the reset button on the board. You should see the BeagleBoard splash screen on your connected monitor (an orange gradient, some revisions also show a little dog).

The terminal software should then show output something like this:

Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Loading u-boot.bin from nand
U-Boot 2009.01-dirty (Feb 19 2009 - 12:22:31)
I2C:   ready
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
DRAM:  256 MB
NAND:  256 MiB
*** Warning - bad CRC or NAND, using default environment
MUSB: using high speed
In:    serial usbtty
Out:   serial usbtty
Err:   serial usbtty
Board revision C
Serial #5ac400030000000004013f8901001001
Hit any key to stop autoboot:  0
OMAP3 beagleboard.org #

At the prompt type:

mmc init
fatload mmc 0:1 <address> <image_filename>
go 0x81000000

- where <image_filename> is the name of the ROM image file you have placed on the mmc card, and <address> = 0x81000000 if you built your ROM with RVCT, <address> = 0x82000000 if you built it with ARM GCC.

File:Note.pngNote: For revisions B and earlier of Beagle boards, the command "mmc init" is instead "mmcinit"

This initializes the memory card interface, loads the ROM image from the memory card into RAM and then starts executing it. You should see a Symbian text shell with a prompt on your monitor connected via DVI-D cable. You can type commands into it from your PC keyboard using your terminal program.

For future loads, if you want the BeagleBoard to boot an image with the same name automatically from the memory card, you can make it do so by entering this at the prompt:

set bootcmd 'mmc init ; fatload mmc 0:1 0x81000000 BEAGLEARMV5D.img ; go 0x81000000'
saveenv

Summary

This article helped you get started running Symbian on the BeagleBoard.

Next Steps

35px Symbian on BeagleBoard
 > BeagleBoard in a Nutshell > BeagleBoard Quick Start > Extending the BeagleBoard > The Wild Ducks Project