en:jethome_armbian_burn_from_usb_flash  
This translation is older than the original page and might be outdated. See what has changed.

FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

Firmware the controller using a USB flash drive

You can flash the controller using a USB flash drive (hereinafter referred to as a flash drive) with a partition formatted in W95 FAT32 LBA (NTFS partitions are not readable by u-boot).

On the flash drive you need to put the file jethome_burn.ini and the firmware file (hereinafter in the example - firmware.img).

The contents of the file jethome_burn.ini:

[common]
reboot=0
erase_bootloader=1
erase_flash = 1

[burn_ex]
package=firmware.img

The file jethome_burn.ini must end with a newline.

If you set the “reboot” parameter to 1, then the controller will flash, reboot and immediately flash in a circle. The “reboot” property can be omitted, because “reboot” is assumed to be 0 by default.

Insert the flash drive into the controller and apply power. After loading u-boot, if the flash drive was successfully detected, the flashing process will automatically begin.

Since the controller will not reboot itself after flashing, in order to determine the end of the software update process, you can control the software update process through the UART console (see the documentation for the controller on connecting the UART console). At the end of the firmware process, unplug the flash drive and reboot the controller.

Supported USB flash drives

Tested to work with the following USB flash drives:

  • SanDisk Cruzer Fit USB 2.0 16GB (idVendor=0781, idProduct=5571) factory formatted.

Description of contents of jethome_burn.ini

[common]

erase_bootloader - two values ​​(0 or 1): 1 - erase bootloader, 0 - do not erase bootloader

erase_flash - five values ​​(from 0 to 4):

0 - Do not erase flash (do not erase)

1 - Normal erase (normal erase, as with regular firmware via USB Burning Tool)

2 - Force Erase (no information)

3 - Erase all (erase the contents of NAND / eMMC and bootloader that are in the protected area)

4 - Force erase all (complete erasure, including protected NAND / eMMC / SPI areas, formatting and re-partitioning)

reboot - Two values ​​(0 and 1): 1 - reboot when procedures are finished, 0 - do not reboot.

[burn_ex]

package - the name of the *.img file for flashing from a memory card. You can change to what you need.

You can edit the 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 remap NAND during firmware, you should edit the corresponding line in the aml_sdc_burn.ini file: erase_flash = 4

en/jethome_armbian_burn_from_usb_flash.txt · Last modified: 2022/01/22 12:01 by Dmitriy