Ubuntu 9.10 images for the Digi CCWi-i.MX51js

I have prepared images of Ubuntu 9.10 "Karmic" for the module. These instructions explain how to format an SD card and copy the images so that you can reproduce the system I showed in the photos in my first article about the module: http://www.embedded-linux.co.uk/hardware/ccwi.imx51

Partition the SD card
You need to create two partitions:

Partition 1: at least 4 MiB with system id 6 (FAT16), for the kernel
Partition 2: at least 3GiB with system id 0x83 (Linux), for the root file system

Create a file system of type msdos on the first partition.
Create a file system of type ext3 on the second partition.

Copy the kernel
Download the kernel image from http://www.embedded-linux.co.uk/downloads/uImage-2.6.31-ccwmx51js-ubuntu
Copy it to first partition as file "uimage".

Copy the root file system
Download the Android file system image (614 MiB) from http://www.embedded-linux.co.uk/downloads/ubuntu-arm-9.10-desktop.tar.gz
Un-tar it to the second partition.

Un-mount both partitions.
Remove the SD card and plug it into the ccwi-i.mx51 board.

Configure u-boot
Connect a serial cable to the console port on the board and start a terminal emulator (I use minicom) with a baudrate of 38400 and no hardware or software flow control.

Turn on the board and hit Ctrl-C to get to a U-Boot prompt (CCWMX51 #). Type the following, making sure that the two setenv commands are all on one line:

setenv bootargs console=ttymxc1,38400 video=displayfb:LCD root=0xb302 rw rootdelay=4

setenv bootcmd mmc rescan 1\;fatload mmc 1:1 a0000000 uimage\;bootm a0000000

saveenv

Turn off the board.

Using Ubuntu

Put the SD card into the SD slot on the board and plug in a USB keyboard - otherwise you won't be able to log in! Turn the board on. You should see the normal penguin logo and then the Ubuntu boot sequence. Log in as "ubuntu" password "ubuntu".

Have fun!