`
梦在古稀
  • 浏览: 10379 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

日常笔记

 
阅读更多

下载代码:
1.先将svn_checkout文件拷贝到相应的目录下
2.切换到该目录键入命令:./svn_checkout
3.(按版本号下载) svn co  http://10.34.22.125:6801/svn/JS_WT_SVN/JS100R002/trunk -r 16013

查看版本信息:
cd trunk
svn info

解压patch_sorucedir
./prepare.sh

代码更新
cd truck
rm -rf sorucedir
svn up
./prepare.sh

编译命令
整体编译
cd truck/sorucedir
source build/envsetup.sh
tapas <tapas.in
./mk-all.sh 64/128
单个编译
source build/envsetup.sh
tapas <tapas.in
cd app
mm

编译重新指向
1>2.txt 2>&1

======================编译驱动================================
1、切换目录到相应的路径:Z:\songjia\JS100R002\trunk\Jonas\device\js\jschanping\driver\sdk
2、输入命令:make -f mpi.mk -j 128(表示启动多少个线程来编译,这里为128个)


=============================ADB===============================
adb使用
adb kill-server
adb connect IP:5555
adb remount

单个服务:
adb disconnect IP:5555
adb connect IP:5555
adb -s IP:5555 remount

上传文件:
adb push DisplaySetting.apk /data/app
安装应用:
adb install DisplaySetting.apk
adb -s 10.85.185.43:5555 install out/target/product/jschanping/system/app/AppWidgetSwitcher.apk
卸载应用:
adb uninstall DisplaySetting.apk

查看当前连接服务:
devices

=======================基本命令======================
查找文件:
find -name "*.cpp"(所有后缀为.cpp) | xargs grep "rotateX"(文件名)


设置IP
busybox ifconfig eth0 IP


设置权限
mount -o remount  rwx dir

返回操作平台:
Ctrl+c/Ctrl+d

删除目录及子文件:
rm [dirctory name] -rf


=========================单板==============================
查看IP配置:
输入:busybox ifconfig



==========================android4.0 bash环境设置==============================

source build/envsetup.sh
lunch godbox-eng


=========================单板IP设置===========================
查看IP:ifconfig eth0
动态获取IP:netcfg eth0 dhcp
分配IP: ifconfig eth0 10.107.152.199
FileZilla板子端设置:busybox tcpsvd -v 0 21 busybox ftpd -w /system/app &
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics