Guest User

non-working-x4-43-pro.ini

a guest
May 3rd, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. #
  3. # LeEco X4-43pro (Super4 x43 Pro) packer configuration file
  4. # The TV is based on mst6a928 cpu
  5. #
  6.  
  7. [Main]
  8.  
  9. # Output file name
  10. FirmwareFileName=LetvUpgrade938.bin
  11.  
  12. # Folder which contains images to pack
  13. ProjectFolder=./pack
  14.  
  15. # Use hex values in "mmc write.p" directive.
  16. # Check your unpacked ~header_script file for the "mmc write.p" paramers.
  17. # Set it to True, if the paramers have "0x" prefix.
  18. # All newest Mstar firwares uses hex values
  19. useHexValuesPrefix=true
  20.  
  21. # Firmware file name to use in "filepartload" directive.
  22. # All newest Mstar firwares uses $(UpgradeImage) Otherwise it should be equal FirmwareFileName value.
  23. SCRIPT_FIRMWARE_FILE_NAME=${FirmwareFileName}
  24.  
  25. # DRAM_BUF_ADDR value
  26. DRAM_BUF_ADDR=20200000
  27.  
  28. # Magic footer value. It's reserved for future use, usually it's "12345678" string
  29. MAGIC_FOOTER=12345678
  30.  
  31. # Header size is always 16KB
  32. HEADER_SIZE=16KB
  33.  
  34. [HeaderScript]
  35.  
  36. # Custom header script directives at the beginning of the script
  37. Prefix:
  38.     mmc slc 0 1
  39.     mmc rmgpt
  40.     factory_init factory 0x02000000
  41.  
  42. # Custom directives at the end of the script
  43. Suffix:
  44.     cleanallenv
  45.     setenv LOAD_KERNEL mmc read.p 0x25000000 boot 0x02000000\; authenticateAN 0x25000000
  46.     setenv BOOT_KERNEL bootm 0x25000000
  47.     setenv recoverycmd mmc read.p 0x23000000 dtb 0x00100000\; mmc read.p 0x25000000 recovery 0x02000000\; authenticateAN 0x25000000\; bootm 0x25000000
  48.     setenv LOAD_NUTTX mmc read.p 0x5EC70000 tee 0x600000
  49.     setenv BOOT_NUTTX bootNuttx 0x1EC70000
  50.     setenv bootargs console=ttyS0,115200 androidboot.console=ttyS0 root=/dev/ram rw rootwait init=/init CORE_DUMP_PATH=/data/Logs/Log.0/core_dump.%%p.gz KDebug=1 delaylogo=true security=selinux androidboot.selinux=permissive platform=sn SD_CONFIG=2
  51.     setenv bootlogo_gopidx 3
  52.     setenv bootlogo_buffer E_MMAP_ID_BOOTLOGO_BUFFER
  53.     setenv OSD_BufferAddr E_MMAP_ID_RECOVERY_BUFFER_ADR
  54.     setenv str_crc 2
  55.     setenv db_table 0
  56.     setenv verify n
  57.     setenv sync_mmap 1
  58.     setenv factory_poweron_mode secondary
  59.     setenv ForcePowerOn 1
  60.     saveenv
  61.     setenv factory_mode 0
  62.     setenv LetvUpgrade_complete 1
  63.     setenv sync_mmap 1
  64.     setenv db_table 0
  65.     saveenv
  66.     printenv
  67.  
  68. # List of partitions to pack
  69. #   [partition_name] - Name of partition. Shold begin with "part/"
  70. #   create - flag to generate "mmc create" directive. It requires "size" parameter
  71. #   size - Required parameter, if create flag sets to True. Partition size to create [hex]
  72. #   erase - flag to generate "mmc erase.p" directive.
  73. #   imageFile - Path to image file to pack
  74. #   type - partition type:
  75. #       partitionImage - Plain partition image. It generates "filepartload" and "mmc write.p" directives
  76. #       secureInfo - signature file. Uses "store_secure_info" directive
  77. #       nuttxConfig - Nuttx config file. Uses "store_nuttx_config" directive
  78. #   lzo - pack partition/chunk to lzo. Uses "mmc unlzo" directive
  79. #   chunkSize - chunk size to split partition. A single chunk uses, if chunkSize is not set. Units: B, KB, MB, GB
  80.  
  81. [part/MPOOL]
  82. # Signatures (secureInfo) stored in that partition, so it should be erased before writing secure info.
  83. # We erase it very first
  84. erase=True
  85.  
  86. [part/recovery]
  87. erase=True
  88. imageFile=${Main:ProjectFolder}/recovery.img
  89. type=partitionImage
  90.  
  91. [part/recoverySign]
  92. imageFile=${Main:ProjectFolder}/recoverySign
  93. type=secureInfo
  94.  
  95. [part/boot]
  96. erase=True
  97. imageFile=${Main:ProjectFolder}/boot.img
  98. type=partitionImage
  99.  
  100. [part/bootSign]
  101. imageFile=${Main:ProjectFolder}/bootSign
  102. type=secureInfo
  103.  
  104. [part/tee]
  105. erase=True
  106. imageFile=${Main:ProjectFolder}/tee.img
  107. type=partitionImage
  108.  
  109. [part/teeSign]
  110. imageFile=${Main:ProjectFolder}/teeSign
  111. type=secureInfo
  112.  
  113. [part/NuttxConfig]
  114. imageFile=${Main:ProjectFolder}/NuttxConfig
  115. type=nuttxConfig
  116.  
  117. [part/RTPM]
  118. erase=True
  119. imageFile=pack/RTPM.img
  120. type=partitionImage
  121.  
  122. [part/system]
  123. erase=True
  124. imageFile=${Main:ProjectFolder}/system.img
  125. type=partitionImage
  126. lzo=True
  127. chunkSize=150MB
  128.  
  129. [part/cache]
  130. erase=True
  131. imageFile=${Main:ProjectFolder}/cache.img
  132. type=partitionImage
  133. lzo=True
  134.  
  135. [part/tvservice]
  136. erase=True
  137. imageFile=${Main:ProjectFolder}/tvservice.img
  138. type=partitionImage
  139.  
  140. [part/tvconfig]
  141. erase=True
  142. imageFile=${Main:ProjectFolder}/tvconfig.img
  143. type=partitionImage
  144.  
  145. [part/tvdatabase]
  146. erase=True
  147. imageFile=${Main:ProjectFolder}/tvdatabase.img
  148. type=partitionImage
  149.  
  150. [part/tvcustomer]
  151. erase=True
  152. imageFile=${Main:ProjectFolder}/tvcustomer.img
  153. type=partitionImage
  154.  
  155. [part/sboot]
  156. imageFile=${Main:ProjectFolder}/sboot.img
  157. type=sboot
  158.  
  159. [part/MBOOT]
  160. imageFile=${Main:ProjectFolder}/MBOOT.img
  161. type=partitionImage
  162.  
  163. [part/MBOOTBAK]
  164. imageFile=${Main:ProjectFolder}/MBOOTBAK.img
  165. type=partitionImage
  166.  
  167. [part/dtb]
  168. imageFile=${Main:ProjectFolder}/dtb.img
  169. type=partitionImage
  170.  
  171. [part/frc]
  172. imageFile=${Main:ProjectFolder}/frc.img
  173. type=partitionImage
Add Comment
Please, Sign In to add comment