Porting Ubuntu 9.04 on ARM core OMAP 35XX

Ubuntu 9.04 minimal development build for OMAP35xx

This page describes how to get a minimal Ubuntu 9.04 system up, using a SD card on an OMAP35x_EVM ARMv7 board.
Note that this environment is completely aimed at development, it has only the ubuntu-minimal and build-essential metapackages installed.

Partition the SD card

Partition a SD or SDHC card into two partitions, the first partition should have about 64M (less would suffice though) and should be vfat formatted.
Use the rest of the card for the second partition and format this as ext2.

Put root filesystem and kernel on the card

Mount both partitions of the SD card (if you are on an Ubuntu desktop system, just replug the card, the partitions should get mounted as /media/disk and /media/disk-1).

Download the kernel from here.
Download the jaunty rootfilesystem from here.

Copy the uImage file you downloaded above into the first partition.
Untar the jaunty-rootfs.tgz you downloaded above in the second partiton.

Don't forget to properly unmount the card after you are done !

Boot the board into the SD card install

Plug the SD card into the MMC socket on the board.
Attach a serial cable to the UART1 port of the board and set up minicom on your desktop/laptop according to the board handbook.
Plug in the power plug of the board and wait until the bootloader appears on the serial console.
Hit a key if the countdown appears on the screen to stop the board from autobooting.

Hit any key to stop autoboot: 6

Type (or copy/paste) the two lines below at the bootloader prompt, so the board will boot from MMC with the proper kernel arguments.

setenv bootcmd 'mmcinit; fatload mmc 0:1 0x80000000 uImage; bootm 0x80000000'
setenv bootargs 'mem=128M console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootdelay=2 rootfstype=ext2'

To boot without making the setting permanet now just enter:
And hit enter.

In case you want to make the system boot permanently from SD card you need to enter:
Before entering 'boot'

Additional Info

In the kernel dir you can find a tar.gz with the modules and a kernel config file for this image.

To state the warning again: this setup is only for development, it is by no means comparable to the setup of a normal Ubuntu install !

There is no user account on it. No root password is set (log in as 'root' with no password).
For proper remote use you also might want to put the device into your LAN, adjust /etc/network/interfaces and set a root password, the openssh-server package is already installed.
As stated above, the setup isnt even remotely near a normal ubuntu setup, but will offer you a build environment for Ubuntu packages,
is indeed upgradeable through apt-get update/dist-upgrade to the recent packages in the development release and all yet build Ubuntu ARM packages are apt-get'able on it.


Technorati Tags:Technorati Tags:
Your rating: None Average: 4.3 (7 votes)



Sponsered links

Bookmark Us!


Page Rank


The more a man knows, the more he forgives.

Explore Tags

Follow Us