Kernel:BeagleBoard Quick Start
From Symdev
| Symbian on BeagleBoard {{#if:BeagleBoard in a Nutshell| > BeagleBoard in a Nutshell|}}{{#if:BeagleBoard Quick Start| > BeagleBoard Quick Start|}}{{#if:Extending the BeagleBoard| > Extending the BeagleBoard|}}{{#if:The Wild Ducks Project| > The Wild Ducks Project|}}{{#if:| > {{{5}}}|}}{{#if:| > {{{6}}}|}}{{#if:| > {{{7}}}|}}{{#if:| >' {{{8}}}|}}{{#if:| > {{{9}}}|}}{{#if:| > {{{10}}}|}} | |
{{#ifeq:{{{visible}}}|true|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.
Contents |
[edit] 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:
- A terminal program for your PC capable of serial communications, such as HyperTerminal or TeraTerm for Windows, or Minicom for Linux and Mac.
- A Symbian ROM image for the BeagleBoard (see this page or perhaps better Creating a Full UI ROM for BeagleBoard for how to create one)
[edit] 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):
- 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)
- 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.
- Connect the null modem cable between the other end of the AT/Everex cable and the PC's parallel port.
- 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.
- Connect the HDMI to DVI-D cable between the HDMI port on the BB and a DVI-D monitor.
- Finally, connect the USB mini cable to the BeagleBoard and your PC or USB hub.
Here is a video of this connection process. {{#ev:youtube|CcN04HpGGJw|640}}
[edit] 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.
[edit] 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.
| {{#if: Note | Note | }}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
[edit] Summary
This article helped you get started running Symbian on the BeagleBoard.
[edit] Next Steps
- For information on how to build your own custom roms, check out the Wild Ducks Quick Start Guide
- To explore more of Symbian's capabilities on the BeagleBoard, see Extending the BeagleBoard
- Join the Category:Wild Ducks
| Symbian on BeagleBoard {{#if:BeagleBoard in a Nutshell| > BeagleBoard in a Nutshell|}}{{#if:BeagleBoard Quick Start| > BeagleBoard Quick Start|}}{{#if:Extending the BeagleBoard| > Extending the BeagleBoard|}}{{#if:The Wild Ducks Project| > The Wild Ducks Project|}}{{#if:| > {{{5}}}|}}{{#if:| > {{{6}}}|}}{{#if:| > {{{7}}}|}}{{#if:| >' {{{8}}}|}}{{#if:| > {{{9}}}|}}{{#if:| > {{{10}}}|}} | |
