Getting Started FAQ ,Mips android

本文档解答了如何获取MIPS-Android-RMI合作伙伴源码及编译流程的问题,并提供了简单的编译步骤说明。同时,还介绍了如何解决启动过程中遇到的Kernel Panic错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

User documentation
11/16/2009

This document will answer some frequently asked questions about getting started with the MIPS-Android-RMI Partners Sources.

Q: How do I get the MIPS-Android-RMI Partner Sources?
A: See document#9

Q: How do I build the Sources?
A: There are a variety of ways to set up and build the sources. A simple method is to do the following:
$ cd mipsandroid.rmi
$ source build/envsetup.sh
$ export TARGET_ARCH=mips
$ export TARGET_BUILD_VARIANT=eng
$ export TARGET_SIMULATOR=false
$ export TARGET_PRODUCT=<PRODUCT>
$ make

PRODUCT should be set to the board you are using. Currently, db1300 and hmp10 are valid values.

Q: After I build, where is the image? How do I boot it?
A: The Android build system will assemble everything it builds into a series of .img files in out/target/product/&ltPRODUCT&gt . You must extract their contents to create a bootable filesystem. Whether you are using NFS or a CF card, the script install_image.sh attached to this document can help.

Q: I used install_image.sh to create an image. When I boot I get a Kernel Panic that says "No init found. Try passing init= option to kernel". What should I do?
A: Make sure that your kernel boot line (in YAMON for example) includes "init=/init rw". Android puts its init program in /init which is not what the kernel expects by default. It must be told where to find init.

Files

install_image.sh - Image installation helper script (6.7 KB) Kevin Hickey, 11/16/2009 07:14 AM

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值