Getting Started Guide for Beagleboard xM OMAP35x
From RidgeRun Developer Connection
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.
Create a bootable sd card
Helpfull to generate a bootable with the necessary partitions to use.
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 NFS server
In this tutorial I will describe how to set up a highly available NFS server that can be used as storage solution
What's Tested and Supported
- Serial port RS232
- 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.
- 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
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
- It does some minimal configuration of system memory and io pins and then loads bootloader.
- The boot loader image provides the following features:
- Initializing the hardware, especially the memory controller.
- Providing boot parameters for the Linux kernel.
- Starting the Linux kernel
- The linux kernel. You can build these yourself or download pre-built images.
- 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.
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/