Android-Cupcake porting guide to EVM

Download Android build for Cupcake stable

Browse git

$ mkdir ~/Android_build
$ cd ~/Android_build
$ repo init -u git://labs.embinux.org/embinux-android-build/android-omap3/repo/android/platform/manifest.git -b evm-cupcake
$ repo sync
$ make

Note: For complete info on repo check following links

  1. http://source.android.com/download
  2. http://source.android.com/download/using-repo

Compile Kernel

Kernel is located at

<Android_Build>/kernel

Set Environment variable $CC_PATH to toolchain path

$ export CC_PATH=/opt/arm-2007q3/bin/arm-none-linux-gnueabi-
$ cd <Android_Build>/kernel
$ ../vendor/embinux/support-tools/evm_build_kernel.sh

Android's Root File System (RFS)

After build compilation , RFS is generated at

~/Android_build/out/target/product/generic
$ cd  ~/Android_build/out/target/product/generic

Create Android_RFS directory and copy contents

$ mkdir ~/Android_RFS
$ cp -a root/* ~/Android_RFS
$ cp -a data/* ~/Android_RFS/data/
$ cp -a system/* ~/ Android_RFS/system/

Ownership & Permissions

Modify ownership and permissions

$ cd ~/Android_RFS
$ sudo chown -R root.root *
$ sudo chmod -R 777 *

Boot Arguments

console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2 init=/init rootfstype=ext3 rw rootdelay=1 nohz=off androidboot.console=ttyS0

Debugging Android

Execute below command from shell

$logcat

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值