分类: LINUX
2010-07-02 14:39:28
$ mkdir ~/Android_build
$ cd ~/Android_build
$ repo init -u git://labs.embinux.org/embinux-android-build/android-omap3/repo/android/platform/manifest.git -b beagle-eclair
$ repo sync
$cd ~/Android_build
$make
$cd ~/Android_build/kernel
$export PATH=$PATH:
$make ARCH=arm omap3_beagle_android_defconfig
$make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
$cd ~/Android_build/out/target/product/generic
$mkdir ~/Android_RFS
$cp -a root/* ~/Android_RFS
$cp -a data/* ~/Android_RFS/data/
$cp -a system/* ~/ Android_RFS/system/
$cd ~/Android_RFS
$sudo chown -R root.root *
$sudo chmod -R 777 *
console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p2 video=omapfb.mode=dvi:1280x720MR-24@50 init=/init rootfstype=ext3 rw rootdelay=1 nohz=off androidboot.console=ttyS2
Execute below command from shell
$logcat
Check if you can find *.dex files of android apps in /data/dalvik-cache
Connect eth0 interface to usb hub via ethernet to usb converter
Edit init.rc
/init.rc
# basic network init
setprop net.dns1
Boot Beagle board Execute following commands from minicom
$netcfg eth0 up
$netcfg eth0 dhcp
NOTE:- Enable appropriate driver for your "ethernet to usb converter" in kernel. Driver can be found at :-
│ -> DeviceDrivers ││ -> Network device support (NETDEVICES[=y]) ││ -> USB Network Adapters