Getting Started Guide for Beagleboard xM OMAP35x

From RidgeRun Developer Connection

Revision as of 19:22, 10 September 2010 by Tfischer (Talk | contribs)
Jump to:navigation, search

Contents

Installation Guide

Setting up a minicom client

Minicom is a simple terminal program. We use it to access our servers via our serial port use the port ttyUSB0 to have access to board.

Setting up Minicom Client - Ubuntu

Create a bootable sd card

Helpfull to generate a bootable with the necessary partitions to use.

Creating a bootable SDcard

Setting Up a tftp server

An alternate boot mode of the EVM is TFTP (Trivial File Transfer Protocol) boot with NFS filesystem. You may encounter this boot mode if your host machine (linux machine, vm-workstation) contains the linux kernel and filesystem. For a successful boot, there has to be a way to boot the kernel over a network connection. This can be accomplished using a TFTP server.

Setting Up A Tftp Service

Setting Up a NFS server

In this tutorial I will describe how to set up a highly available NFS server that can be used as storage solution

Setting Up A NFS Service

What's Tested and Supported

  • AUDIO
  • Gstreamer
  • Serial port RS232
  • Ethernet
  • USB ports
  • SD-CARD SLOT

What's Tested and not Supported

What's not Tested

Checking out the binary images

Checking out the the images created by the SDK stored in RidgeRun's repository.

  • kernel
  • x-loader
  • u-boot.bin
  • boot.scr
  • file system

It will take some minutes to complete, after that, you should have an images directory with the kernel and the tar.gz version of the file system.

What's the files you need on the SD

FAT32

This files are required on the first (FAT) partition to boot your BeagleBoard - xM: If you have access to devdir:

Go to the $DEVDIR/images directory and copy to the FAT partition with the SAME names as shown below
MNT_FAT=/media/boot

cd  $DEVDIR/images
sudo cp -f bootloader $MNT_FAT/u-boot.bin
sudo cp -f x-load.bin.ift $MNT_FAT/MLO
sudo cp -f kernel.uImage $MNT_FAT/uImage
sudo cp -r boot.scr $MNT_FAT/boot.scr

In other hand if you downloaded the images from <XXXX> and created manually the bootable SD card

MNT_FAT=/media/boot

cd  $DEVDIR/images
sudo cp -f u-boot.bin $MNT_FAT/u-boot.bin
sudo cp -f MLO $MNT_FAT/MLO
sudo cp -f uImage $MNT_FAT/uImage
sudo cp -r boot.scr $MNT_FAT/boot.scr

MLO:

  • It does some minimal configuration of system memory and io pins and then loads bootloader.

u-boot.bin

  • Initializing the hardware, especially the memory controller.
  • Providing boot parameters for the Linux kernel.
  • Starting the Linux kernel

uImage:

  • The linux kernel. You can build these yourself or download pre-built images.

boot.scr

  • An u-boot customized script charged to manage the problem of no NAND device on the beagleboard xM.


It is important that those four files have precisely the names I use, DO NOT change any name.

EXT3 Partition

For the linux partition follow the instructions below to copy the root file system produced on the MMC/SD card:

sudo tar -C /media/roots/ -xjf filesystem-beagleboardxM.tar.gz 

if you have a working directory

cd $(DEVDIR)/fs/fs
sudo cp -rf * /media/rootfs/
Navigation
Toolbox