Khadas Utils

Utility for flashing controllers based on Amlogic processors.

Warning

The utility only works on Linux.

For Windows you can use Amlogic Burning Tool.

Hint

Installing

To install the utility, run the following commands:

git clone https://github.com/khadas/utils khadas-utils
cd khadas-utils
./INSTALL

Firmware

Hint

You can find the current firmware image for your device here: JetHome firmware portal.

Note

To flash the controller, put it into bootloader mode (see documentation for your device).

Execute the command:

burn-tool -i <image_file>

Approximate program output:

burn-tool -i ~/firmware/D1/JetHome_1.0.14_Armbian_20.08_Arm-64_focal_current_5.7.16_j100.img
Try to burn Amlogic image...
Burning image '/home/ak/firmware/D1/JetHome_1.0.14_Armbian_20.08_Arm-64_focal_current_5.7.16_j100.img' for 'VIM1/VIM2' to eMMC...
Unpacking image [OK]
Initializing ddr ........[OK]
Running u-boot ........[OK]
Create partitions [OK]
Writing device tree [OK]
Writing bootloader [OK]
Wiping  data partition [OK]
Wiping  cache partition [OK]
Writing boot partition [OK]
Writing rootfs partition [OK]
Resetting board [OK]
Time elapsed: 9 minute(s).
Done!