|How to get started with Ubuntu using pre-built binaries on your OMAP Platform|
|Overview||Step 1||Step 2||Step 3||Step 4||Step 5||Step 6||Step 7||Step 8||Step 9|
- Step 2
The below instructions suppose that you will be cross-compiling from a Ubuntu (x86) host, using the CodeSourcery tool-chain. It is advised to use a recent tool-chain like the 2010-q1-202 (gcc 4.4.1). The path to the CodeSourcery binaries shall be added to the $PATH environment variable.
The instructions on this page have been verified on a Ubuntu workstation running Lucid (Karmic or older Ubuntu versions may also work)
SD card capacity
A Ubuntu file-system with a graphical interface (UNE for example), requires at least a 4GB SD card. A smaller SD card is sufficient if you do not need to install a graphical interface.
OMAP4 uses u-boot + x-loader to get the platform booted. Detailed information on how this works is detailed here: http://omappedia.org/wiki/Bootloader_Project.
The OMAP4 dedicated instructions are described below:
- Version tagging into u-boot and x-loader trees: some stable release are tagged into u-boot and x-loader trees. It is advised to use the most recent (higher number) of these stable tags, and the same number for u-boot and x-loader (this will guarantee they are aligned). The tags to use for OMAP4 are: L24.x (with x being the highest value). Note that these tags are applied in the omap4_dev branch of the u-boot and x-loader trees.
- setup folders:
mkdir bootloader cd bootloader
- Get u-boot and checkout the omap4_dev branch:
git clone git://git.omapzoom.org/repo/u-boot.git cd u-boot git checkout <latest L24.x tag>
- Build u-boot for OMAP4
make ARCH=arm distclean make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap4430sdp_config make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
=> Generates: ./u-boot.bin
- get x-loader and checkout the omap4_dev branch:
cd .. git clone git://git.omapzoom.org/repo/x-loader.git cd x-loader git checkout <latest L24.x tag>
(note that both u-boot and x-loader folders must be at the same directory level)
- build x-loader for OMAP4:
make ARCH=arm distclean make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap4430sdp_config make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- ift
=> Generates ./MLO
The generated MLO and u-boot.bin files will have to be copied on the SD card.
Note: To get the list of L24.x tags, once in the cloned u-boot or x-loader folder, type:
git tag | grep L24