1_Linux_Android_Environment_BuildUp
更新时间:2023-06-11 02:50:01 阅读量: 实用文档 文档下载
- 1粒诺氟沙星多久排泄完推荐度:
- 相关推荐
Marvell eBook Android
Marvell Confidential © 2007
Marvell eBook Android
environment build-up
Marvell Confidential © 2007
Marvell eBook Android
Outline
Get code base Build image and download Application installation Key info USB over UART log
Marvell Confidential © 2007
Marvell eBook Android
code base get
Linux kernel code base:VERSION M2.1.8.12.3.RC
Linux kernel patch:Aspen168_20091116A0
Android code base:Éclair 2.1 (reference:marvell_manifest.xml )marvell_manifest.xml
Android patch:AndroidEclair
Marvell Confidential © 2007
Marvell eBook Android
Install BSP & Android build tools in Host
Install build BSP tool $ apt-get install autoconf patch gcc g++ libgcc1 ncurses-dev libtool liblzo2-2 Install JDK get jdk-6u12-linux-i586.bin $ chmod a+x ./jdk-6u12-linux-i586.bin $ ./jdk-6u12-linux-i586.bin $ mv jdk1.6.0_12 /usr/local $ export PATH=/usr/local/jdk1.6.0_12/bin:$PATH Install tool for Android $ apt-get install make gdb flex bison gperf libwxgtk2.6-dev libsdl-dev libz-dev libesd0-dev valgrind
Marvell Confidential © 2007
Marvell eBook Android
How to get Android code base & build Android
Get Android Eclair code base $ mkdir [android_dir] $ cd [android_dir] $ repo init -u git:///platform/manifest -b master $ cp marvell_manifest.xml .repo/manifests/ $ repo init -m marvell_manifest.xml $ repo sync build Android code base $ tar -zxvf alsa-lib.tgz (Should be for “alsa-lib” only) $ cp -rf alsa-lib/ [android_dir]/external/ $ cp -rf AndroidEclair/* [android_dir] $ cd [android_dir] $ . build/envsetup.sh $ lunch teton_ebook-eng $ make
Marvell Confidential © 2007
Marvell eBook Android
Build kernel (1)
Install the PackageDownload these files and unzip them pxalinux-M2.1.8.12.3_00 pxalinux-M2.1.8.12.3_01 pxalinux-M2.1.8.12.3_02 pxalinux-M2.1.8.12.3_03 pxalinux-M2.1.8.12.3_04 pxalinux-M2.1.8.12.3_05 Concatenate the files to generate the tarball pxalinux-M2.1.8.12.3.tgz $ cat pxalinux-M2.1.8.12.3_00 pxalinux-M2.1.8.12.3_01 pxalinux-M2.1.8.12.3_02 pxalinuxM2.1.8.12.3_03 pxalinux-M2.1.8.12.3_04 pxalinux-M2.1.8.12.3_05 > pxalinux-M2.1.8.12.3.tgz Uncompress the package. $ tar –xzvf pxalinux-M2.1.8.12.3.tgz
Marvell Confidential © 2007
Marvell eBook Android
Build kernel (2)Install the ToolchainTo install the arm-linux-gcc4.1.1 and arm-marvell-linux-gnueabi toolchain $ cd toolchain $ sudo tar –xzvf arm-marvell-linux-gnueabi.tar.bz2 –C /usr/local $ export PATH=/usr/local/arm-marvell-linux-gnueabi/bin:$PATH
Create a ProjectCreate a project, specifying the target directory $ sudo ./create-project-marvell.sh ../workdir $ cd ../workdir $ export WORKDIR=‘pwd’
Build the Platform$ cp –fR Aspen168_20091116A0/* workdir/ $ cd $WORKDIR/src/preview-kit $ ln –s [android_dir] device $ cd $WORKDIR/src $ make menuconfig Select [System Type] -> [Aspen Development Platform (H/W) Kit] -> [Wayland M_EBOOK] Select [System Type] -> [Build Options] -> [Aspen Development Platform (S/W) Kit] -> [Aspen Linux Android Platform] Select [System Type] -> [Aspen Processor Variants] -> [Aspen A0] $ sudo makeMarvell Confidential © 2007
Marvell eBook Android
image down-load (1)
Erase the whole flash and burn foll
owing images thru XDB (get from Marvell Extranet)0x00000000: NTIM_A0_WAYLAND_A_EBOOK_128MB_mode1_pm.bin 0x00020000: TTC_LINUX_NTOBM.bin 0x00040000: u-boot.bin 0x00920000: zImage
Burn "system.ubifs.img" and "userdata.ubifs.img" thru MicroSD Cardb-1. Copy "system.ubifs.img" & "userdata.ubifs.img" into MicroSD card b-2. Plug-in MicroSD card into device b-3. Power-on device & boot up into Uboot b-4. enter following commands to burn "system.ubifs.img" and "userdata.ubifs.img“
Marvell Confidential © 2007
Marvell eBook Android
image down-load (2)
Burn "system.ubifs.img" and "userdata.ubifs.img" thru MicroSD Card/* check SD card */ Wayland_A_EBOOK>> mmcinfo 0 Wayland_A_EBOOK>> fatls mmc 0 /* burn system.img */ Wayland_A_EBOOK>> fatload mmc 0 0x1000000 system.ubifs.img Wayland_A_EBOOK>> nand erase 0xc20000 0x2A00000 Wayland_A_EBOOK>> nand write 0x1000000 0xc20000 0x2A00000 <--- size of system.ubifs.img /* burn userdata.img */ Wayland_A_EBOOK>> fatload mmc 0 0x1000000 userdata.ubifs.img Wayland_A_EBOOK>> nand erase 0x10c20000 0x2E60000 <--- size of userdata.ubifs.img Wayland_A_EBOOK>> nand write 0x1000000 0x10c20000 0x2E60000 <--- size of userdata.ubifs.img
Marvell Confidential © 2007
Marvell eBook Android
application installation
Install application from SD cardCopy [aabbcc.apk] to SD card. And insert into target. $ mount /dev/block/mmcblk0p1 /data/app/ $ cp -f /mnt/aabbcc.apk /data/app/
Install application from adb$ ./adb install aabbcc.apk
Marvell Confidential © 2007
Marvell eBook Android
Debug Box I/O port
UART
USB 2 for UART port USB 1 for USB port
11 Pin IO = USB + JTAG ( 11 pin IO also provide power to Ebook PCB ) JTAG ConnectorMarvell Confidential © 2007
Marvell eBook Android
Debug Box Power input source
Power Input Source: 1. DC Jack 5V Input 2. USB1 Port 3. USB2 Port
1. DC Jack 5V Input ( option ) 2. Use USB1 / USB2 power is enough
Marvell Confidential © 2007
Marvell eBook Android
Teton EBook I/O PortAUO touch connector LG 6 “ connector AUO 6 “ connector Power on / hibernate Keyback Volume up
USB + JTAGVolume down
+menu
LG 5 “ / 9.7 “ connector
Batt connectorMarvell Confidential © 2007
WACOM touch connector
UART
Reset Key
Marvell eBook Android
USB over UART log
1. Install host driver “CP210x_VCP_Win2K_XP_S2K3.exe”. 2. plug-in debug board to audio jack and charger. 3. open hyper-terminal or putty and set com port. 4. press power key. 5. target log will display on console.
Marvell Confidential © 2007
正在阅读:
1_Linux_Android_Environment_BuildUp06-11
一吨人民币多少钱02-13
高考数学资料——5年高考题、3年模拟题分类汇编专题(8)-数列03-08
投稿邮箱国内外网站杂志期刊报纸投稿信箱05-01
非甾体类抗炎药物致不同年龄患者上消化道出血的临床分析12-02
Android(安卓)手机使用指南03-08
世界著名汽车品牌08-14
甲级单位编制羊毛布项目可行性报告(立项可研+贷款+用地+2013案例)设计方案01-09
老师二三事作文600字06-21
- 教学能力大赛决赛获奖-教学实施报告-(完整图文版)
- 互联网+数据中心行业分析报告
- 2017上海杨浦区高三一模数学试题及答案
- 招商部差旅接待管理制度(4-25)
- 学生游玩安全注意事项
- 学生信息管理系统(文档模板供参考)
- 叉车门架有限元分析及系统设计
- 2014帮助残疾人志愿者服务情况记录
- 叶绿体中色素的提取和分离实验
- 中国食物成分表2020年最新权威完整改进版
- 推动国土资源领域生态文明建设
- 给水管道冲洗和消毒记录
- 计算机软件专业自我评价
- 高中数学必修1-5知识点归纳
- 2018-2022年中国第五代移动通信技术(5G)产业深度分析及发展前景研究报告发展趋势(目录)
- 生产车间巡查制度
- 2018版中国光热发电行业深度研究报告目录
- (通用)2019年中考数学总复习 第一章 第四节 数的开方与二次根式课件
- 2017_2018学年高中语文第二单元第4课说数课件粤教版
- 上市新药Lumateperone(卢美哌隆)合成检索总结报告
- Environment
- Android
- BuildUp
- Linux
- 多级注塑工艺的简单介绍
- 大学英语作文常用句型总结
- 浅谈我国保险营销策略
- 横河涡街流量计常见故障处理
- 2012届高考数学(理科)新难题型荟萃1
- 第二讲古代中国的经济
- 桃花心木课内阅读含答案 全
- 电流和电路同步练习
- 英国宪政背后的历史
- 2017考研政治马原命题规律分析
- 电磁场与微波第5章 上 微波传输线
- 迈阿密大学牛津分校计算机工程学本科专业
- 3.1泛函与变分法的基本概念
- 新劳动合同中英文双语版本
- 2015新版五年级下册Unit 4 When is Easter教案表格式
- 高级汉语口语教学_问题_研究与对策
- 0607314053 刘金峰 商业银行网上银行业务营销策略研究,0427修改后
- 八年级下英语单词(7页)--测试纸
- 第四节两栖类的生殖与发育
- 毕业设计-低电压接线座注塑模设计(论文)摘要