Home
The objective of this project is to deliver a stable release of Android port for TI’s OMAP L 138 based HawkBoard.
Basic features supported in this release are:
Android Donut
Qwerty keyboard
Ethernet
Download Android Source
- Make sure you have a ~/bin directory in your home directory
$ cd ~
$ mkdir bin
$ echo $PATH
- Download the repo script and make sure it is executable:
$ curl https://android.git.kernel.org/repo >~/bin/repo
$ chmod a+x ~/bin/repo
- Clone the source
$ repo init -u git://gitorious.org/android-enablement/omap-l138-manifest.git
$ repo sync
- Change the target to HawkBoard
$ make TARGET_PRODUCT=hawkboard
Root file system creation
cd out/target/product/hawkboard
mkdir android_rfs
cp -r root/* android_rfs
cp -r system android_rfs
cd android_rfs
chmod -R 777 *
chown root.root *
Enabling Ethernet
Add the following in init.rc
# basic network init
setprop net.dns1 <primary-dns-server-ip
prepare tar file for android_rfs directory
uImage creation
cd <android_root_dir>/kernel
make ARCH=arm omapl138_hawkboard_android_defconfig
export toolchain path
make ARCH=arm CROSS_COMPILE=arm-eabi- uImage
Host setup
nfs-server setup
sudo apt-get install nfs-kernel-server nfs-common portmap
Edit /etc/exports with the following line
/data/target *(rw,sync,no_subtree_check,no_root_squash)
sudo /etc/init.d/nfs-kernel-server restart
tftpd server setup
sudo apt-get install tftpd-hpa
sudo /etc/init.d/tftpd-hpa restart
Extract RFS and uImage
untar root file system in /data/target
cd /data/target; chmod -R 777 *
copy the uImage to /var/lib/tftpboot
On Hawkboard
Execute the following commands in bootloader console to boot android on Hawkboard
setenv ipaddr <board-ip>
setenv serverip <nfs-server-ip>
setenv bootargs mem=128M console=ttyS2,115200n8 root=/dev/nfs rw nfsroot=<nfs-server-ip>:/data/target ip=<board-ip>::<gateway-ip>:<netmask>:hawkboard:eth0:off nolock,rsize=1024,wsize=1024 rootdelay=2 init=/init
tftpboot 0xc0700000 uImage
mw.l 0x01c14110 0x44442222 1
mw.l 0x01c14114 0x44400000 1
mw.l 0x01c14118 0x04604404 1
bootm 0xc0700000

