User manual

Page | 40
4. Compiling Kernel;
The operations for a Linux system are as follows:
cd linux-2.6.32-sbc8140
make distclean
make omap3_sbc8140_defconfig
make uImage
The operations for an Android system are as follows:
cd linux-2.6.32-sbc8140
make distclean
make omap3_sbc8140_android_defconfig
make uImage
After the above operations are executed, the uImage file will be generated
in the directory arch/arm/boot.
5. Making Filesystem;
To make a Ramdisk filesystem please visit:
http://www.elinux.org/DevKit8600_FAQ.
Execute the following instructions to generate a UBI file;
cd $HOME/work
sudo $HOME/tools/mkfs.ubifs -r rootfs -m 2048 -e 129024 -c 1996 -o
ubifs.img
sudo $HOME/tools/ubinize -o ubi.img -m 2048 -p 128KiB -s 512
$HOME/tools/ubinize.cfg
After all the instructions are executed, a file ubi.img is generated in the
current directory.
6. Android system compilation
Execute the following instructions to start the compilation of an Android
system;
cd rowboat-android-froyo-SBC8140
make
Please enter the following instructions to start making a ubi file system;
source ./build_ubi.sh
The generated file: ubi.img, can be found under temp/.