I use the Ubuntu 14.04, and I have built dozes of Android/AOSP on this host for different Android devices, so the host build environment shouldn’t the problem.
Yes, I flash the official image using the USB Cable with USB burning tools, and it flash successfully.
I rebuild the uboot and cp the u-boot.bin from uboot/fip/ to out/target/product/kvim, and rebuild the update.img, and try to flash again, this time it goes further:
And below is the log from serial during the burnning:
ID[16]
tplcmd[download store recovery normal 11319296]
[MSG]flash LOGIC partCap 0x2000000B
[MSG]Down(store) part(recovery) sz(0xacb800) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 1
[info]success
[MSG]Burn Start…
[MSG]Burn complete
BULKcmd[download get_status]
[info]success
BULKcmd[verify sha1sum 331b47f603759f7e5a1509fc4933708cb91e1f6d]
[MSG]Verify Start…
[MSG]To verify part recovery in fmt normal
[MSG]Verify End
[MSG]VERIFY OK
[info]success
ID[16]
tplcmd[download store system sparse 573593940]
[MSG]flash LOGIC partCap 0x40000000B
[MSG]Down(store) part(system) sz(0x22305954) fmt(sparse)
[MSG]totalSlotNum = 0, nextWriteBackSlot 1024
[info]success
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum de34364d != org de35a4a9 at seq 1760, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum a44050ec != org a4403fce at seq 2440, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum e8c9f337 != org e8c99ad3 at seq 2780, len 10000, resend 0
[MSG]Burn Start...
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 2056f7bb != org 20592feb at seq 4fc0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 9678f93f != org 96787bea at seq 5f80, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 3c9cc18 != org 3cbab28 at seq 6040, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 55353d87 != org 55378390 at seq 65c0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 6c4f5034 != org 6c4f3ff4 at seq 6600, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 9ec39003 != org 9ec2b782 at seq 85a0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 19ba7778 != org 19ba6b78 at seq 9830, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum ec8698e6 != org ec85aecd at seq 9c40, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum e6be74cd != org e6bfa242 at seq a2a0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 78e95763 != org 78e7f074 at seq a8c0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 3101b151 != org 3103c8e1 at seq e680, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 350fd77c != org 350eb59b at seq 11480, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 28256a80 != org 2827225d at seq 115a0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 23e714c9 != org 23e4ee0b at seq 120b0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum ab420f9 != org ab69b01 at seq 12680, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 7aae8aea != org 7ab0dce2 at seq 14880, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 2583fe3d != org 258396c2 at seq 15160, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 8aa51fd6 != org 8aa562c5 at seq 15860, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 932df407 != org 932b1281 at seq 15c60, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 79be1a28 != org 79bd6868 at seq 16920, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum c5b17da5 != org c5b1746e at seq 17c60, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum cd4f2ef0 != org cd4da243 at seq 19440, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 857efbad != org 857a9c5e at seq 1a0e0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 6c80a9d2 != org 6c7f9c84 at seq 1a2d0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 2b209476 != org 2b1e130a at seq 1a480, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 6f8a59c1 != org 6f8a7ef2 at seq 1a760, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum cc5795f0 != org cc5725e4 at seq 1a7e0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 9bb16bae != org 9bade806 at seq 1a920, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 21513c86 != org 214ef6f8 at seq 1dd20, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 8ccad73d != org 8cc9c7b2 at seq 1e460, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 5d03ccb != org 5cee200 at seq 1e8c0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum b4f8fb62 != org b4f884e4 at seq 20be0, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 1e38cde != org 1e493ef at seq 20c20, len 10000, resend 0
ERR(../drivers/usb/gadget/v2_burning/v2_usb_tool/usb_pcd.c)L809:Alg[ef]0x: genSum 51b8d4f4 != org 51b6cef4 at seq 21ce0, len 10000, resend 0
[MSG]Burn complete
Downloading %100
BULKcmd[download get_status]
[info]success
BULKcmd[verify sha1sum 1eebf4911c5343ccc7b867bf065fa8531e94d6c4]
[MSG]Verify Start...
[MSG]To verify part system in fmt sparse
[MSG]Verify End
ERR(../drivers/usb/gadget/v2_burning/v2_common/optimus_download.c)L942:failed:Verify Failed with sha1sum, origin sum "1eebf4911c5343ccc7b867bf065fa8531e94d6c4" != gen sum "1d04e38183c4c40b64d509b64989bc94b4"
[info]failed:Verify Failed with sha1sum, origin sum "1eebf4911c5343ccc7b867bf065fa8531e94d6c4" != gen sum "1d04e38183c4c40b64d509b64989bc94b44998c2"
I tried to burn the image twice, get the same result. How can I fix this?