Software upgrade in android using recovery mode.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Software upgrade in android using recovery mode.

1,069 次查看
nit123
Contributor I

Hi,

I am trying to do the software upgrade in android using following update script.

    

ui_print("extract kernel image...");
package_extract_file("files/uImage", "/tmp/uImage");
# Write uImage to 1M position.
ui_print("writting kernel image");
simple_dd("/tmp/uImage", "/dev/block/mmcblk0", 1048576);


ui_print("extract uramdisk image...");
package_extract_file("files/uramdisk.img", "/tmp/uramdisk.img");
# Write uImage to 1M position.
ui_print("writting uramdisk image");
simple_dd("/tmp/uramdisk", "/dev/block/mmcblk0", 6291456);
show_progress(0.1, 5);

I tried other update scripts also.

But this above script i got from imx manual 10.3.2 but not getting why they are using simple_dd.

I tried dd but it fails in recovery mode of android,tried different different options for make it work but no luck.

Please suggest how it works in imx,if anybody have worked.

标记 (1)
0 项奖励
回复
0 回复数