# # LeEco X3-40 X3-43 # Config file to pack a single partition to firmware file (recovery.img) # # This will NOT create the partition, just erase and rewrite it # NO security info (signature) will be added to the bin ! # Security checking for recovery will be DISABLED # Use it to flash plain non encrypted recovery.img # [Main] FirmwareFileName=LetvUpgrade.bin ProjectFolder=./pack useHexValuesPrefix=false SCRIPT_FIRMWARE_FILE_NAME=${FirmwareFileName} DRAM_BUF_ADDR=20200000 MAGIC_FOOTER=12345678 HEADER_SIZE=16KB [HeaderScript] Prefix: # Nothing here Suffix: # Enable UART setenv UARTOnOff on # No auth for the recovery setenv recoverycmd mmc read.p 0x25000000 recovery 0x00800000\; bootm 0x25000000 # Done setenv LetvUpgrade_complete 1 setenv ResetAfterUpgrade 1 setenv ForcePowerOn 0 saveenv [part/recovery] erase=True imageFile=${Main:ProjectFolder}/recovery.img type=partitionImage