fota8811.xml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <!--
  2. Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  3. All rights reserved.
  4. This software is supplied "AS IS" without any warranties.
  5. RDA assumes no responsibility or liability for the use of the software,
  6. conveys no license or title under any patent, copyright, or mask work
  7. right to the product. RDA reserves the right to make changes in the
  8. software without notification. RDA also make no representation or
  9. warranty that such application will be suitable for the specified use
  10. without further testing or modification.
  11. -->
  12. <!--
  13. Most likely the configuration is suitable. And it can be changed if needed.
  14. Method is patch method fine tune. The default method is "diff":
  15. * diff: (default option) create differential patch
  16. * ignore: not touch the file
  17. * remove: remove the file forcedly
  18. * replace: remove the file if exists, and insert with new content
  19. -->
  20. <pacdiff>
  21. <!-- The default bootloader ID is "BOOT1", and it is flash image.
  22. Bootloader is compressed on flash, so there are no saving with
  23. "diff". The method should be "replace".
  24. For dual bootloader, fota will just upgrade BOOT1. And bootloader
  25. itself will upgrade BOOT2 and upgrade security version if needed.
  26. -->
  27. <pacflash id="BOOT1" flash="SFL1" blocksize="0x8000" method="replace"/>
  28. <!-- The default AP application ID is "AP", and it runs on FLASH. -->
  29. <pacflash id="AP" flash="SFL1" blocksize="0x10000" bundleblock="8" method="diff"/>
  30. <!-- The default OpenCPU application ID is "OPENCPU_MCU", and it runs on FLASH. -->
  31. <pacflash id="OPENCPU_MCU" flash="SFL1" blocksize="0x8000" bundleblock="8" method="diff"/>
  32. <!-- The default App image application ID is "OPENCPU_APPIMG", and it runs on FLASH. -->
  33. <pacflash id="OPENCPU_APPIMG_FLASH" flash="SFL1" blocksize="0x8000" bundleblock="8" method="diff"/>
  34. <!--
  35. NV will be updated according to the pacnvbin config in default replace mode.
  36. There is no big size different between "diff" and "replace" method due to the compress of nv file.
  37. Some NV files which contain calib param will be ignored during update.
  38. -->
  39. <pacnvbin id="NV" method="diff">
  40. <!--
  41. <nvitem id="id" fixednv="/xxx" method="ignore"/>
  42. -->
  43. <nvitem id="0x2" fixednv="/factory/calibparam.bin.lz4" method="ignore"/>
  44. <nvitem id="0x5" fixednv="" method="ignore"/>
  45. <nvitem id="0x179" fixednv="" method="ignore"/>
  46. <nvitem id="0x186" fixednv="" method="ignore"/>
  47. <nvitem id="0x1e4" fixednv="" method="ignore"/>
  48. <nvitem id="0x26d" fixednv="/factory/gsm_rf_calib.bin.lz4" method="ignore"/>
  49. <nvitem id="0x26e" fixednv="/factory/lte_rf_calib.bin.lz4" method="ignore"/>
  50. <nvitem id="0x26f" fixednv="/factory/golden_board.bin.lz4" method="ignore"/>
  51. <nvitem id="0x26c" fixednv="/factory/rf_nv.bin.lz4"/>
  52. <nvitem id="0x2d0" fixednv="/factory/nb_static_nv.bin.lz4"/>
  53. </pacnvbin>
  54. <!--
  55. The following are only describing clear running NV rules.
  56. * always clear running NV:
  57. <cleanrunning onchange="always"/>
  58. * never clear running NV:
  59. <cleanrunning onchange="never"/>
  60. * clear running NV on any listed NV changes:
  61. <cleanrunning onchange="any"/>
  62. * clear running NV when either 0x123 or 0x456 is changed:
  63. <cleanrunning onchange="0x123"/>
  64. <cleanrunning onchange="0x456"/>
  65. -->
  66. <pacnv id="NV">
  67. <nvitem id="0x26c" runningnv="/modemnvm/rf_nv.bin.lz4">
  68. <cleanrunning onchange="always"/>
  69. </nvitem>
  70. <nvitem id="0x2d0" runningnv="/modemnvm/nb_static_nv.bin.lz4">
  71. <cleanrunning onchange="0x2d0"/>
  72. </nvitem>
  73. </pacnv>
  74. <paccpio id="INDELTANV" method="diff">
  75. <!--
  76. <file name="some_file_name" method="ignore"/>
  77. -->
  78. </paccpio>
  79. <paccpio id="PREPACK" method="diff">
  80. <!--
  81. <file name="some_file_name" method="ignore"/>
  82. -->
  83. </paccpio>
  84. <paccpio id="OPENCPU_APPIMG_FILE" method="diff">
  85. <!--
  86. <file name="some_file_name" method="ignore"/>
  87. -->
  88. </paccpio>
  89. </pacdiff>