三星S3C6410(ARM1176)平台Android资源获取与编译(RedHat AS5)
2010年08月05日 09:57 发布者:sinpo1984
1. Android的一些有用的官方网站:http://android.git.kernel.org android源码网站
http://source.android.com
http://code.google.com/android
http://developer.android.com
2. 安装git源码管理工具
# cd ~
# mkdir bin
# echo $PATH
# curl http://android.git.kernel.org/repo > ~/bin/repo
# chmod a+x ~/bin/repo
git下载源码方法:
下载一个tree(至当前路径):
# git clone git://git路径 (git路径参看网站发布tree路径)
下载整个platform至当前路径:
# repo init -u git://git路径/platform/manifest.git
# repo sync
3. 获得Android平台源码(具体可参看http://android.git.kernel.org):
# mkdir myandroid
# cd myandroid
# repo init -u http://android.git.kernel.org/platform/manifest.git
# repo sync
按默认设置完成即可
4. 获得S3C6410平台Android底层Linux内核源码
参考网站:http://github.com/leemgs/samsung-s3c6410-android.1.0/tree/master
参考主页:http://code.google.com/p/android-group-korea/
中文社区参考:http://www.android.cc/dev/, http://www.china-android.org
# git clone git://github.com/leemgs/samsung-s3c6410-android.1.0.git
5. 获得并安装Android编译工具(Toolchain)
# wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.12.tar.gz
# ./configure --prefix=/usr/local
# make
# make install
# vi /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/lib
# ldconfig
# cd /opt
# wget http://www.kandroid.org/devtools/kandroid-1.1.2.1-20080530.glibc.tgz
# tar xvzf kandroid-arm-toolchain-20080530.tgz
# cd ./kandroid-arm-toolchain-20080522/bin
# ls
arm-android-linux-gnueabi-addr2line arm-android-linux-gnueabi-gprof
arm-android-linux-gnueabi-ar arm-android-linux-gnueabi-jcf-dump
arm-android-linux-gnueabi-as arm-android-linux-gnueabi-jv-scan
arm-android-linux-gnueabi-c++ arm-android-linux-gnueabi-ld
arm-android-linux-gnueabi-c++filt arm-android-linux-gnueabi-nm
arm-android-linux-gnueabi-cc arm-android-linux-gnueabi-objcopy
arm-android-linux-gnueabi-cpp arm-android-linux-gnueabi-objdump
arm-android-linux-gnueabi-g++ arm-android-linux-gnueabi-populate
arm-android-linux-gnueabi-gcc arm-android-linux-gnueabi-ranlib
arm-android-linux-gnueabi-gcc-4.2.3 arm-android-linux-gnueabi-readelf
arm-android-linux-gnueabi-gccbug arm-android-linux-gnueabi-run
arm-android-linux-gnueabi-gcj arm-android-linux-gnueabi-size
arm-android-linux-gnueabi-gcjh arm-android-linux-gnueabi-sstrip
arm-android-linux-gnueabi-gcov arm-android-linux-gnueabi-strings
arm-android-linux-gnueabi-gdb arm-android-linux-gnueabi-strip
arm-android-linux-gnueabi-gjnih
#
# ./arm-android-linux-gnueabi-gcc -v
......
参考资料:http://www.hzlitai.com.cn/article/ARM11/SYSTEM/1762.html
网友评论
sinpo1984 2010年08月09日
是不错的文章的!欢迎大家来学习
是不错的文章的!欢迎大家来学习
huangly001 2010年08月11日
是要学习学习!
是要学习学习!
sinpo1984 2010年08月20日
立宇泰6410开发板,支持H-JATG USB 仿真器
立宇泰6410开发板,支持H-JATG USB 仿真器
she2010 2010年09月15日
越来越多的产品是采用6410来做的呢,可见这个产品的市场前景非常不错!
越来越多的产品是采用6410来做的呢,可见这个产品的市场前景非常不错!
lytdzyxgs 2010年11月01日
很有技术性质的文章,都来看看!
很有技术性质的文章,都来看看!
qingtai 2011年06月08日
很有技术性质的文章,都来看看!
lytdzyxgs 发表于 2010-11-1 10:45 http://www.eechina.com/images/common/back.gif
确实很有技术含量,都看不懂的;看来我得好好学习学习啦
很有技术性质的文章,都来看看!
lytdzyxgs 发表于 2010-11-1 10:45 http://www.eechina.com/images/common/back.gif
确实很有技术含量,都看不懂的;看来我得好好学习学习啦
qingtai 2011年06月08日
非常好,受益不少啊!
she2010 发表于 2010-8-5 15:06 http://www.eechina.com/images/common/back.gif
东西很受用哈
非常好,受益不少啊!
she2010 发表于 2010-8-5 15:06 http://www.eechina.com/images/common/back.gif
东西很受用哈
qingtai 2011年08月29日
好帖必须支持
好帖必须支持
qingtai 2012年02月23日
支持!
支持!
小荷才露尖尖角 2012年03月26日
很不错的技术资料!支持!
很不错的技术资料!支持!
诚实12 2012年07月05日
路过,学习
路过,学习
daisukeyu 2012年07月09日
学习了,支持下~
学习了,支持下~
诚实12 2012年07月30日
诚实的记录诚实的生活!
诚实的记录诚实的生活!
daisukeyu 2012年11月27日
学习!
学习!
sinpo1984 2013年03月14日
大家一起学习~~
大家一起学习~~
sinpo1984 2013年05月10日
分享分享哈~~~
分享分享哈~~~
非常好,受益不少啊!