Chinaunix首页 | 论坛 | 博客
  • 博客访问: 831811
  • 博文数量: 125
  • 博客积分: 4066
  • 博客等级: 上校
  • 技术积分: 1401
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-03 18:58
文章分类

全部博文(125)

文章存档

2014年(1)

2013年(1)

2012年(2)

2011年(29)

2010年(92)

我的朋友

分类: LINUX

2010-07-02 14:39:28

Download Android build for Eclair

$ 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

Build Compilation

$cd ~/Android_build
$make

Compiling Kernel

$cd ~/Android_build/kernel
$export PATH=$PATH:
$make ARCH=arm omap3_beagle_android_defconfig
$make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

Copying Android RFS

$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 *

Boot Arguments

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 

Debugging Android

Execute below command from shell

$logcat

Check if you can find *.dex files of android apps in /data/dalvik-cache

Enabling Network

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

阅读(1487) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~