烧板子流程

12 篇文章 0 订阅

好吧,最近为这鸟板子的事烦的要死,算了,写个blog吧

用swdownload烧录时,进入Loader目录,有TTC和TVTD两个目录,TTC->910,TVTD里还有Android和eMMc这两个,Android->920dkb,eMMc->920H。

Loader

 -TTC  910

 -TVTD

 - -eMMc  920H(921)

 - -Android 920dkb

gingerbread -> eMMc

ics -> eMMc_ics


镜像copy如Loader后,点击start (小灯泡),然后

1.920H的板子就 right/back + reset(long press) 看屏幕上进度条

2.920dkb的板子要先删除 system.img后,再点start,然后用camera+reset ,完成后,用sdk/platform-tool/fastboot 烧

 Use fastboot to erase or reburn specific binaries
 =============================================
 1.Start your favorite terminal emulator with the appropriate COM port set to 115200,8N1.
 
 2.Make the board enter fastboot mode
 There are 2 methods to enter fastboot mode:
 (1)Power on the board using CAM1+POWER
 (2)Power on the board and wait for TTC_TD>> prompt to appear, then enter the following command:
 TTC_TD>>fb
 
 3.Enter the directory containing fastboot (In host PC)
 cd <platform>/out/host/linux-x86/bin
 
 4.Enter the following command to burn kernel into flash: (In host PC)
 For NAND flash, issue the following commands:
 sudo ./fastboot erase kernel
 sudo ./fastboot flash kernel <image path>
 
 5.Enter the following command to burn system.img into flash: (In host PC)
 For NAND flash, issue the following commands:
 sudo ./fastboot erase system
 sudo ./fastboot oem onfly system
 sudo ./fastboot flash system <image path>
 
 6.Enter the following command to burn userdata.img into flash: (In host PC)
 For NAND flash, issue the following commands:
 sudo ./fastboot erase userdata
 sudo ./fastboot flash userdata <image path>
 
 7.Enter the following command to burn pxafs.img into flash: (In host PC)
 For NAND flash, issue the following commands:
 sudo ./fastboot erase telephony
 sudo ./fastboot flash telephony <image path>

 

最后:fastboot reboot

  先记这么多吧。。。


minicon调试使用

minicom -w -D /dev/ttyUSB0


while [ 1 ] ; do adb logcat -v time | tee -a /work/CQ16568/1000times.alog; done


920sdkb 烧ics时,system和userdata不用softwareDownload烧,用fastboot


查找work目录下文件至文件:

find /work -name *.mk >> allMk


查找allMk中标示的文件里是否有Android字段:

grep android `cat allMk`


修改Serial number

echo 0 > /sys/class/android_usb/android0/enable
echo xxx > /sys/class/android_usb/android0/iSerial
echo 1 > /sys/class/android_usb/android0/enable

查看Android源码的版本:

(1) .repo/manifest.xml 中查询

(2)build/core/version_plaform.mk中去查询plaform_version的定义值


挂载android /目录可写

# mount -o remount,rw rootfs /



  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值