Mustang

Revision 25 as of 2011-10-17 14:55:59

Clear message

Installing pre-installed OMAP3/4 Oneiric (11.10) Server Images

Follow these steps;

Download

Download the compressed image from http://cdimage.ubuntu.com/releases/11.10/release/

Warning /!\ Check the md5sum to verify the image

(note: for 11.04 download images from http://cdimage.ubuntu.com/releases/11.04/release/ . They are called headless instead of server, so the files have different names, but otherwise all instructions below are valid

Copy the image to SD card

You should write the raw image to a blank SD card. Make sure you're using at least a 2 Gig SD card so that you have enough room for the image.

Steps:

  1. Insert the SD card in your host computer's SD card reader.
  2. Make sure the SD card is not mounted (just umount it if needed).
  3. Identify the correct device name (like /dev/sdb).
  4. Run the following command to write it:

gunzip -c ubuntu-11.10-preinstalled-server-armel+<omap image>.img.gz | sudo dd bs=4M of=/dev/<device name>
sync

or

sudo sh -c 'zcat ubuntu-11.10-preinstalled-server-armel+<omap image>.img.gz > /dev/<device name>'
sync

(note: replace <omap image> with either omap for beagle/beagleXM/other omap3 based system or omap4 for panda/blaze/other omap4 based system and the raw block device for <device name> - not a partition. i.e. /dev/mmcblk0 )

Booting the image

On Pandaboard and BeagleXM

  1. Attach a serial cable to the serial port on the board. (note: The board is already wired for a straight serial cable - no null modem needed)

  2. Open a terminal on your host system and launch a serial console monitor with the port set for 115200,n,8,1
    • Screen: screen /dev/ttyUSB0 115200

      • * you can end the screen session by pressing Ctrl-A and then K

    • Minicom: TERM=vt100 minicom

      • * the TERM=vt100 setting is needed for proper output formatting

        * you can end the minicom session by pressing Ctrl-A and then X or Q

  3. Insert the SD card in the system and switch on the board.

The system should start booting with output shown on your serial terminal. After the board resizes the image to fill the SD card, it will reboot and start oem-config to prompt for localization and user info.

On older Beagleboards that boot from nand

Insert SD card with new image into the beagleboard and reset while holding User1 button on system

Warning /!\ On omap3 systems with a modified NAND (i.e. beaglebord C series) do the following:

On a serial console connected to the system, halt any autoboot script and type

setenv bootcmd 'mmc init;fatload mmc 0 0x82000000 boot.scr;source 0x82000000'; setenv autostart yes; saveenv; boot

On revision B7 Beagleboards and older(?) the syntax is slightly different. So if you are getting messages saying 'mmcinit usage' and 'source command not found' errors try:

setenv bootcmd 'mmcinit;fatload mmc 0 0x82000000 boot.scr;autoscr 0x82000000'; setenv autostart yes; saveenv; boot

The system should start booting (note that this step is only necessary if you have a NAND and the system does not default to reading boot.scr from SD)

Update for BeagleXM Rev B & Rev C

To boot on these newer boards, a new kernel will be needed.

  1. Download http://people.canonical.com/~tobin/natty/beagleXM-natty.tgz

  2. Untar with "tar -zxf beagleXM-natty.tgz
  3. Mount the first SD card partition at your host PC and copy uImage to it. Unmount
  4. Mount the second SD card partition at your host PC and copy vmlinuz-2.6.38-8-omap to <mountpoint>/boot. Unmount

  5. Switch on the board with the SD card inserted.