ImageVerifierCode 换一换
格式:DOCX , 页数:9 ,大小:420.61KB ,
资源ID:6302955      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/6302955.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(使用devkit8000移植android 21.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

使用devkit8000移植android 21.docx

1、使用devkit8000移植android 21(Enhancd)使用devkit8000移植android 2.1 Eclair使用DevKit8000移植Android2.1 Eclair详细步骤。效果图如下。(使用devkit8000 + 4.3LCD样例)(更新主题之后)下面的步骤将告诉你如何建立你的开发环境,以及交叉编译等。一jdk 1.5的准备你的开发机(Ubuntu)需要安装jdk1.5,如果是其它版本比如1.6,我建议你还是使用jdk1.5版本。1将这两行添加到你的/etc/apt/sources.list中deb jaunty multiversedeb jaunty-upd

2、ates multiverse2更新你的源并安装Sun JDK 1.5:$ sudo apt-get update$ sudo apt-get install sun-java5-jdk3为了使你的系统使用Java 5,你应该做一定的选择配置$ sudo update-alternatives -config java4选择使用java-1.5.0-sun二下载源码这里仍然使用git下载,并使用repo工具来同步1安装git工具,如果想对git工具详细的了解,请查看使用git建立远程仓库,让别人git clone下来一文。$ sudo apt-get install git-core2安装re

3、po工具$ curl -o /bin/repo http:/android.git.kernel.org/repo$ chmod a+x /bin/repo3下载源码Where BRANCH_NAME is:* beagle-eclair - for Eclair version of android* beagle-donut - for Donut version0fandroid* beagle-cupcake - for Cupcake version of android$ mkdir BRANCH_NAME$ cd BRANCH_NAME$ repo init -u git:/gi

4、torious.org/0xdroid/manifest.git -b BRANCH_NAME$ repo sync三编译你的android版本1将这些添加(新建)buildspec.mk文件中$ echo TARGET_PRODUCT := devkit8000 buildspec.mk$ echo INSTALL_PREBUILT_DEMO_APKS := true buildspec.mk$ make -j22一旦编译成功,检查你的成果。* out/target/product/devkit8000/root/* out/target/product/devkit8000/system/

5、* out/target/product/devkit8000/system.img3安装uboot制作工具$sudo apt-get install uboot-mkimage4编译内核(和你的BRANCH_NAME平级目录)$ cd .$ git clone git:/gitorious.org/0xlab-kernel/kernel.git$ cd kernel$ git checkout -b kernel_omap3 origin/omap3-2.6.32$ make ARCH=arm devkit8000_defconfig # build for devkit80005 buil

6、d kernel image along with kernel modules:$ make ARCH=arm CROSS_COMPILE=./beagle-eclair/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- uImage$ make ARCH=arm CROSS_COMPILE=./beagle-eclair/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- modules四准备移植现在你的工作基本完成!1准备一张SD卡,并建立格式为vfat的第一

7、分区,大小100M。关于如何制作请参见,本网站:实例解说 fdisk 使用方法2在第一分区你需要这些文件:(1)out/target/product/beagleboard/system.img但需要改名为system.img - system.ubi(2)arch/arm/boot/uImage同样需要改名uImage - kernel.bin(3)建立install.conf文件,并添加如下内容installerKERNEL_IMAGE= kernel.binROOTFS_IMAGE= system.img# Uncomment the following to reflash the b

8、oot loader# U_BOOT_IMAGE= flash-uboot.bin# Uncomment the following to install to SD card# INSTALL_TO_SD = y# Uncomment the following to grab images from network# NET_INSTALL=y# IPADDRESS=192.168.0.202# REMOTE_KERNEL_IMAGE=http:/192.168.0.201/0xkernel-beagle.bin# REMOTE_ROOTFS_IMAGE=http:/192.168.0.2

9、01/android-beagle.ubi# DEBUG=ybeagleboardDEFAULT_DISPLAY = dviDEFAULT_VIDEOMODE = dvi:1024x768MR-2460devkit8000# 7 inchDEFAULT_DISPLAY = lcdDEFAULT_VIDEOMODE = lcd:800x480# 4.3 inch# DEFAULT_DISPLAY = lcd# DEFAULT_VIDEOMODE = lcd:480x272# OPTION_ARGS = omapfb.rotate=1(4)一个UBOOT(5)还有一个能更新图像的uImage说明:

10、关于第4.5这两个必需品,我暂时不在该页面提供下载地址,如有需要,请跟贴联系【www.ourunix.org】站长会尽快回复你的o五适配和移植1第四步所有材料都有有了,请按照下面步骤测试,你肯定被编译的时候已经搞的精疲力尽了,呵呵,下面是犒劳自己的时候了。2刚才让你添加的install.conf,你需要取消注释U_BOOT_IMAGE这一行;并且选择你的显示器尺寸,简单的英文应该可以看懂吧!3将你的SD卡取下并插入到你的DEVKit8000中去,并重新启动。4打开你的超级终端(minicom)或者其它;跟着这些代码走:mmcinitfatload mmc 0 80300000 flash-ub

11、oot.bingo 80300000这个时候你可以看到你的DevKit8000的显示器有一个安装图形工具的进步条了,不要急,你快要成功了哦。等进度条完成boot片刻之后,根据你的终端显示,你关掉你的板子,最后拔掉SD卡,重新启动。当然你的东西已经完全烧到NandFlash中了。是不是进去拉。GoodLuck!Precondition: Sun JDKYou would need Sun JDK version 1.5 to build Donut. However, Sun JDK version 1.5 is known to be EOL (End-Of-Line), and Ubuntu

12、 Linux 9.10 no longer ships with sun-java5-jdk.If you are using Ubuntu Linux 9.10, just add these two line in file /etc/apt/sources.list:deb karmic-updates multiversedeb-src karmic-updates multiverseand install Sun JDK 1.5:$ sudo apt-get update$ sudo apt-get install sun-java5-jdkTo set the system to

13、 use Java 5, you need to update your java alternatives by running$ sudo update-alternatives -config javaChoose java-1.5.0-sun and it should be done.Precondition: git and repoBefore you download the source, you will needgitandrepotools.On an Ubuntu 9.04 host, you can do the following:Getting git:$ su

14、do apt-get install git-coreGetting repo: (make sure /bin is included in $PATH)$ curl https:/dl- /bin/repo$ chmod a+x /bin/repoFor reference details about Repo, seeUsing Repo and Git.Get 0xdroid sourceDownload the 0xdroid source code:$ mkdir beagle-donut$ cd beagle-donut$ repo init -u git:/gitorious.

15、org/0xdroid/manifest.git -b BRANCH_NAME$ repo syncWhere BRANCH_NAME is: beagle-eclair - for Eclair version of 0xdroid beagle-donut - for Donut version 0f 0xdroid beagle-cupcake - for Cupcake version of 0xdroidAlternatively, use faster git mirror if encountering the problem during repo sync:$ repo in

16、it -u git:/gitorious.org/0xdroid/manifest.git -b BRANCH_NAME -m mirror.xml$ repo sync Build 0xdroid from sourceSetup beagleboard specific configurations and enabled components:$ echo TARGET_PRODUCT := beagleboard buildspec.mk$ echo INSTALL_PREBUILT_DEMO_APKS := true buildspec.mkNOTE: If you want to

17、build DevKit8000 instead of Beagleboard, replace the context TARGET_PRODUCT := beagleboard to TARGET_PRODUCT := devkit8000.Build as expected:$ makeOnce successfully built, the generated root file system is here: out/target/product/beagleboard/root/ out/target/product/beagleboard/system/And the corre

18、spondingUBIFSsystem image for NAND flash: out/target/product/beagleboard/system.imgFor advanced usage, fetch and build Linux kernel from scratch. You need uboot-mkimage installed in host machine:# apt-get install uboot-mkimageThe instructions for building kernel image:$ cd .$ git clone git:/gitoriou

19、s.org/0xlab-kernel/kernel.git$ cd kernel$ git checkout -b kernel_omap3 origin/omap3-2.6.32Select proper default kernel configuration to match the machine. Beagleboard:$ make ARCH=arm omap3_beagle_defconfigor DevKit8000:$ make ARCH=arm devkit8000_defconfig # build for devkit8000Finally, build kernel

20、image along with kernel modules:$ make ARCH=arm CROSS_COMPILE=./beagle-eclair/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- uImage$ make ARCH=arm CROSS_COMPILE=./beagle-eclair/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- modulesFlash images to targetAfter this long building

21、process, we should get our own Android kernel and system images. Then we can usehappy Installerand then do a SD card booting. Here are the steps as below: Format the first partition over than 100MB with VFAT on a SD card. Download the installeruImage.bin Rename out/target/product/beagleboard/system.

22、img to android-beagle.ubi Rename arch/arm/boot/uImage to 0xkernel-beagle.bin Copy above three files into the first partition of SD/MMC card Plug the SD card in Beagle board SD slot and restart the Beagleboard Wait for UI installer over. The installer would perform NAND flashing and u-boot environment setup. Unplug SD card from the Beagleboard and reboot Enjoy!

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1