46 lines
1.2 KiB
INI
46 lines
1.2 KiB
INI
#
|
|
# LeEco X3-55pro (Super3 x55 Pro)
|
|
# Config file to pack a single partition to firmware file (recovery.img)
|
|
# This will not create the partition, just erase and rewrite it
|
|
# Also security info (signature) will be added to the bin
|
|
# You have to generate signature and encrypt image before pack it to the firmware.
|
|
# Use secure_partition.py script to do so. RSA production key and AES key are required.
|
|
#
|
|
|
|
[Main]
|
|
FirmwareFileName=LetvUpgrade928.bin
|
|
ProjectFolder=./pack
|
|
useHexValuesPrefix=false
|
|
|
|
SCRIPT_FIRMWARE_FILE_NAME=${FirmwareFileName}
|
|
DRAM_BUF_ADDR=20200000
|
|
MAGIC_FOOTER=12345678
|
|
HEADER_SIZE=16KB
|
|
|
|
[HeaderScript]
|
|
Prefix:
|
|
dont_overwrite_init
|
|
|
|
Suffix:
|
|
|
|
# Enable UART
|
|
setenv UARTOnOff on
|
|
|
|
# Auth enabled for the recovery partition
|
|
# In that case security info (signature) is required
|
|
setenv recoverycmd mmc read.p 0x25000000 recovery 0x02000000\; authenticateAN 0x25000000\; bootm 0x25000000
|
|
|
|
# Done
|
|
setenv LetvUpgrade_complete 1
|
|
setenv ResetAfterUpgrade 1
|
|
setenv ForcePowerOn 1
|
|
saveenv
|
|
|
|
[part/recovery]
|
|
erase=True
|
|
imageFile=${Main:ProjectFolder}/recovery.img.aes
|
|
type=partitionImage
|
|
|
|
[part/recoverySign]
|
|
imageFile=${Main:ProjectFolder}/recovery.signature
|
|
type=secureInfo |