2011-10-15 10:41:07
To build the Android source files, you will need to use Linux PC. It's suggested that you use the most recent version of Ubuntu which is the mostly tested OS for an Android build.
After installing Linux PC, you need check whether you have all necessary packages installed for an Android build. Refer to "Setting up your machine" on the Android web site
源码下载
$ cd /opt (or any other directory you like)
$ tar xzvf imx-android-r10.3.tar.gz
$ cd imx-android-r10.3/code
$ tar xzvf r10.3.tar.gz
解压
To try Android before building any code, use the prebuilt images under image/ and directly go to "Download Images and Bootup"。
The prebuilt image is under each platform directory that uncompressed from the release package:
i.MX51 BBG board (i.MX53 TABLET board which is known as SMD board have the same directory structure)
预编译的
路由配置
${iproute2} route add default via ${ip0} table 206
${iproute2} route add default via ${ip1} table 207
${iproute2} rule add from ${ip0} pref 10001 table 206
${iproute2} rule add from ${ip1} pref 10000 table 207
ip route add default via 124.42.77.116 table 206
ip route add default via 10.100.60.135 table 207
ip rule add from 124.42.77.116 pref 10001 table 206
ip rule add from 10.100.60.135 pref 10000 table 207
auth eth0
iface eth0 inet dhcp