Flashing Amlogic-based controllers using a USB flash drive
This method works only on Armbian 20.11 and HAOS 6.x. firmware. After updating to Armbian 22.02 / HAOS 8.x it is not possible to update the firmware using this method.
You can find the current firmware image for your device here: JetHome firmware portal.
This method requires firmware with the type
You can flash the controller using a USB flash disk with a partition formatted in W95 FAT32 LBA (NTFS partitions are not readable in u-boot).
On the flash drive you need to put the file
jethome_burn.ini and the firmware file (further in the example -
Contents of the file
jethome_burn.ini must end with a line break.
[common] reboot = 0 erase_bootloader = 1 erase_flash = 1 [burn_ex] package = firmware.img
1- Erase bootloader.
0- Do not erase bootloader.
0- Do not erase flash.
1- Normal erase (normal erase as in normal USB Burning Tool flashing).
2- Force Erase (no information).
3- Erase all (erase the contents of the NAND/eMMC and bootloader that are in the protected area).
4- Force erase all (complete erase, including protected NAND/eMMC/SPI areas, formatting and repartitioning of partitions).
1- Reboot at the end of the procedures.
0- Do not restart.
If you set the parameter
1, then the controller will flash, reboot and immediately flash in circles. You can do without specifying the
rebootproperty, because by default
rebootis considered equal to
package- Firmware file name (You can change it to whatever you want).
You can edit parameter values in this file, but you should understand what you are doing and remember that you do it at your own risk.
That is, if you need, for example, to completely repartition NAND when flashing, you should edit the appropriate line in the file
erase_flash = 4.
Insert the flash drive into the controller and apply power.
After loading u-boot, if the flash drive has been successfully detected, the flashing process will start automatically.
Since the controller will not reboot itself after reflashing to determine when the software update process is over, you can monitor the software update process via the UART Console (see documentation for your device).
After the flashing process finishes, disconnect the flash drive and reboot the controller.
Supported USB flash drives
Checked operation with the following USB flash drives:
SanDisk Cruzer Fit USB 2.0 16GB (idVendor=0781, idProduct=5571) formatted by the manufacturer.