How to burn VIM4 using the command line under Windows

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu / OOWOW

Which version of system do you use? Please provide the version of the system here:

khadas VIM4 V12, Ubuntu 22.04

Please describe your issue below:

Hello, I bought a Khadas VIM4 V12 board. I followed the operating procedures in the Windows system, used the USB flash tool, set the upgrade mode, and burned it. There was no problem.
Our business requirement is to conduct automated testing, so burning using GUI under Windows is not supported. Is there any instruction for burning under Windows that we can choose to use.

I try used the update.exe (utils/aml-flash-tool/tools/windows/update.exe at master · khadas/utils · GitHub) command line to connect, there was a problem.

Post a console log of your issue below:

*I used the* 
update.exe indenfity
*command, and expected to return, but I got:* 
[update] No [WorldCup Device] device after scan
[update] ERROR (L1094): can not find device.

Can you give me some technical support to help me solve this problem? Thank you very much.

This tool is not for VIM4. For VIM4 you can use this tool to flash partition on windows command line. But please note: this tool only support to flash partition, you can’t use it to flash the full image file.

There is another way to flash the full image on windows command line. Just goto the aml-burn-tool installation folder and use the command below to flash image, e.g. :

PS D:\Development\aml-burn-tool-v3.2.0\V3> .\Aml_Burn_Tool.exe -s -i F:\nick\share\VIM4\vim4-ubuntu-22.04-server-linux-5.15-fenix-1.5.2-231207-emmc-develop.img


Thank you very much for your reply. Based on the above, I have two more questions:

  1. Does the tool support multi-channel burning?
  2. Are there any requirements for the firmware format to be burned? Does it have to be a .img file?


Must be packed with Amlogic pack tool, and must be the img file can’t be compressed.