fota8910.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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 files list need to clean. It's disabled by default.
  22. WARNING: Please double check the file list and make sure what you are doing
  23. is to delete the files in the device. The device will work abnormal if
  24. you delete some important files.
  25. It can be ignored if you have no requirement of this part.
  26. -->
  27. <pacclean id="FILELIST">
  28. <!--
  29. <file name="thirdpart/abc.mp3"/>
  30. -->
  31. </pacclean>
  32. <!-- The default AP application ID is "AP", and it runs on FLASH. -->
  33. <pacflash id="AP" flash="SFL1" blocksize="0x10000" bundleblock="0" method="diff"/>
  34. <!--
  35. The default modem image ID is "PS". It is a SFFS image.
  36. threshold is the alert value of the modem sffs image available size.
  37. The fota pack generation will fail if the modem image available size
  38. is less than threshold value.
  39. It can be set to 0x0 if not want to check the modem image available size.
  40. The default threshold value is 65535.
  41. -->
  42. <pacsffs id="PS" ebsize="0x10000" pbsize="0x200" mount="/modem" method="diff" threshold="0x10000">
  43. <!--
  44. <file name="nvm/audio_calib.bin" method="ignore"/>
  45. -->
  46. <file name="nvm/bt_config.bin" method="ignore"/>
  47. </pacsffs>
  48. <!--
  49. NV will be updated inside modem image. The following are only
  50. describing clear running NV rules.
  51. * always clear running NV:
  52. <cleanrunning onchange="always"/>
  53. * never clear running NV:
  54. <cleanrunning onchange="never"/>
  55. * clear running NV on any listed NV changes:
  56. <cleanrunning onchange="any"/>
  57. * clear running NV when either 0x123 or 0x456 is changed:
  58. <cleanrunning onchange="0x123"/>
  59. <cleanrunning onchange="0x456"/>
  60. -->
  61. <pacnv id="NV">
  62. <nvitem id="0x191" runningnv="/modemnvm/bt_config.bin">
  63. <cleanrunning onchange="never"/>
  64. </nvitem>
  65. <nvitem id="0x1ba" runningnv="/modemnvm/bt_sprd.bin">
  66. <cleanrunning onchange="0x1ba"/>
  67. </nvitem>
  68. <nvitem id="0x259" runningnv="/modemnvm/static_nv.bin">
  69. <cleanrunning onchange="always"/>
  70. </nvitem>
  71. <nvitem id="0x25a" runningnv="/modemnvm/phy_nv.bin">
  72. <cleanrunning onchange="any"/>
  73. </nvitem>
  74. <nvitem id="0x25b" runningnv="/modemnvm/dynamic_nv.bin">
  75. <cleanrunning onchange="any"/>
  76. </nvitem>
  77. <nvitem id="0x25c" runningnv="/modemnvm/static_nv_2.bin">
  78. <cleanrunning onchange="any"/>
  79. </nvitem>
  80. <nvitem id="0x25d" runningnv="/modemnvm/phy_nv_2.bin">
  81. <cleanrunning onchange="any"/>
  82. </nvitem>
  83. <nvitem id="0x25e" runningnv="/modemnvm/dynamic_nv_2.bin">
  84. <cleanrunning onchange="any"/>
  85. </nvitem>
  86. <nvitem id="0x26c" runningnv="/modemnvm/rf_nv.bin">
  87. <cleanrunning onchange="always"/>
  88. </nvitem>
  89. <nvitem id="0x277" runningnv="/modemnvm/cfw_nv.bin">
  90. <cleanrunning onchange="0x277"/>
  91. </nvitem>
  92. <nvitem id="0x278" runningnv="/modemnvm/audio_calib.bin">
  93. <cleanrunning onchange="0x278"/>
  94. </nvitem>
  95. <nvitem id="0x279" runningnv="/modemnvm/phy_nv_catm.bin">
  96. <cleanrunning onchange="any"/>
  97. </nvitem>
  98. <nvitem id="0x27a" runningnv="/modemnvm/audio_codec_nv.bin">
  99. <cleanrunning onchange="0x27a"/>
  100. </nvitem>
  101. </pacnv>
  102. <paccpio id="PREPACK" method="diff">
  103. <!--
  104. <file name="some_file_name" method="ignore"/>
  105. -->
  106. </paccpio>
  107. </pacdiff>