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
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/<PRODUCT>
. 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.