加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

烧板子流程

发布时间:2020-12-15 18:39:04 所属栏目:百科 来源:网络整理
导读:好吧,最近为这鸟板子的事烦的要死,算了,写个blog吧 用swdownload烧录时,进入Loader目录,有TTC和TVTD两个目录,TTC-910,TVTD里还有Android和eMMc这两个,Android-920dkb,eMMc-920H。 Loader ?-TTC ?910 ?-TVTD ?- -eMMc ?920H(921) ?- -Android 920dkb

好吧,最近为这鸟板子的事烦的要死,算了,写个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 /

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读